joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413280
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592a2b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10020
call fcn.0056f4b0
mov eax, dword [0x5fcffc]
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
mov dword [ebp - 0x10], esp
xor ebx, ebx
push str.System
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov edi, eax
mov dword [ebp - 0x1002c], edi
test edi, edi
jne 0x4132db
or eax, 0xffffffff
jmp 0x41344d
lea eax, [ebp - 0x10024]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_GetOldestEventLogRecord]
or esi, 0xffffffff
nop dword [eax]
lea eax, [ebp - 0x10028]
push eax
lea eax, [ebp - 0x10020]
push eax
push 0x10000
lea eax, [ebp - 0x10018]
push eax
push 0
push 5
push edi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
test eax, eax
je 0x4133e6
lea edi, [ebp - 0x10018]
cmp dword [ebp - 0x10020], 0
jbe 0x4133db
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x413469
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1001c], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1001c]
push dword [edi + 0x14]
push str.0x_08X
push eax
call fcn.00402d70
mov eax, dword [ebp - 0x1001c]
add esp, 0xc
mov ecx, str.0x80001775
mov edx, eax
mov si, word [edx]
cmp si, word [ecx]
jne 0x41339b
test si, si
je 0x413397
mov si, word [edx + 2]
cmp si, word [ecx + 2]
jne 0x41339b
add edx, 4
add ecx, 4
test si, si
jne 0x413375
xor edx, edx
jmp 0x4133a0
sbb edx, edx
or edx, 1
test edx, edx
lea ecx, [ebx + 1]
lea edx, [eax - 0x10]
cmovne ecx, ebx
or esi, 0xffffffff
mov ebx, ecx
mov eax, esi
mov ecx, dword [edi]
sub dword [ebp - 0x10020], ecx
add edi, dword [edi]
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413323
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x413323
mov edi, dword [ebp - 0x1002c]
jmp 0x4132f0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
call fcn.004255be
mov ecx, eax
test ecx, ecx
je 0x413469
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1001c], eax
push ebx
lea eax, [ebp - 0x1001c]
mov byte [ebp - 4], 2
push 0x5daa50
push eax
call fcn.00402d70
mov byte [ebp - 4], 0
add esp, 0xc
mov eax, dword [ebp - 0x1001c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x41343e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x41344d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056eb08
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004033d0
int3
Function at 0x41f120
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5946ad
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5fcffc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 2
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x41f1c1
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], esp
mov ecx, esp
push eax
call fcn.00422ec0
push ecx
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
mov ecx, esp
push eax
call fcn.00422ec0
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0041f240
test eax, eax
je 0x41f1c1
push ecx
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00422ec0
push ecx
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
mov ecx, esp
push eax
call fcn.00422ec0
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0041f4c0
test eax, eax
je 0x41f1c1
mov edi, 1
jmp 0x41f1c3
xor edi, edi
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41f1e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41f202
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x41f221
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4219f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004343fe

Function at 0x422f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5fcffc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push edi
mov edi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x422fbc
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push esi
push 0
push 0
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x422fce
push 0x5d8d04
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056eb08
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.0056eb08
mov esp, ebp
pop ebp
ret

Function at 0x422ff0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5fcffc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push edi
mov edi, dword [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x423076
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423032
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x423076
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056eb08
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0056eb08
mov esp, ebp
pop ebp
ret
Function at 0x42782b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x427870
call fcn.0043b086
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42786d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4278b7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x427893
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x5a4a88]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x4278b4
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x5a4a88]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc

Function at 0x433be7
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x433c3a
push esi
push dword [ebp + 8]
call fcn.00433dd0
mov edi, eax
test edi, edi
je 0x433c35
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x433c35
mov eax, dword [ebp - 8]
jmp 0x433c4c
mov eax, dword [ebp + 0x10]
jmp 0x433c4c
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x434456
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.0043b086
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x434489
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.0043449c
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x43b8bd
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x594f41
call fcn.0056f335
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x43b8e3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43b93d
lea ecx, [ebp - 0x10]
call fcn.00403370
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5a4a88]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005785ef
push eax
call fcn.00402920
add esp, 0x14
test esi, esi
je 0x43b930
push esi
call fcn.0057683a
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00403490
mov eax, ebx
call fcn.0056f303
ret 8

Function at 0x43c655
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x5961b9
call fcn.0056f335
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push edi
push ebx
call fcn.0043c798
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00403370
mov byte [ebp - 4], 1
test edi, edi
jne 0x43c697
xor eax, eax
jmp 0x43c69e
push edi
call fcn.0057683a
pop ecx
push eax
push edi
lea ecx, [esi + 0x18]
call fcn.00403260
push dword [esi + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
je 0x43c6e1
push dword [esi + 0xc]
mov ecx, 0x602258
push eax
call fcn.0043db33
mov eax, esi
call fcn.0056f303
ret 0x18
push 0
push dword [esi + 8]
call fcn.0043ced1
int3

Function at 0x43c948
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x43c971
call fcn.0043b086
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
je 0x43c99e
push esi
push eax
mov ecx, 0x602258
call fcn.0043db33
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.0043ced1
int3

Function at 0x44005f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x44009e
call fcn.0043b086
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44009e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4400a6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004c0369
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x440a80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x440b0c
cmp dword [esi + 0x20], 0
je 0x440b0c
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x440b0c
cmp dword [ebp + 8], 0
je 0x440b0c
xor edi, edi
mov ebx, edi
call fcn.0043b086
push 0x5a7d98
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x440af0
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x440b0c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.004e2791
mov edi, eax
add esp, 0xc
test edi, edi
je 0x440b08
mov ecx, esi
call fcn.0044081e
mov eax, edi
jmp 0x440b0e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45a899
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x45a8b2
call fcn.0043b086
mov esi, dword [eax + 0xc]
push 0x5aae98
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x45a8f4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45a8f4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x45a8f4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0045a8fd
jmp 0x45a8f6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4e41e9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x4e423f
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e4218
call fcn.00437d28
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e422d
call fcn.00437d28
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e423f
call fcn.00437d28
call fcn.0043b086
cmp dword [eax + 0x3c], 0
je 0x4e4254
push edi
mov ecx, ebx
call fcn.004e390a
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e443a
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4e427d
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4e4289
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4e4de4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0043b43e
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4e4e20
call fcn.004e5001
mov dword [esi + 0xc], 1
jmp 0x4e4e25
call fcn.004e5001
cmp dword [esi], 0
je 0x4e4e70
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x4e4e4b
push edi
call fcn.0043733d
lea ecx, [edi + 1]
push ecx
jmp 0x4e4e5a
push 0xff
call fcn.00403180
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00422940
pop edi
jmp 0x4e4e94
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4e4e94
push dword [esi]
push dword [ebp - 4]
call fcn.00449a5d
pop esi
leave
ret 0xc
Function at 0x4e4f58
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004e5001
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4e4fa0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0043733d
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00422940
jmp 0x4e4fab
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00449a5d
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x534dca
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0056a183
call fcn.0043b0da
cmp dword [eax + 0x14], 0
jne 0x534de5
mov ecx, esi
pop esi
jmp fcn.005340ee
pop esi
ret

Function at 0x535238
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.00581660
pop ecx
test eax, eax
jne 0x53527a
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0043419f
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x535240
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret

Function at 0x567c3f
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00402730
call fcn.0043b0da
cmp dword [eax + 0x14], 0
jne 0x567c5a
mov ecx, esi
pop esi
jmp fcn.005674b0
pop esi
ret

Function at 0x5880c6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00587d77

Function at 0x5880d1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00587f01
Function at 0x4394c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x25000]
push edi
or ebp, 0xffffffff
jmp 0x4394e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4394e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4394d8
mov eax, 1
add ebx, ebx
jne 0x4394fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4394f0
jne 0x43950c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4394f0
xor ecx, ecx
sub eax, 3
jb 0x439520
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x439592
mov ebp, eax
add ebx, ebx
jne 0x43952b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x439538
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43955c
inc ecx
add ebx, ebx
jne 0x439548
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43953d
jne 0x439559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43953d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43957c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43956d
jmp 0x4394de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43957c
add edi, ecx
jmp 0x4394de
pop esi
mov edi, esi
mov ecx, 0x163e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43959a
cmp byte [edi], 0xa
jne 0x43959a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x43959f
lea edi, [esi + 0x37000]
mov eax, dword [edi]
or eax, eax
je 0x43960e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3953c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3958c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4395cc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x39590]
or eax, eax
je 0x439608
mov dword [ebx], eax
add ebx, 4
jmp 0x4395e9
call dword [esi + 0x39594]
popal
jmp 0x41b2fd
Function at 0x4091d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b1ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045fe39
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409252
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045dbe7
mov eax, dword [eax]
push 0x4871c0
push eax
call fcn.00450a74
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004600c4
test bl, bl
je 0x409252
push 0x4871c0
lea ecx, [esp + 0xc]
call fcn.00460454
push 0x48ad20
lea ecx, [esp + 0xc]
call fcn.00460454
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40928e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004600c4
jmp 0x409359
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x409312
lea edx, [esp + 0x7c]
push 0x48ad1c
push edx
call fcn.00450a74
add esp, 8
test eax, eax
je 0x409312
lea eax, [esp + 0x7c]
push 0x48ad18
push eax
call fcn.00450a74
add esp, 8
test eax, eax
je 0x409312
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4092a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004600c4
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409b50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x409bb2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc