joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411810
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
push 0
push 0x3ed
mov ecx, dword [ebp - 0x20]
call fcn.0042674f
mov ecx, eax
call fcn.00426973
push 0
push 0x3ee
mov ecx, dword [ebp - 0x20]
call fcn.0042674f
mov ecx, eax
call fcn.00426973
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xac], 0
jne 0x411868
push 0x4884c0
push 0x3ef
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
jmp 0x411993
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x411897
push 0x4884cc
push 0x3ef
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
jmp 0x411993
cmp dword [ebp - 0x18], 4
jne 0x4118ca
push 0x4884d8
push 0x3ef
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
push 1
push 0x3ee
mov ecx, dword [ebp - 0x20]
call fcn.0042674f
mov ecx, eax
call fcn.00426973
jmp 0x411993
cmp dword [ebp - 0x18], 1
jne 0x4118fd
push 0x4884e4
push 0x3ef
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
push 1
push 0x3ed
mov ecx, dword [ebp - 0x20]
call fcn.0042674f
mov ecx, eax
call fcn.00426973
jmp 0x411993
cmp dword [ebp - 0x18], 7
jne 0x41192d
push 0x4884f0
push 0x3ef
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
push 1
push 0x3ed
mov ecx, dword [ebp - 0x20]
call fcn.0042674f
mov ecx, eax
call fcn.00426973
jmp 0x411993
cmp dword [ebp - 0x18], 2
jne 0x411947
push 0x4884fc
push 0x3ef
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
jmp 0x411993
cmp dword [ebp - 0x18], 3
jne 0x411961
push 0x488508
push 0x3ef
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
jmp 0x411993
cmp dword [ebp - 0x18], 6
jne 0x41197b
push 0x488514
push 0x3ef
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
jmp 0x411993
cmp dword [ebp - 0x18], 5
jne 0x411993
push 0x488520
push 0x3ef
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
mov esp, ebp
pop ebp
ret
Function at 0x412a60
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
push 0
push 0x3ee
mov ecx, dword [ebp - 0x20]
call fcn.0042674f
mov ecx, eax
call fcn.00426973
push 0
push 0x3f0
mov ecx, dword [ebp - 0x20]
call fcn.0042674f
mov ecx, eax
call fcn.00426973
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x8c], 0
jne 0x412ab8
push 0x488c1c
push 0x401
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
jmp 0x412be3
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x8c]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x412ae7
push 0x488c28
push 0x401
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
jmp 0x412be3
cmp dword [ebp - 0x18], 4
jne 0x412b1a
push 0x488c34
push 0x401
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
push 1
push 0x3f0
mov ecx, dword [ebp - 0x20]
call fcn.0042674f
mov ecx, eax
call fcn.00426973
jmp 0x412be3
cmp dword [ebp - 0x18], 1
jne 0x412b4d
push 0x488c40
push 0x401
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
push 1
push 0x3ee
mov ecx, dword [ebp - 0x20]
call fcn.0042674f
mov ecx, eax
call fcn.00426973
jmp 0x412be3
cmp dword [ebp - 0x18], 7
jne 0x412b7d
push 0x488c4c
push 0x401
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
push 1
push 0x3ed
mov ecx, dword [ebp - 0x20]
call fcn.0042674f
mov ecx, eax
call fcn.00426973
jmp 0x412be3
cmp dword [ebp - 0x18], 2
jne 0x412b97
push 0x488c58
push 0x401
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
jmp 0x412be3
cmp dword [ebp - 0x18], 3
jne 0x412bb1
push 0x488c64
push 0x401
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
jmp 0x412be3
cmp dword [ebp - 0x18], 6
jne 0x412bcb
push 0x488c70
push 0x401
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
jmp 0x412be3
cmp dword [ebp - 0x18], 5
jne 0x412be3
push 0x488c7c
push 0x401
mov ecx, dword [ebp - 0x20]
call fcn.004267a2
mov esp, ebp
pop ebp
ret
Function at 0x413250
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov byte [0x4f0430], 8
mov byte [0x4f0431], 0
xor eax, eax
mov word [0x4f0432], ax
mov cx, word [0x49f0a0]
mov word [0x4f0434], cx
mov edx, dword [0x49f0a0]
add edx, 1
mov dword [0x49f0a0], edx
mov ax, word [0x49f09c]
mov word [0x4f0436], ax
mov ecx, dword [0x49f09c]
add ecx, 1
mov dword [0x49f09c], ecx
mov dword [ebp - 4], 0
jmp 0x4132b9
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x20
jge 0x4132d0
mov eax, dword [ebp - 4]
add eax, 0x20
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x4f043d], al
jmp 0x4132b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x4f0439], eax
push 0x2d
push 0x4f0430
mov ecx, dword [ebp - 8]
call fcn.004134b0
mov word [0x4f0432], ax
push 0x10
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x2d
push 0x4f0430
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_sendto]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x41331f
push str.sendto__
mov ecx, dword [ebp - 8]
call fcn.00413400
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x413330
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x4ecd5c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0x141
lea edx, [ebp - 0x158]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_recvfrom]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x413389
push str.recvfrom__
mov ecx, dword [ebp - 0x15c]
call fcn.00413400
mov ecx, dword [ebp + 0x10]
mov dl, byte [ebp - 0x150]
mov byte [ecx], dl
mov eax, dword [ebp - 0x13b]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00440a5c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x413550
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x489004
mov ecx, dword [ebp - 4]
add ecx, 0x18
call fcn.00404950
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x413620
push 0
push 0
call fcn.00444639
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x413d90
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14], 0
jne 0x413dbd
jmp 0x413e34
push str.IsThemeActive
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx], eax
push str.OpenThemeData
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
push str.CloseThemeData
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push str.GetThemeBackgroundContentRect
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.DrawThemeBackground
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x417cf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
push 0
push 0
push 0x476
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x417d27
mov eax, 1
jmp 0x417d8b
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x417d3c
mov eax, 1
jmp 0x417d8b
mov dword [ebp - 8], 0xffffff37
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x18]
call fcn.004268d6
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0x4e
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x417d7a
xor eax, eax
jmp 0x417d8b
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x41d960
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x483ea0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4ecd5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
je 0x41d9cf
mov dword [ebp - 0x28], 1
push 0x498950
lea ecx, [ebp - 0x28]
push ecx
call fcn.0044476c
lea edx, [ebp - 0x18]
push edx
push 0x489b68
push 1
push 0
push 0x489b58
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x41da05
mov dword [ebp - 0x2c], 2
push 0x498950
lea eax, [ebp - 0x2c]
push eax
call fcn.0044476c
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x41da3b
mov dword [ebp - 0x30], 3
push 0x498950
lea ecx, [ebp - 0x30]
push ecx
call fcn.0044476c
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jge 0x41da71
mov dword [ebp - 0x34], 4
push 0x498950
lea edx, [ebp - 0x34]
push edx
call fcn.0044476c
jmp 0x41da86
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x41daa1
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
cmp dword [ebp - 0x18], 0
je 0x41dab5
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426673
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 0x4266ba
call fcn.00428987
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4266ba
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4266d6
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004261ed
mov esi, eax
test edi, edi
je 0x4266d4
test ebx, ebx
je 0x4266d4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x426ed8
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x484ee2
call fcn.00444a6e
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x426efd
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x426f43
lea ecx, [ebp - 0x10]
call fcn.00404950
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.004266dd
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.00404df0
mov eax, esi
call fcn.00444b46
ret 8

Function at 0x42a040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x42a058
mov edi, dword [esi + 0xc]
jmp 0x42a098
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42a071
call fcn.0042b25a
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x42a086
call fcn.0042b25a
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42a098
call fcn.0042b25a
call fcn.00428987
cmp dword [eax + 0x3c], 0
je 0x42a0ad
push edi
mov ecx, ebx
call fcn.00428ed1
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.00429f66
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x42a0cb
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x5c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x42a0d7
mov edi, eax
mov dword [ebx + 0x5c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42afeb
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 0x42b00f
cmp dword [edi + 0x54], 0
jne 0x42b00f
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00428987
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.0042afac
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 0x42d8de
Capabilities:
Connect socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.WSOCK32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret 8
Function at 0x42efe7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x4ecd5c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x42f085
push 0x48c37c
push 4
push eax
call fcn.00444e9a
push eax
call fcn.00404220
add esp, 0x10
push ebx
push edi
call fcn.00444d84
mov edi, dword [eax]
call fcn.00444d84
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00444d21
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00444d84
cmp dword [eax], ebx
je 0x42f09c
call fcn.00444d84
push dword [eax]
call fcn.004210f4
pop ecx
jmp 0x42f0a3
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x42f02d
jmp 0x42f12a
call fcn.00444d84
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x42f126
cmp dword [ebp - 0x11c], esi
jae 0x42f126
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.00440a70
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x42f115
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42f115
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x42f115
push ebx
push ebx
push esi
jmp 0x42f11e
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x42f128
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00440a5c
leave
ret

Function at 0x430aff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x430b47
call fcn.00428987
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x430b47
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x430b8a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x430b73
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x430b73
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x430b87
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x440a5c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ecd5c]
jne 0x440a66
repz ret
jmp fcn.0044799c
Function at 0x4517b9
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.004472dd
and dword [ebp - 4], 0
cmp dword [0x4f2d80], 0
mov ebx, eax
jne 0x45186a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45191b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48f870
push edi
call esi
test eax, eax
je 0x45191b
push eax
call fcn.0044726b
mov dword [esp], 0x48f860
push edi
mov dword [0x4f2d80], eax
call esi
push eax
call fcn.0044726b
mov dword [esp], 0x48f84c
push edi
mov dword [0x4f2d84], eax
call esi
push eax
call fcn.0044726b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4f2d88], eax
call esi
push eax
call fcn.0044726b
pop ecx
mov dword [0x4f2d90], eax
test eax, eax
je 0x45186a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044726b
pop ecx
mov dword [0x4f2d8c], eax
mov eax, dword [0x4f2d8c]
cmp eax, ebx
je 0x4518c2
cmp dword [0x4f2d90], ebx
je 0x4518c2
push eax
call fcn.004472e6
push dword [0x4f2d90]
mov esi, eax
call fcn.004472e6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4518c2
test edi, edi
je 0x4518c2
call esi
test eax, eax
je 0x4518b9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4518b9
test byte [ebp - 0xc], 1
jne 0x4518c2
or dword [ebp + 0x10], 0x200000
jmp 0x4518fb
mov eax, dword [0x4f2d84]
cmp eax, ebx
je 0x4518fb
push eax
call fcn.004472e6
pop ecx
test eax, eax
je 0x4518fb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4518fb
mov eax, dword [0x4f2d88]
cmp eax, ebx
je 0x4518fb
push eax
call fcn.004472e6
pop ecx
test eax, eax
je 0x4518fb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f2d80]
call fcn.004472e6
pop ecx
test eax, eax
je 0x45191b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45191d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4581c0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.004659b0
test eax, eax
jne 0x4581f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x458205
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov edx, dword [esp + 0x14]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x458249
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push esi
call ebx
test eax, eax
je 0x458229
cmp eax, 0x102
jne 0x458236
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jg 0x458240
jmp 0x45820f
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x73
pop ebx
ret
push esi
call fcn.004582c0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x458260
Capabilities:
Check mutex on windows

Disassembly:
push esi
call fcn.004659b0
test eax, eax
jne 0x458278
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push 0
push ecx
jmp 0x458281
mov edx, dword [esp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x458294
mov eax, 1
pop esi
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4582ab
mov eax, dword [esp + 0x10]
mov dword [eax], esi
xor eax, eax
pop esi
ret
mov eax, 0x73
pop esi
ret
Function at 0x45bd40
Capabilities:
Get session user name

Disassembly:
sub esp, 0x4c8
push esi
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp eax, 1
jne 0x45bdd1
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.00466d80
add esp, 0xc
cmp eax, 0xffffffff
jne 0x45bdc7
mov eax, dword [str.NoName]
mov cx, word [0x4eef74]
mov dl, byte [0x4eef76]
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
jmp 0x45be18
lea edi, [esp + 0x50]
lea edx, [esp + 0x10]
jmp 0x45bdfb
mov dx, word [0x4eef74]
mov ecx, dword [str.NoName]
mov al, byte [0x4eef76]
mov word [esp + 0x14], dx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x16], al
lea edi, [esp + 0x10]
lea edx, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.00465810
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2dc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe0]
push ecx
call fcn.00466d80
add esp, 0x10
cmp eax, 0xffffffff
pop ebx
jne 0x45beb0
mov edx, dword [str.NoShareString]
mov eax, dword [0x4eeff0]
mov ecx, dword [0x4eeff4]
mov dword [esp + 0xd0], edx
mov dx, word [0x4eeff8]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov word [esp + 0xdc], dx
jmp 0x45bedb
lea edi, [esp + 0x2d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
lea edi, [esp + 0xd0]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 0
push ecx
push edx
call fcn.00465730
mov ecx, dword [esp + 0x14]
add esp, 0xc
inc eax
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop esi
mov dword [0x4f2e00], eax
add esp, 0x4c8
ret