joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1021acc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x1023e318]
add esi, 0x975
mov dword [0x1023e314], esi
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1021aefb
jmp 0x1021ade9
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [0x1023e318], eax
mov dx, word [ecx + 0x24]
mov eax, dword [ecx + 0x28]
mov dword [0x1023e314], 0x128b
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x2a], dx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
jne 0x1021adc4
jmp 0x1021ae5f
mov eax, dword [ebp - 0x38]
mov ecx, 0xb88
mov edx, dword [ebp - 0x30]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x42], si
mov word [ebp - 0x44], bx
jb 0x1021ad8f
mov ax, word [ebp - 0x42]
mov word [ebp - 0x44], ax
mov ax, word [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0x45], bl
mov dword [ebp - 0x4c], esi
jne 0x1021aea7
jmp 0x1021ae88
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1021aefb
mov dword [0x1023e314], 0xffffff5b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
jmp 0x1021aefb
mov dword [0x1023e314], 0xab3
mov dword [0x1023e318], 0x104a
mov ecx, dword fs:[0x18]
mov dword [0x1023e314], 0x1cc0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x1023e314], 0xffffffd2
mov eax, dword [eax + 0x14]
cmp eax, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
je 0x1021aeea
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [0x1023e318]
add edx, 0xa85
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x21], cl
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], edx
jmp 0x1021ad10
xor eax, eax
mov dword [0x1023e314], 0x4e4
mov cx, word [ebp - 0x2a]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x38], eax
je 0x1021aec5
jmp 0x1021ad53
mov eax, 0x1367
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x58]
cmp ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], eax
jb 0x1021ad53
mov eax, dword [ebp - 0x4c]
mov dword [0x1023e314], eax
mov dword [0x1023e318], 0x1a43
mov cl, byte [ebp - 0x45]
test cl, 1
jne 0x1021add4
mov eax, 0x270e
mov dword [0x1023e318], 0x1c89
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x50]
cmp edx, esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
jne 0x1021ad10
mov dword [0x1023e314], 0x2307
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x1021aefb
mov eax, dword [ebp - 0x18]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1021b043
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [0x1023e314], 0xf73
call fcn.1000108c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x1021b08e
jmp 0x1021b1cd
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x24], ecx
je 0x1021b16f
jmp 0x1021b150
lea eax, [esp + 0x40]
mov dword [0x1023e318], 0x1785
mov dword [esp + 0x20], eax
call fcn.1021c38d
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
jne 0x1021b1c5
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.1021b26e
mov ecx, 0x2746
lea edx, [0x1021c601]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x48], 0x12b800
mov esi, dword [0x1023e300]
mov dword [esp + 0x90], esi
mov esi, dword [0x1023e304]
mov dword [esp + 0x64], esi
mov esi, dword [0x1023e308]
mov dword [esp + 0x8c], esi
mov esi, dword [0x1023e30c]
mov dword [esp + 0x54], esi
mov esi, dword [0x1023e310]
mov dword [esp + 0x60], esi
mov dword [0x1023e314], 0x1e5d
mov dword [0x1023e318], 0x24b3
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], ecx
je 0x1021b071
mov eax, 0x28b6
mov ecx, dword [esp + 0x28]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jmp 0x1021b135
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov dword [0x1023e318], ecx
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x74], esi
mov dword [0x1023e314], 0x1e8f
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1021b560
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1021b560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1021d6cd]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x1023e318], 0xf28
mov dword [0x1023e314], 0x1293
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1021bc93
mov dword [0x1023e318], 0x1bd
call fcn.1021b7d6
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1021ba4c
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1021b695
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x1023e314]
add ecx, 0x712
mov dword [0x1023e318], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1023e314], 0xbf7
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1021b8a2
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x18], ecx
mov dword [0x1023e314], 0xf53
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x48], ecx
mov dword [0x1023e318], 0xb33
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1021b695
mov eax, dword [ebp - 0x44]
add eax, 0x10b1
mov dword [0x1023e314], 0x2066
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1021bdde
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp eax, 0
sete bl
mov dword [0x1023e31c], 0
mov dword [0x1023e320], 0
mov dword [0x1023e32c], 0
mov dword [0x1023e314], 0x498
mov dword [0x1023e318], 0xe3f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
xor eax, eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jne 0x1021bf8f
jmp 0x1021be59
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add edx, 1
mov edi, ecx
add edi, 1
mov dword [0x1023e314], 0xfffff2ab
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv esi
mov dword [0x1023e31c], edx
mov dword [0x1023e318], 0x83e
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1023e320], edx
mov dword [0x1023e314], 0x1daa
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1023e324], cl
mov dword [0x1023e314], 0x2573
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1023e324]
mov edx, dword [0x1023e320]
mov byte [ebx + edx], cl
mov dword [0x1023e314], 0x258c
mov edx, dword [0x1023e31c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1023e320]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1023e32c], ecx
mov dword [0x1023e318], 0x1aff
mov dword [0x1023e314], 0xfa
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov byte [0x1023e331], ch
mov byte [0x1023e332], cl
xor ch, cl
mov byte [0x1023e330], ch
mov dword [0x1023e314], 0x28d6
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov dword [0x1023e318], 0x7d8
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x3c], edi
je 0x1021bf8f
mov eax, dword [0x1023e31c]
mov ecx, dword [0x1023e320]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jmp 0x1021be59
mov dword [0x1023e314], 0x397
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1021c054
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, 0x24f6
mov dword [0x1023e320], 0
mov byte [0x1023e324], 0
mov dword [0x1023e318], 0x1ef1
mov dword [0x1023e314], 0x24f6
mov dword [0x1023e31c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jmp 0x1021c177
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, 0x1ed7
mov esi, 0x100
mov dword [0x1023e328], 0
mov dword [0x1023e314], eax
mov eax, dword [0x1023e320]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x1023e328], ebx
mov dword [0x1023e314], 0x1a9c
mov eax, ebx
cdq
idiv esi
mov dword [0x1023e320], edx
mov dword [0x1023e318], 0x2bd1
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1023e324], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1023e324]
mov ecx, dword [0x1023e320]
mov byte [esi + ecx], bl
mov dword [0x1023e318], 0xa60
mov dword [0x1023e314], 0x2186
mov ecx, dword [0x1023e31c]
add ecx, 1
mov dword [0x1023e31c], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
jl 0x1021c0b0
jmp 0x1021c1f4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xffffe203
mov dword [0x1023e314], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov ecx, dword [0x1023e314]
mov esi, ecx
add esi, 0xffffe242
mov dword [0x1023e318], esi
mov esi, dword [0x1023e31c]
add esi, 1
mov dword [0x1023e31c], esi
cmp esi, 0x100
mov edi, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jl 0x1021c177
xor eax, eax
mov dword [0x1023e314], 0x102a
mov dword [0x1023e31c], 0
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffff6b9
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x1021c0b0
mov dword [0x1023e314], 0xfffff31b
mov dword [0x1023e318], 0xffffe0e4
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1021c210
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [0x1023e318], 0x27a
mov dword [0x1023e314], 0x121c
mov dword [ebp - 0x10], eax
call fcn.1021af06
xor ecx, ecx
mov edx, eax
mov dword [0x1023e318], 0x3660
mov esi, dword [eax + 0x3c]
mov dword [0x1023e314], 0x17e2
mov esi, dword [eax + esi + 0x78]
mov dword [0x1023e318], 0x18a9
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x1023e314], 0x1d5d
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x1021c2ba
jmp 0x1021c2ea
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + ecx*4]
mov dword [0x1023e314], 0x1c5e
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
jmp 0x1021c302
mov eax, dword [ebp - 0x28]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1023e314], 0x2555
mov dword [ebp - 0x28], edi
jmp 0x1021c2ba
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x44], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
jmp 0x1021c294
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x4a], cl
je 0x1021c353
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x1021c302
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x1021c2c5
jmp 0x1021c360
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x38]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], eax
jb 0x1021c294
jmp 0x1021c2ba
Function at 0x1021c38d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1023e314]
mov ecx, eax
add ecx, 0xffffeae2
mov dword [0x1023e318], ecx
mov dword [ebp - 4], 0
add eax, 0xffffe7ca
mov dword [0x1023e314], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1023e314], 0x256b
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1021c418
mov eax, dword [ebp - 0x14]
mov dword [0x1023e314], 0x7e6
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x1021c430
jmp 0x1021c4e8
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jge 0x1021c3e0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
je 0x1021c3e0
jmp 0x1021c401
mov dword [0x1023e314], 0xe40
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x1d], dl
mov al, byte [ebp - 0x1d]
test al, 1
jne 0x1021c459
jmp 0x1021c4e8
mov dword [0x1023e318], 0x242f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1021c4e8
mov dword [0x1023e314], 0x6f6
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1021c4e8
mov dword [0x1023e314], 0xf06
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1021c4e8
mov dword [0x1023e314], 0x2a3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1021c4e8
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff9
mov dword [0x1023e314], 0x1286
mov dword [ebp - 0x24], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2], 0x6c
mov dword [ebp - 0x28], eax
je 0x1021c4ff
xor eax, eax
mov ecx, dword [0x1023e318]
add ecx, 0xa08
mov dword [0x1023e314], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add esp, 0x28
pop ebp
ret
Function at 0x401480
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
cmp dword [esp + 4], 1
je 0x4014cc
mov eax, dword [edi + 0x4a4]
add eax, 0x5c
cmp dword [eax + 0x18], 8
push esi
jb 0x40149c
mov esi, dword [eax + 4]
jmp 0x40149f
lea esi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4014b5
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4014cb
test al, 1
je 0x4014c4
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
mov eax, dword [edi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4014fd
mov edx, dword [edi + 4]
push 0
push 2
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 0x12345678
ret 4
Function at 0x4019a0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x49b7d8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4be0a0]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4be0a0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x88]
mov ebp, dword [esp + 0x84]
xor ebx, ebx
mov edi, ecx
push ebx
lea ecx, [esp + 0x58]
push str.image.png_.jpg_.bmp
push ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
call fcn.0045ee6a
add esp, 0xc
mov dword [esp + 0x7c], ebx
cmp dword [esp + 0x68], ebx
je 0x401b40
mov eax, dword [edi + 0x4a4]
cmp dword [eax + 0x70], ebx
je 0x401a55
cmp dword [eax + 0x74], 8
jb 0x401a26
mov esi, dword [eax + 0x60]
jmp 0x401a29
lea esi, [eax + 0x60]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x401a3f
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x401a55
test al, 1
je 0x401a4e
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x6c], 8
mov esi, dword [esp + 0x58]
jae 0x401a64
lea esi, [esp + 0x58]
call fcn.0045d2b9
push eax
push esi
push str._s__d
lea esi, [esp + 0x44]
call fcn.0045e820
lea edx, [esp + 0x60]
push edx
mov edx, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 1
call fcn.004074c0
add esp, 0x10
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0x60]
mov byte [esp + 0x88], 2
call fcn.00402830
mov esi, 8
cmp dword [esp + 0x34], esi
jb 0x401ac1
mov eax, dword [esp + 0x20]
push eax
call fcn.0047d710
add esp, 4
xor ecx, ecx
mov byte [esp + 0x7c], bl
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
cmp dword [esp + 0x50], esi
jb 0x401aeb
mov edx, dword [esp + 0x3c]
push edx
call fcn.0047d710
add esp, 4
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x401af9
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x18]
push 1
push eax
add edi, 0x35c
push edi
call fcn.004235d1
mov edi, eax
call fcn.0042afd4
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x5c]
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
push edx
mov eax, ebp
mov word [ebp + 4], cx
call fcn.00402830
cmp dword [esp + 0x6c], esi
jb 0x401b71
mov eax, dword [esp + 0x58]
push eax
jmp 0x401b69
push ebx
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
push 0x4a11bc
mov esi, ebp
mov word [ebp + 4], cx
call fcn.004028e0
cmp dword [esp + 0x6c], 8
jb 0x401b71
mov edx, dword [esp + 0x58]
push edx
call fcn.0047d710
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0047d444
add esp, 0x6c
ret 8
Function at 0x406040
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4957fb
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4be0a0]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push esi
push edi
mov eax, dword [0x4be0a0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, dword [esp + 0xa8]
mov ebx, ecx
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
lea edx, [esp + 0x10]
push edx
call eax
mov dword [esp + 0xa0], 0
mov esi, dword [edi]
mov ecx, str.click
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4060d6
test dx, dx
je 0x4060d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4060d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4060b0
xor eax, eax
jmp 0x4060db
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40613b
mov eax, dword [esp + 0x10]
mov ecx, str.btnClose
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40610e
test dx, dx
je 0x40610a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40610e
add eax, 4
add ecx, 4
test dx, dx
jne 0x4060e8
xor eax, eax
jmp 0x406113
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4061a3
mov ecx, dword [ebx - 0xc]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4061a3
mov edx, dword [ebx - 0xc]
push 0
push 2
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4061a3
mov ecx, str.itemdbclick
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406168
test dx, dx
je 0x406164
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406168
add eax, 4
add ecx, 4
test dx, dx
jne 0x406142
xor eax, eax
jmp 0x40616d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4061a3
mov eax, dword [edi + 0x108]
push 1
push str.__procPath
add eax, 0x648
push eax
call fcn.004235d1
test eax, eax
je 0x4061a3
mov edi, dword [eax]
test edi, edi
je 0x4061a3
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4061a3
call fcn.0045ed5f
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
je 0x4061b8
push eax
call fcn.0047db14
add esp, 4
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0047d444
add esp, 0x94
ret 4
Function at 0x407260
Capabilities:
Check if file exists
Delete file
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2cc
mov eax, dword [0x4be0a0]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
mov edi, edx
push edi
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
test eax, eax
je 0x4072b3
push edi
call fcn.0045cbd8
cmp edx, ebx
ja 0x40729c
cmp eax, ebx
jbe 0x4072b3
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.0047d444
mov esp, ebp
pop ebp
ret
call fcn.0045cab6
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x2b0
lea eax, [esp + 0x20]
push ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.0047f8f0
add esp, 0xc
push 0x4000
push 0x2b4
lea ecx, [esp + 0x20]
push ecx
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea edx, [esp + 0x14]
push edx
push 0x49e78c
xor esi, esi
push 2
mov dword [esp + 0x20], esi
call dword [sym.imp.SHELL32.dll_SHGetImageList]
test eax, eax
jne 0x407345
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x20]
push 1
mov dword [esp + 0x18], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x407345
push edi
push eax
call fcn.00407030
mov ecx, dword [esp + 0x18]
add esp, 8
push ecx
mov bl, al
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0047d444
mov esp, ebp
pop ebp
ret