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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x5e8e00]
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 0x44720d
push 0
call fcn.005580ec
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 0x447289
mov ecx, dword [ebp - 0x1a0]
cmp dword [ecx + 4], 0
je 0x447289
mov edx, dword [ebp - 0x1a0]
cmp dword [edx + 8], 0
jne 0x447290
push 0
call fcn.005580ec
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 0x4472c9
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 0x4472fc
movzx eax, word [ebp - 0x198]
cmp eax, 0x101
je 0x4472ef
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 0x4472fc
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.0055509d
mov esp, ebp
pop ebp
ret
Function at 0x447330
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 0x447391
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 4
jge 0x4473d4
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 0x447388
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 0x447428
cmp dword [ebp - 0xc], 4
jne 0x44740d
cmp dword [ebp - 8], 0x64
jge 0x44740d
mov eax, 1
jmp 0x44742b
cmp dword [ebp - 8], 0x12c
jge 0x44741f
mov eax, 2
jmp 0x44742b
mov eax, 3
jmp 0x44742b
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4

Function at 0x447440
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 0x4474d6
mov eax, 1
jmp 0x4474d9
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4
Function at 0x448550
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 0x4485e9
push 0
mov edx, dword [0x5f13c8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x448596
jmp 0x4485e9
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.0040fa50
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x154]
call fcn.0040f040
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 0x4485e7
mov eax, 0x1f4
sub eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44856e
mov esp, ebp
pop ebp
ret
Function at 0x44ed00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5863a8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5e8e00]
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 0x44ee93
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x28c]
test edx, edx
je 0x44ee93
movzx eax, byte [0x5ea330]
test eax, eax
je 0x44ee93
push 0x5b45a9
lea ecx, [ebp - 0x10]
call fcn.00403840
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.00403080
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.00403080
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0
call fcn.00450a00
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x44ee5f
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.00403080
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.00403080
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 [0x5f13cc], eax
mov edx, dword [ebp - 0x2c]
add edx, 0x29c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x44ee7f
cmp dword [ebp - 0x14], 0xfffffffe
jne 0x44ee7f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x5f13cc]
cmp eax, 0x2710
jbe 0x44ee7f
mov byte [0x5ea330], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401a00
jmp 0x44ed28
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x452600
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa2c
mov eax, dword [0x5e8e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa1c], ecx
mov al, byte [0x5b43af]
mov byte [ebp - 0x808], al
push 0x3ff
push 0
lea ecx, [ebp - 0x807]
push ecx
call fcn.0055b7e0
add esp, 0xc
mov dl, byte [0x5b442e]
mov byte [ebp - 0xa18], dl
push 0x208
push 0
lea eax, [ebp - 0xa17]
push eax
call fcn.0055b7e0
add esp, 0xc
push 0x400
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp - 0xa1c]
call fcn.00452560
mov dl, byte [0x5b442f]
mov byte [ebp - 0x408], dl
push 0x3ff
push 0
lea eax, [ebp - 0x407]
push eax
call fcn.0055b7e0
add esp, 0xc
lea ecx, [ebp - 0x808]
push ecx
push str._sWifiModuleTest.ini
lea edx, [ebp - 0x408]
push edx
call fcn.0040c720
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push 0x5b450c
mov ecx, dword [ebp - 0xa1c]
add ecx, 0xcc
push ecx
call fcn.004014d0
add esp, 0xc
mov ecx, dword [ebp - 0xa1c]
add ecx, 0xcc
call fcn.00401500
push eax
push 0x209
lea edx, [ebp - 0xa18]
push edx
push 0x5b445b
push 0x5b4510
push 0x5b4520
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 0x45271f
mov ecx, dword [ebp - 0xa20]
sub ecx, dword [ebp - 0xa24]
mov dword [ebp - 0xa2c], ecx
je 0x45276f
lea edx, [ebp - 0xa18]
push edx
push 0x487
mov ecx, dword [ebp - 0xa1c]
call fcn.0045e4c5
mov ecx, eax
call fcn.0045e605
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055509d
mov esp, ebp
pop ebp
ret

Function at 0x455feb
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.00468fcb
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 0x456024
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.00455c2d
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 0x456082
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 0x4560a6
cmp dword [edi + 0x74], 0
jne 0x4560a6
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00468fcb
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.00456043
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 0x45e3e3
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 0x45e42a
call fcn.00468fcb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45e42a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x45e446
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0045dee8
mov esi, eax
test edi, edi
je 0x45e444
test ebx, ebx
je 0x45e444
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45ec27
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5818cb
call fcn.0055b12f
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x45ec4c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x45ec9e
call fcn.00453cc2
push eax
lea ecx, [ebp - 0x10]
call fcn.00401a80
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.0055b239
push eax
call fcn.0040d530
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.00401b10
mov eax, esi
call fcn.0055b207
ret 8

Function at 0x462621
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 0x46264c
call fcn.00468fcb
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 0x46266f
push eax
push dword [esi + 4]
call fcn.004625a7
push esi
push eax
mov ecx, 0x5ec954
call fcn.00462210
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x463062
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x577a7d
call fcn.0055b12f
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.00463022
and dword [ebp - 4], 0
mov dword [esi], vtable.CHttpConnection.0
call fcn.00453cc2
push eax
lea ecx, [esi + 0x18]
call fcn.00401a80
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004037d0
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 0x4630d9
push eax
push dword [esi + 8]
call fcn.004625a7
push dword [esi + 0xc]
mov ecx, 0x5ec954
push eax
call fcn.00462210
mov eax, esi
call fcn.0055b207
ret 0x18

Function at 0x463879
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.00463538
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4638c3
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045c3ab
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403170
jmp 0x4638ce
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00470fe0
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4638d4
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.0045e4ef
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 0x463911
call fcn.00463538
mov dword [esi + 0xc], 1
jmp 0x463916
call fcn.00463538
cmp dword [esi], 0
je 0x46395f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x463937
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045c3ab
jmp 0x463949
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004018e0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00403170
jmp 0x463983
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 0x463983
push dword [esi]
push dword [ebp + 8]
call fcn.00470fe0
pop esi
pop ebp
ret 0xc
Function at 0x464e5e
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 0x464ea6
call fcn.00468fcb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x464ea6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x464ee9
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 0x464ed2
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 0x464ed2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x464ee6
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 0x4b22c8
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.005309c4
call fcn.004689fc
cmp dword [eax + 0x14], 0
jne 0x4b22e5
mov ecx, esi
pop esi
jmp fcn.004b1dcd
pop esi
ret

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

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0050c3f1
call fcn.004689fc
cmp dword [eax + 0x14], 0
jne 0x4b5a31
mov ecx, esi
pop esi
jmp fcn.004b53e7
pop esi
ret

Function at 0x4c5883
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 0x4c589d
call fcn.00468fcb
mov esi, dword [eax + 0xc]
push dword [0x5ee754]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4c58bb
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 0x4c58b3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4c58e8
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4c58b5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004c57b1
mov esi, eax
jmp 0x4c58da

Function at 0x53ba91
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 0x53baa9
mov edi, dword [esi + 0xc]
jmp 0x53bae9
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x53bac2
call fcn.004567da
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x53bad7
call fcn.004567da
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x53bae9
call fcn.004567da
call fcn.00468fcb
cmp dword [eax + 0x3c], 0
je 0x53bafe
push edi
mov ecx, ebx
call fcn.0053a8cd
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0053b9ab
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x53bb1c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x53bb28
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 0x55509d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5e8e00]
jne 0x5550a7
repz ret
jmp fcn.00560424
Function at 0x570728
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5e8e00]
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.00562d66
and dword [ebp - 0x14], 0
cmp dword [0x5f108c], 0
mov dword [ebp - 0x18], eax
jne 0x5707db
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x570883
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x570883
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5b32e4
push ebx
mov dword [0x5f108c], eax
call edi
push eax
call esi
push 0x5b32d0
push ebx
mov dword [0x5f1090], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5f1094], eax
call edi
push eax
call esi
mov dword [0x5f109c], eax
test eax, eax
je 0x5707db
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5f1098], eax
mov eax, dword [0x5f1098]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x570834
cmp dword [0x5f109c], ecx
je 0x570834
push eax
call esi
push dword [0x5f109c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x570834
test ebx, ebx
je 0x570834
call edi
test eax, eax
je 0x57082b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x57082b
test byte [ebp - 8], 1
jne 0x570834
or dword [ebp + 0x10], 0x200000
jmp 0x570867
mov eax, dword [0x5f1090]
cmp eax, dword [ebp - 0x18]
je 0x570867
push eax
call esi
test eax, eax
je 0x570867
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x570867
mov eax, dword [0x5f1094]
cmp eax, dword [ebp - 0x18]
je 0x570867
push eax
call esi
test eax, eax
je 0x570867
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5f108c]
call esi
test eax, eax
je 0x570883
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x570885
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055509d
leave
ret