joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446c60
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x5e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a0], ecx
mov eax, dword [ebp - 0x1a0]
mov dword [eax + 0x14], 0
push str.ICMP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x1a0]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x1a0]
cmp dword [edx + 0xc], 0
jne 0x446cad
push 0
call fcn.0055718c
push str.IcmpCreateFile
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1a0]
mov dword [edx], eax
push str.IcmpCloseHandle
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1a0]
mov dword [edx + 4], eax
push str.IcmpSendEcho
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x1a0]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x1a0]
cmp dword [eax], 0
je 0x446d29
mov ecx, dword [ebp - 0x1a0]
cmp dword [ecx + 4], 0
je 0x446d29
mov edx, dword [ebp - 0x1a0]
cmp dword [edx + 8], 0
jne 0x446d30
push 0
call fcn.0055718c
lea eax, [ebp - 0x198]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
je 0x446d69
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x446d9c
movzx eax, word [ebp - 0x198]
cmp eax, 0x101
je 0x446d8f
call dword [sym.imp.WSOCK32.dll_WSACleanup]
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x446d9c
mov eax, dword [ebp - 0x1a0]
mov dword [eax + 0x14], 1
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055413f
mov esp, ebp
pop ebp
ret
Function at 0x446dd0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
call edx
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x10], eax
mov byte [ebp - 0x14], 0x40
mov byte [ebp - 0x13], 0
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x34], 0
jmp 0x446e31
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 4
jge 0x446e74
push 0x1f4
push 0x1c
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x38]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
jmp 0x446e28
mov eax, dword [ebp - 8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x2c], 0
jne 0x446ec8
cmp dword [ebp - 0xc], 4
jne 0x446ead
cmp dword [ebp - 8], 0x64
jge 0x446ead
mov eax, 1
jmp 0x446ecb
cmp dword [ebp - 8], 0x12c
jge 0x446ebf
mov eax, 2
jmp 0x446ecb
mov eax, 3
jmp 0x446ecb
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4

Function at 0x446ee0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
call edx
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x10], eax
mov byte [ebp - 0x18], 0x40
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 0x320
push 0x1c
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x30], 0
jne 0x446f76
mov eax, 1
jmp 0x446f79
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4
Function at 0x447ff0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0xbc]
test ecx, ecx
jne 0x448089
push 0
mov edx, dword [0x5ef3c8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x448036
jmp 0x448089
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
push 0x64
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x154]
call fcn.0040fbd0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x154]
call fcn.0040f1c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x1f4
jae 0x448087
mov eax, 0x1f4
sub eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44800e
mov esp, ebp
pop ebp
ret
Function at 0x44e7a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585398
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5e6e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x288], 0
jle 0x44e933
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x28c]
test edx, edx
je 0x44e933
movzx eax, byte [0x5e8330]
test eax, eax
je 0x44e933
push 0x5b35b3
lea ecx, [ebp - 0x10]
call fcn.00403850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x290
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
call fcn.00403090
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0x294
push ecx
mov edx, esp
mov dword [ebp - 0x20], esp
push ecx
mov ecx, edx
call fcn.00403090
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
call fcn.004504a0
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x44e8ff
mov ecx, dword [ebp - 0x2c]
add ecx, 0x29c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
lea edx, [ebp - 0x10]
push edx
call fcn.00403090
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x290
push ecx
mov edx, esp
mov dword [ebp - 0x28], esp
push ecx
mov ecx, edx
call fcn.00403090
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x298]
call fcn.00407770
mov byte [ebp - 0x49], al
mov cl, byte [ebp - 0x49]
mov byte [ebp - 0x15], cl
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x288]
sub eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x288], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x5ef3cc], eax
mov edx, dword [ebp - 0x2c]
add edx, 0x29c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x44e91f
cmp dword [ebp - 0x14], 0xfffffffe
jne 0x44e91f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x5ef3cc]
cmp eax, 0x2710
jbe 0x44e91f
mov byte [0x5e8330], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401a10
jmp 0x44e7c8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x452090
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa2c
mov eax, dword [0x5e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa1c], ecx
mov al, byte [0x5b33af]
mov byte [ebp - 0x808], al
push 0x3ff
push 0
lea ecx, [ebp - 0x807]
push ecx
call fcn.0055a880
add esp, 0xc
mov dl, byte [0x5b342e]
mov byte [ebp - 0xa18], dl
push 0x208
push 0
lea eax, [ebp - 0xa17]
push eax
call fcn.0055a880
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp - 0xa1c]
call fcn.00451ff0
mov dl, byte [0x5b342f]
mov byte [ebp - 0x408], dl
push 0x3ff
push 0
lea eax, [ebp - 0x407]
push eax
call fcn.0055a880
add esp, 0xc
lea ecx, [ebp - 0x808]
push ecx
push str._sWifiModuleTest.ini
lea edx, [ebp - 0x408]
push edx
call fcn.0040c890
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push 0x5b3514
mov ecx, dword [ebp - 0xa1c]
add ecx, 0xcc
push ecx
call fcn.004014e0
add esp, 0xc
mov ecx, dword [ebp - 0xa1c]
add ecx, 0xcc
call fcn.00401510
push eax
push 0x209
lea edx, [ebp - 0xa18]
push edx
push 0x5b345b
push 0x5b3518
push 0x5b3528
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa20], eax
mov ecx, dword [ebp - 0xa20]
add ecx, 1
mov dword [ebp - 0xa24], ecx
mov edx, dword [ebp - 0xa20]
mov al, byte [edx]
mov byte [ebp - 0xa25], al
add dword [ebp - 0xa20], 1
cmp byte [ebp - 0xa25], 0
jne 0x4521af
mov ecx, dword [ebp - 0xa20]
sub ecx, dword [ebp - 0xa24]
mov dword [ebp - 0xa2c], ecx
je 0x4521ff
lea edx, [ebp - 0xa18]
push edx
push 0x487
mov ecx, dword [ebp - 0xa1c]
call fcn.0045d603
mov ecx, eax
call fcn.0045d743
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055413f
mov esp, ebp
pop ebp
ret

Function at 0x4550f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00467fd0
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45512f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00454d38
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x45518d
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x4551b1
cmp dword [edi + 0x74], 0
jne 0x4551b1
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00467fd0
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.0045514e
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 0x45d521
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 0x45d568
call fcn.00467fd0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45d568
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x45d584
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045d026
mov esi, eax
test edi, edi
je 0x45d582
test ebx, ebx
je 0x45d582
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45dd65
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5809a4
call fcn.0055a1cf
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x45dd8a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x45dddc
call fcn.00452d62
push eax
lea ecx, [ebp - 0x10]
call fcn.00401a90
mov ecx, dword [esi + 0x6c]
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.0055a2d9
push eax
call fcn.0040d540
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401b20
mov eax, esi
call fcn.0055a2a7
ret 8

Function at 0x46176d
Capabilities:
Create http request

Disassembly:
mov edi, edi
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 0x461798
call fcn.00467fd0
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_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x4617bb
push eax
push dword [esi + 4]
call fcn.004616f3
push esi
push eax
mov ecx, 0x5ea954
call fcn.0046135c
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4621ae
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x576b38
call fcn.0055a1cf
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0046216e
and dword [ebp - 4], 0
mov dword [esi], vtable.CHttpConnection.0
call fcn.00452d62
push eax
lea ecx, [esi + 0x18]
call fcn.00401a90
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004037e0
push dword [esi + 8]
mov ebx, dword [ebx + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x462225
push eax
push dword [esi + 8]
call fcn.004616f3
push dword [esi + 0xc]
mov ecx, 0x5ea954
push eax
call fcn.0046135c
mov eax, esi
call fcn.0055a2a7
ret 0x18

Function at 0x4629c5
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00462684
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x462a0f
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045b4e9
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403180
jmp 0x462a1a
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046ff81
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x462a20
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0045d62d
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x462a5d
call fcn.00462684
mov dword [esi + 0xc], 1
jmp 0x462a62
call fcn.00462684
cmp dword [esi], 0
je 0x462aab
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x462a83
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045b4e9
jmp 0x462a95
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004018f0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403180
jmp 0x462acf
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x462acf
push dword [esi]
push dword [ebp + 8]
call fcn.0046ff81
pop esi
pop ebp
ret 0xc
Function at 0x463f90
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 0x463fd8
call fcn.00467fd0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x463fd8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x46401b
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 0x464004
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 0x464004
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x464018
mov ecx, dword [esi + 0x68]
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 0x4b13f5
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0052fab6
call fcn.00467a01
cmp dword [eax + 0x14], 0
jne 0x4b1412
mov ecx, esi
pop esi
jmp fcn.004b0efa
pop esi
ret

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004ed7af
call fcn.00467a01
cmp dword [eax + 0x14], 0
jne 0x4b4c54
mov ecx, esi
pop esi
jmp fcn.004b460a
pop esi
ret

Function at 0x4c4a74
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4c4a8e
call fcn.00467fd0
mov esi, dword [eax + 0xc]
push dword [0x5ec754]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4c4aac
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4c4aa4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4c4ad9
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4c4aa6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004c49a2
mov esi, eax
jmp 0x4c4acb

Function at 0x53ab50
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 0x53ab68
mov edi, dword [esi + 0xc]
jmp 0x53aba8
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x53ab81
call fcn.004558e5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x53ab96
call fcn.004558e5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x53aba8
call fcn.004558e5
call fcn.00467fd0
cmp dword [eax + 0x3c], 0
je 0x53abbd
push edi
mov ecx, ebx
call fcn.00539a16
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0053aa6a
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x53abdb
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x53abe7
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x55413f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5e6e00]
jne 0x554149
repz ret
jmp fcn.0055f4c4
Function at 0x56f7d8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5e6e00]
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.00561e06
and dword [ebp - 0x14], 0
cmp dword [0x5ef08c], 0
mov dword [ebp - 0x18], eax
jne 0x56f88b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x56f933
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x56f933
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5b22e4
push ebx
mov dword [0x5ef08c], eax
call edi
push eax
call esi
push 0x5b22d0
push ebx
mov dword [0x5ef090], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5ef094], eax
call edi
push eax
call esi
mov dword [0x5ef09c], eax
test eax, eax
je 0x56f88b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5ef098], eax
mov eax, dword [0x5ef098]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x56f8e4
cmp dword [0x5ef09c], ecx
je 0x56f8e4
push eax
call esi
push dword [0x5ef09c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x56f8e4
test ebx, ebx
je 0x56f8e4
call edi
test eax, eax
je 0x56f8db
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x56f8db
test byte [ebp - 8], 1
jne 0x56f8e4
or dword [ebp + 0x10], 0x200000
jmp 0x56f917
mov eax, dword [0x5ef090]
cmp eax, dword [ebp - 0x18]
je 0x56f917
push eax
call esi
test eax, eax
je 0x56f917
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x56f917
mov eax, dword [0x5ef094]
cmp eax, dword [ebp - 0x18]
je 0x56f917
push eax
call esi
test eax, eax
je 0x56f917
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5ef08c]
call esi
test eax, eax
je 0x56f933
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x56f935
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055413f
leave
ret