joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430280
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
test edi, edi
jne 0x430296
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push ebx
lea ebx, [esi + 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x50
mov dword [ebx + 0x18], 1
call fcn.0042b310
add esp, 4
test eax, eax
je 0x430348
mov dword [eax], 0
cmp dword [esi + 8], 0
je 0x4302de
mov dword [eax + 0x14], 0
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x74]
or edx, 0x40001
mov dword [eax + 0x14], edx
jmp 0x4302e5
mov dword [eax + 0x14], 0x40101
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp + 8]
lea ecx, [eax + 0x1c]
mov dword [eax + 0x20], edx
mov dword [eax + 0x18], esi
mov edx, dword [edi]
mov dword [eax + 0x24], edx
mov edx, dword [edi + 4]
mov dword [eax + 0x28], edx
mov edx, dword [edi + 8]
push 0
push eax
mov dword [eax + 0x2c], edx
mov edx, dword [edi + 0xc]
push 0x10
mov dword [eax + 0x30], edx
mov dx, word [ebp + 0x10]
push edi
push 0
mov word [eax + 0x48], dx
lea eax, [ebp + 0x14]
push eax
push 1
push ecx
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x43036c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x43036c
cmp eax, 0x2736
je 0x43036c
cmp dword [esi + 4], 0
je 0x430355
mov eax, esi
call fcn.0042f2f0
push ebx
mov dword [ebx + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push ebx
mov dword [ebx + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x430390
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x5ae8e0]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
push edi
mov esi, ecx
jmp 0x4303b0
mov ecx, dword [esi + 0xb8]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov edx, dword [eax + 8]
sub edx, dword [eax + 0xc]
js 0x4304fd
mov eax, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 8]
sub eax, dword [edx + 0xc]
test eax, eax
jle 0x4304fd
mov eax, dword [ecx + 4]
mov edx, dword [eax]
mov eax, dword [edx + 0xc]
mov edx, dword [eax]
movzx edi, word [eax]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
add dword [eax + 0xc], 0x10
push 0x50
call fcn.0042b310
add esp, 4
test eax, eax
je 0x4304dd
mov dword [eax], 0
cmp dword [esi + 8], 0
je 0x43043f
mov dword [eax + 0x14], 0
mov edx, dword [esi + 8]
mov ecx, dword [edx + 0x74]
or ecx, 0x20001
mov dword [eax + 0x14], ecx
jmp 0x430446
mov dword [eax + 0x14], 0x20101
mov dword [eax + 0x1c], edi
mov edx, dword [esi + 0xb8]
mov edx, dword [edx + 4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
lea ecx, [eax + 0x1c]
mov dword [eax + 0x20], edx
mov dword [eax + 0x18], esi
mov edx, dword [esp + 0xc]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x18]
push 0
mov dword [eax + 0x30], edx
mov edx, dword [esi + 0xb8]
mov edx, dword [edx + 4]
mov edx, dword [edx]
add dword [edx + 0xc], edi
push eax
push 0x10
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x10]
push 0
lea edx, [esp + 0x1c]
push edx
push 1
push ecx
push eax
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x4304c1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x4304c1
cmp eax, 0x2736
jne 0x4304dd
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
mov ecx, dword [esi + 0xb8]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx]
add dword [ecx + 4], eax
jmp 0x4303b0
cmp dword [esi + 4], 0
je 0x4304ea
mov eax, esi
call fcn.0042f2f0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00524074
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00524074
mov esp, ebp
pop ebp
ret
Function at 0x430740
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0x50
mov esi, eax
call fcn.0042b310
add esp, 4
test eax, eax
je 0x43077b
mov dword [eax], 0
cmp dword [esi + 8], 0
je 0x430791
mov dword [eax + 0x14], 0
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x74]
or edx, 0x20002
mov dword [eax + 0x14], edx
jmp 0x430798
cmp dword [esi + 4], 0
je 0x430788
mov eax, esi
call fcn.0042f2f0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov dword [eax + 0x14], 0x20102
mov edx, dword [ebp + 8]
push 0
push eax
mov dword [eax + 0x20], edx
lea ecx, [eax + 0x1c]
mov dword [eax + 0x18], esi
lea edx, [ebp - 4]
push edx
add eax, 0x24
push eax
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0xc]
push edx
mov dword [ecx], 0x1000
mov eax, dword [esi + 0x10]
push 1
push ecx
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x10
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x4307f1
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x4307f1
cmp eax, 0x2736
jne 0x43077b
inc dword [esi + 0x78]
mov dword [esi + 0x74], 1
mov esi, dword [esi + 4]
inc dword [esi + 0xc4]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4318bf
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5ae8e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x431904
push 0x55d1d8
push 4
push eax
call fcn.005257b8
push eax
call fcn.00407d80
add esp, 0x10
jmp 0x43191a
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x43199a
push edi
call fcn.00529e5a
mov edi, dword [eax]
call fcn.00529e5a
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.005240a1
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00529e5a
cmp dword [eax], 0
je 0x43196e
call fcn.00529e5a
push dword [eax]
call fcn.00430c60
pop ecx
jmp 0x431975
call fcn.00529e5a
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x43199a
cmp dword [ebp - 0x234], esi
jae 0x43199a
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x43199c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00524074
leave
ret
Function at 0x431f06
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5ae8e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00431e67
pop ecx
cmp eax, esi
je 0x431ff0
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x431ff0
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.0052a4d0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x431ff0
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x431ff0
cmp esi, 0x14
jge 0x431ff0
push 0x10
push 0
push edi
call fcn.00526958
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x431fdf
call fcn.00529e5a
cmp dword [eax], 0x22
je 0x431fdf
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.005297f6
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x431fb5
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5b1bac], 0
jne 0x43207b
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x4320a4
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.004318bf
pop ecx
pop ecx
test eax, eax
jne 0x4320a6
inc edi
cmp edi, esi
jl 0x432081
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00524074
leave
ret 8

Function at 0x4381be
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5ae8e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4381f3
xor eax, eax
jmp 0x438246
lea eax, [ebp - 0x210]
push eax
call fcn.005297f6
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x438224
push 0x5889d8
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052a54a
add esp, 0xc
test eax, eax
jne 0x4381ef
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0052a54a
add esp, 0xc
test eax, eax
jne 0x4381ef
lea eax, [ebp - 0x210]
push eax
call fcn.00431e67
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00524074
leave
ret
Function at 0x43fa07
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.0043f6ab
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43fa51
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0043143c
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00420850
jmp 0x43fa5c
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0043b43f
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x43fa62
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.0043fbb8
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x43fa9f
call fcn.0043f6ab
mov dword [esi + 0xc], 1
jmp 0x43faa4
call fcn.0043f6ab
cmp dword [esi], 0
je 0x43faed
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x43fac5
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0043143c
jmp 0x43fad7
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00408190
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00420850
jmp 0x43fb11
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x43fb11
push dword [esi]
push dword [ebp + 8]
call fcn.0043b43f
pop esi
pop ebp
ret 0xc

Function at 0x43feee
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x54fe97
call fcn.00529cc2
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x43ff13
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x43ff65
call fcn.0043153b
push eax
lea ecx, [ebp - 0x10]
call fcn.00407ca0
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.00529811
push eax
call fcn.00407d80
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00408030
mov eax, esi
call fcn.00529d9a
ret 8
Function at 0x446610
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 0x446657
call fcn.004355c1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x446657
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x446673
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00446110
mov esi, eax
test edi, edi
je 0x446671
test ebx, ebx
je 0x446671
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x46b523
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fnstenv [edx]
lea eax, [ebp - 0x3ec]
push eax
call fcn.0046aabe
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0046aa73
add esp, 0xc
mov dword [ebp - 0x340], eax
and byte [ebp - 0x534], 0
and byte [ebp - 0x533], 0
mov byte [ebp - 0x532], 0x29
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0x95
mov byte [ebp - 0x52f], 0xba
mov byte [ebp - 0x52e], 0xb9
mov byte [ebp - 0x52d], 0xa5
mov byte [ebp - 0x52c], 0xb3
mov byte [ebp - 0x52b], 0x9e
mov byte [ebp - 0x52a], 0xb7
mov byte [ebp - 0x529], 0xb8
mov byte [ebp - 0x528], 0xb2
mov byte [ebp - 0x527], 0xba
mov byte [ebp - 0x526], 0xb3
mov byte [ebp - 0x525], 0xd6
lea eax, [ebp - 0x534]
push eax
call fcn.0046aabe
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0046aa73
add esp, 0xc
mov dword [ebp - 0x680], eax
and byte [ebp - 0x664], 0
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 0xfc
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0x4b
dec dword [ebx - 0x3a]
test dword [ecx + 0x66fffff9], esp

Function at 0x4973ac
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.004355c1
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4973e5
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.00496fe9
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 0x497443
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 0x497467
cmp dword [edi + 0x74], 0
jne 0x497467
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.004355c1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.00497404
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 0x49d894
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 0x49d8ae
call fcn.004355c1
mov esi, dword [eax + 0xc]
push dword [0x5b57b4]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x49d8cc
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 0x49d8c4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x49d8f9
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x49d8c6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0049d7c2
mov esi, eax
jmp 0x49d8eb

Function at 0x4fb9de
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00444ba3
call fcn.00431eed
cmp eax, esi
pop esi
jne 0x4fb9fa
mov ecx, 0x5b1cc8
jmp fcn.00439118
ret

Function at 0x4ff377
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 0x4ff38f
mov edi, dword [esi + 0xc]
jmp 0x4ff3cf
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4ff3a8
call fcn.0043a2e5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4ff3bd
call fcn.0043a2e5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4ff3cf
call fcn.0043a2e5
call fcn.004355c1
cmp dword [eax + 0x3c], 0
je 0x4ff3e4
push edi
mov ecx, ebx
call fcn.004fe1a9
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004ff291
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4ff402
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ff40e
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 0x524074
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5ae8e0]
jne 0x52407e
repz ret
jmp fcn.0052e2c4

Function at 0x53ec6e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5ae8e0]
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.00531101
and dword [ebp - 0x14], 0
cmp dword [0x5b8088], 0
mov dword [ebp - 0x18], eax
jne 0x53ed21
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x53edc9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x585578
push ebx
call edi
test eax, eax
je 0x53edc9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x585568
push ebx
mov dword [0x5b8088], eax
call edi
push eax
call esi
push 0x585554
push ebx
mov dword [0x5b808c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5b8090], eax
call edi
push eax
call esi
mov dword [0x5b8098], eax
test eax, eax
je 0x53ed21
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5b8094], eax
mov eax, dword [0x5b8094]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x53ed7a
cmp dword [0x5b8098], ecx
je 0x53ed7a
push eax
call esi
push dword [0x5b8098]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x53ed7a
test ebx, ebx
je 0x53ed7a
call edi
test eax, eax
je 0x53ed71
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x53ed71
test byte [ebp - 8], 1
jne 0x53ed7a
or dword [ebp + 0x10], 0x200000
jmp 0x53edad
mov eax, dword [0x5b808c]
cmp eax, dword [ebp - 0x18]
je 0x53edad
push eax
call esi
test eax, eax
je 0x53edad
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x53edad
mov eax, dword [0x5b8090]
cmp eax, dword [ebp - 0x18]
je 0x53edad
push eax
call esi
test eax, eax
je 0x53edad
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5b8088]
call esi
test eax, eax
je 0x53edc9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x53edcb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00524074
leave
ret
Function at 0x546f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x553ba8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ae8e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.005241cf
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
xor ebx, ebx
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov dword [esp + 0x28], ebx
mov byte [ecx], bl
call fcn.00406810
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x546ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x553be0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5ae8e0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.005241cf
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.00406810
mov dword [esi], vtable.boost::lock_error.0
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], 1
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x547084
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4