joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40adb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
je 0x40ae56
jne 0x40ae56
lea edx, [esi - 3]
mov eax, dword [0x10120214]
push 0x9f8c74
mov al, byte [edx + ecx + 0x4ed8]
cmp edx, 0x384
lodsb al, byte [esi]
rol dword [ebx - 0x79f0f01f], cl
inc ebp
add byte [eax], al
add cl, ch
add eax, dword [eax]
add byte [eax], al
lea ecx, [ecx]
cmp esi, eax
jae 0x40aecf
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
push 0x40ae23
ret
push ebx
mov ebx, dword [ebp + 8]
push edi
je 0x40aef1
jne 0x40aef1
lea ecx, [edx + edi + 0x2d40]
and ebx, dword [edx]
mov al, byte [0xe49678]
add eax, 0x344a48c
invalid
pop esi
pop edi
xor eax, eax
push 0x40ae8a
ret
mov edi, dword [ebp + 0xc]
push edi
push ebx
jmp 0x40af5a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40aecf
push edi
push 0x40af8e
ret
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40af6c
pop edi
pop ebx
pop ebp
ret
push esi
jmp 0x40af11
Function at 0x41b500
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cb4b
jmp 0x41b6f4
call fcn.0040f090
add esp, 0xc
cmp eax, edi
je 0x41b649
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x22c]
je 0x41b649
lea ecx, [ebp - 0x230]
push 0x401960
push ecx
call fcn.0040f660
add esp, 8
push 0x401950
push 0x401938
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
je 0x41b746
jne 0x41b746
push 0x9b3430
dec edi
aad 0xfe
test byte [esi + 0x33], ah
lds ecx, [ecx + 0x5653ec45]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
je 0x41b60b
jne 0x41b60b
push 0xa0dde4
mov ecx, 0xa83108
mov edx, 0x6a0babb1
add dword [eax - 0x18], edx
aas
outsd dx, dword [esi]
add dword [eax], eax
push 1
push eax
call fcn.004324ef
mov edx, dword [ebp - 0x220]
push edx
call fcn.0043233c
mov eax, dword [ebp - 0x220]
mov esi, dword [ebp - 0x22c]
sub esi, dword [ebp - 0x230]
push eax
call fcn.0043214d
mov ecx, dword [ebp - 0x220]
xor ebx, ebx
jmp 0x41b770
call fcn.004308f0
add esp, 0xc
push 0x41b6b8
ret
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
mov edx, dword [ebp + 0x10]
jmp 0x41b7dc
add esp, 0x1c
mov eax, dword [ebp - 0x230]
jmp 0x41b82b
xor ecx, ebp
call fcn.004308e1
jmp 0x41b8c7
jmp 0x41b8e4
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4901c4]
je 0x41b57c
jne 0x41b57c
movdqa xmm5, xmmword [0x697d0a40]
call dword [0x4911b8]
cmp eax, 0x117
sahf
into
and byte [esi - 0x77], 0x95
in al, 0xfd
invalid
mov word [ebp - 0x21c], dx
je 0x41b5f1
jne 0x41b5f1
paddw xmm5, xmmword [0xb1dc10]
fdivr dword [ecx + 0x67]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x41b649
push esi
call eax
jmp 0x41b905
cmp esi, eax
push ecx
sete bl
call fcn.00431f45
jmp 0x41b646
lea ecx, [ebp - 0x230]
push ecx
push edx
push eax
mov byte [ebp - 4], 1
jmp 0x41b51f
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41b937
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push edi
push eax
je 0x41b728
jne 0x41b728
mov ecx, dword [0x1152bb4c]
mov ecx, dword [0x100b388c]
pop ebx
push esi
cmp eax, edi
je 0x41b8e4
push eax
call fcn.004303db
add esp, 4
jmp 0x41b681
push edx
mov dword [ebp - 0x220], edi
call fcn.00432627
add esp, 0xc
test eax, eax
jne 0x41b649
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x41b649
mov ecx, dword [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x230]
sub ecx, eax
push ecx
jmp 0x41b5a8
mov esp, ebp
pop ebp
ret
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
jmp 0x41b65b
cmp eax, edi
je 0x41b937
push esi
je 0x41b7f4
jne 0x41b7f4
mov byte [0x10699fd], al
lea edx, [ebp - 0x15c]
push 0xb129fc
jecxz 0x41b947
cdq
sbb eax, 0xfc08544
test byte [edx], dl
std
invalid
push 0x401930
lea edx, [ebp - 0x220]
push esi
jmp 0x41b873
invalid
Function at 0x41b6f4
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cb4b
jmp 0x41b6f4
call fcn.0040f090
add esp, 0xc
cmp eax, edi
je 0x41b649
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x22c]
je 0x41b649
lea ecx, [ebp - 0x230]
push 0x401960
push ecx
call fcn.0040f660
add esp, 8
push 0x401950
push 0x401938
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
je 0x41b746
jne 0x41b746
push 0x9b3430
dec edi
aad 0xfe
test byte [esi + 0x33], ah
lds ecx, [ecx + 0x5653ec45]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
je 0x41b60b
jne 0x41b60b
push 0xa0dde4
mov ecx, 0xa83108
mov edx, 0x6a0babb1
add dword [eax - 0x18], edx
aas
outsd dx, dword [esi]
add dword [eax], eax
push 1
push eax
call fcn.004324ef
mov edx, dword [ebp - 0x220]
push edx
call fcn.0043233c
mov eax, dword [ebp - 0x220]
mov esi, dword [ebp - 0x22c]
sub esi, dword [ebp - 0x230]
push eax
call fcn.0043214d
mov ecx, dword [ebp - 0x220]
xor ebx, ebx
jmp 0x41b770
call fcn.004308f0
add esp, 0xc
push 0x41b6b8
ret
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
mov edx, dword [ebp + 0x10]
jmp 0x41b7dc
add esp, 0x1c
mov eax, dword [ebp - 0x230]
jmp 0x41b82b
xor ecx, ebp
call fcn.004308e1
jmp 0x41b8c7
jmp 0x41b8e4
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4901c4]
je 0x41b57c
jne 0x41b57c
movdqa xmm5, xmmword [0x697d0a40]
call dword [0x4911b8]
cmp eax, 0x117
sahf
into
and byte [esi - 0x77], 0x95
in al, 0xfd
invalid
mov word [ebp - 0x21c], dx
je 0x41b5f1
jne 0x41b5f1
paddw xmm5, xmmword [0xb1dc10]
fdivr dword [ecx + 0x67]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x41b649
push esi
call eax
jmp 0x41b905
cmp esi, eax
push ecx
sete bl
call fcn.00431f45
jmp 0x41b646
lea ecx, [ebp - 0x230]
push ecx
push edx
push eax
mov byte [ebp - 4], 1
jmp 0x41b51f
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41b937
push 0x206
lea eax, [ebp - 0x21a]
xor edx, edx
push edi
push eax
je 0x41b728
jne 0x41b728
mov ecx, dword [0x1152bb4c]
mov ecx, dword [0x100b388c]
pop ebx
push esi
cmp eax, edi
je 0x41b8e4
push eax
call fcn.004303db
add esp, 4
jmp 0x41b681
push edx
mov dword [ebp - 0x220], edi
call fcn.00432627
add esp, 0xc
test eax, eax
jne 0x41b649
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x41b649
mov ecx, dword [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x230]
sub ecx, eax
push ecx
jmp 0x41b5a8
mov esp, ebp
pop ebp
ret
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
jmp 0x41b65b
cmp eax, edi
je 0x41b937
push esi
je 0x41b7f4
jne 0x41b7f4
mov byte [0x10699fd], al
lea edx, [ebp - 0x15c]
push 0xb129fc
jecxz 0x41b947
cdq
sbb eax, 0xfc08544
test byte [edx], dl
std
invalid
push 0x401930
lea edx, [ebp - 0x220]
push esi
jmp 0x41b873
invalid
Function at 0x41cef0
Capabilities:
Check if file exists
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cbf8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4901c4]
xor eax, ebp
je 0x41d02d
jne 0x41d02d
mov esi, dword [ebp + 0x2ac]
call dword [0x44b8b4]
mov dword [0x407398], eax
inc edi
lds ebx, [edx]
sbb eax, 0x840fc33b
mov dword [ebx], eax
add byte [eax], al
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x28]
je 0x41d2c0
mov edi, dword [ebp + 8]
push 0x401930
lea eax, [ebp - 0x18]
push edi
push eax
mov dword [ebp - 0x18], ebx
call fcn.00432627
add esp, 0xc
je 0x41d000
jne 0x41d000
mov word [ebp - 0x10], ax
mov dword [esi], 0xad29e8
mov dword [ebp - 0x3c], 0x42bd28
sub byte [eax], bl
pushfd
pop es
adc cl, byte [ebp - 0x44161bb3]
add al, byte [eax]
add ah, bl
or eax, 0x4aaddc
js 0x41cfc0
call fcn.0041c2c0
cmp eax, ebx
je 0x41d2b0
mov eax, dword [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push 0x41cfde
ret
push edi
and eax, 0xfff5d9e8
call dword [esi - 0x73]
dec ebp
or byte [eax - 0x73], ch
iretd
test eax, eax
jne 0x41d2c0
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x41d2c0
jmp 0x41d0d3
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
jmp fcn.0041d1c6
mov eax, dword [ebp - 0x2c]
je 0x41d27f
jne 0x41d27f
lea eax, [ebp + 0x13]
push 0xa72238
push 0x6978abd0
cmp dword [edi], 0x76
mov esi, 0x84d8d57
xor ecx, ecx
cmp esi, eax
sete cl
push edx
mov esi, ecx
call fcn.00431f45
add esp, 0x14
cmp esi, ebx
je 0x41d2c0
mov eax, dword [0x490144]
mov edx, dword [eax + 0xc]
mov ecx, 0x490144
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
je 0x41d124
jne 0x41d124
mov dword [ebp + eax*4 - 0x4c], edi
mov dword [esi + 0x10], 0x697de8ec
mov esi, dword [ebp - 0x28]
push ecx
sub esi, eax
push esi
push 1
push eax
call fcn.004324ef
mov edx, dword [ebp - 0x18]
jmp 0x41d16d
lea ecx, [ebp + 8]
call fcn.0041ae90
Function at 0x4308e1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4901c4]
jne 0x4308eb
repz ret
jmp fcn.004340bf

Function at 0x439739
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4901c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00433767
and dword [ebp - 0x14], 0
cmp dword [0x491f24], 0
mov dword [ebp - 0x18], eax
jne 0x4397ec
push 0x402af0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x439894
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ae4
push ebx
call edi
test eax, eax
je 0x439894
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402ad4
push ebx
mov dword [0x491f24], eax
call edi
push eax
call esi
push 0x402ac0
push ebx
mov dword [0x491f28], eax
call edi
push eax
call esi
push 0x402aa4
push ebx
mov dword [0x491f2c], eax
call edi
push eax
call esi
mov dword [0x491f34], eax
test eax, eax
je 0x4397ec
push 0x402a8c
push ebx
call edi
push eax
call esi
mov dword [0x491f30], eax
mov eax, dword [0x491f30]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x439845
cmp dword [0x491f34], ecx
je 0x439845
push eax
call esi
push dword [0x491f34]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x439845
test ebx, ebx
je 0x439845
call edi
test eax, eax
je 0x43983c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43983c
test byte [ebp - 8], 1
jne 0x439845
or dword [ebp + 0x10], 0x200000
jmp 0x439878
mov eax, dword [0x491f28]
cmp eax, dword [ebp - 0x18]
je 0x439878
push eax
call esi
test eax, eax
je 0x439878
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x439878
mov eax, dword [0x491f2c]
cmp eax, dword [ebp - 0x18]
je 0x439878
push eax
call esi
test eax, eax
je 0x439878
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x491f24]
call esi
test eax, eax
je 0x439894
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x439896
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004308e1
leave
ret
Function at 0x418e57
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00412f66
and dword [ebp - 4], 0
cmp dword [0x44fcdc], 0
mov ebx, eax
jne 0x418f08
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x418fb9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x418fb9
push eax
call fcn.00412ef4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44fcdc], eax
call esi
push eax
call fcn.00412ef4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44fce0], eax
call esi
push eax
call fcn.00412ef4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44fce4], eax
call esi
push eax
call fcn.00412ef4
pop ecx
mov dword [0x44fcec], eax
test eax, eax
je 0x418f08
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00412ef4
pop ecx
mov dword [0x44fce8], eax
mov eax, dword [0x44fce8]
cmp eax, ebx
je 0x418f60
cmp dword [0x44fcec], ebx
je 0x418f60
push eax
call fcn.00412f6f
push dword [0x44fcec]
mov esi, eax
call fcn.00412f6f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x418f60
test edi, edi
je 0x418f60
call esi
test eax, eax
je 0x418f57
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x418f57
test byte [ebp - 0xc], 1
jne 0x418f60
or dword [ebp + 0x10], 0x200000
jmp 0x418f99
mov eax, dword [0x44fce0]
cmp eax, ebx
je 0x418f99
push eax
call fcn.00412f6f
pop ecx
test eax, eax
je 0x418f99
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x418f99
mov eax, dword [0x44fce4]
cmp eax, ebx
je 0x418f99
push eax
call fcn.00412f6f
pop ecx
test eax, eax
je 0x418f99
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44fcdc]
call fcn.00412f6f
pop ecx
test eax, eax
je 0x418fb9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x418fbb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..3ean
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x272839d7
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..7LWLf
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2b734e38
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x8c212e
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x8c1ea3
push edi
pop edi
or edi, ebx
mov ebx, edi
call fcn.008c216e
inc edi
or ebx, edi
xor dword [eax], edx
add ebx, 0x9b25744e
or edi, ebx
inc edi
inc eax
and ebx, ebx
cmp eax, esi
jne fcn.008c212e
sub esp, 4
mov dword [esp], 0x8a15a74
mov edi, dword [esp]
add esp, 4
or ebx, ebx
push edi
pop edi
ret
Function at 0x4221d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9270
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4dcac0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x566c
call fcn.0040ea30
call fcn.0044daf0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
add eax, 0x566c
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xbc
call fcn.0040e3e0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x5674
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040e320
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040d520
movzx edx, al
test edx, edx
jne 0x422352
lea ecx, [ebp - 0x18]
call fcn.0040e300
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea edx, [ebp - 0x14]
push edx
call fcn.0040e320
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401560
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040e3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040e3c0
lea ecx, [ebp - 0x14]
call fcn.0040d520
movzx eax, al
test eax, eax
jne 0x422346
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea edx, [ebp - 0x14]
push edx
call fcn.0040e320
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004023d0
add esp, 8
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
call fcn.0040e3e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040e3c0
lea ecx, [ebp - 0x14]
call fcn.0040d520
movzx eax, al
test eax, eax
jne 0x422346
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x5670]
push eax
push 0x4c01c0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x566c
push ecx
call fcn.0040ef80
add esp, 0x10
mov edx, dword [ebp - 0x2c]
add edx, 0x566c
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0xbc
call fcn.0040e3e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040e3c0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x566c
call fcn.0040d520
movzx eax, al
test eax, eax
je 0x42239f
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x5670]
push edx
push 0x4c01c8
mov eax, dword [ebp - 0x2c]
add eax, 0x566c
push eax
call fcn.0040ef80
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
add ecx, 0x566c
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xbc
call fcn.0040e3e0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xbc
call fcn.0040e440
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040e3c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4719b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bbfbc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4dcac0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x54
call fcn.0044df20
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10], 0
jmp 0x4719ff
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jg 0x471a26
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x54
call fcn.0040e110
mov ecx, eax
call fcn.0040e440
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4719f6
mov ecx, dword [ebp - 0x1c]
call fcn.0046a640
mov ecx, dword [ebp - 0x1c]
add ecx, 0x54
call fcn.0040e090
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x70], 0
je 0x471a8e
lea ecx, [ebp - 0x18]
call fcn.0040e300
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
call fcn.0040e240
push eax
push 0x4c519c
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040ef80
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0040e440
push eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x70]
call fcn.0048a7ef
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040e3c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x47e840
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcdc2
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x4dcac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x370], ecx
lea eax, [ebp - 0x36c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 1
push 0
push 0
push 0x4c6554
push 6
push 0
push 0x4c6584
push 0
lea ecx, [ebp - 0x1f4]
call fcn.00491ac3
mov dword [ebp - 4], 0
mov dword [ebp - 0x1f8], 0x58
call fcn.0044daf0
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
movzx edx, byte [ecx + 0xb4]
test edx, edx
jne 0x47e8db
mov dword [ebp - 0x1f8], 0x4c
lea ecx, [ebp - 0x1f4]
call fcn.0049119d
mov ecx, dword [ebp - 0x1f8]
mov dword [eax], ecx
lea ecx, [ebp - 0x1f4]
call fcn.004922ab
cmp eax, 2
jne 0x47e922
lea edx, [ebp - 0x36c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.004918cb
jmp 0x47ea54
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.00492594
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x208]
call fcn.00482709
mov byte [ebp - 4], 2
push 0
push 0x1001
lea ecx, [ebp - 0x25c]
call fcn.0040e440
push eax
lea ecx, [ebp - 0x208]
call fcn.00482cd6
test eax, eax
jne 0x47e9ab
lea ecx, [ebp - 0x36c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x208]
call fcn.0048288b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.0040e3c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.004918cb
jmp 0x47ea54
lea edx, [ebp - 0x208]
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x24c], 0x47de80
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x370]
call fcn.004908ae
mov dword [ebp - 0x20c], eax
lea ecx, [ebp - 0x254]
push ecx
push 1
mov ecx, dword [ebp - 0x370]
call fcn.0046eaf0
mov byte [ebp - 0x230], 0x86
lea edx, [ebp - 0x248]
push edx
mov ecx, dword [ebp - 0x370]
call fcn.0049088b
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x208]
call fcn.004825f4
lea eax, [ebp - 0x36c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x208]
call fcn.0048288b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.0040e3c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.004918cb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a47ba
mov esp, ebp
pop ebp
ret
Function at 0x4886b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4886dd
cmp dword [edi + 0x54], 0
jne 0x4886dd
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00493817
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0048867a
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x48ae6b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4bdba7
call fcn.004a5ffc
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x48ae90
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x48aed6
lea ecx, [ebp - 0x10]
call fcn.0040e300
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00482116
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040e7b0
mov eax, esi
call fcn.004a60d4
ret 8

Function at 0x49078a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4907d1
call fcn.00493817
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4907d1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4907ed
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00490304
mov esi, eax
test edi, edi
je 0x4907eb
test ebx, ebx
je 0x4907eb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4a47ba
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4dcac0]
jne 0x4a47c4
repz ret
jmp fcn.004ab99c