joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411290
Capabilities:
Create tcp socket
Get local ipv4 addresses
Get socket information
Initialize winsock library

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444f18
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x4716e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x474628
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x411306
cmp dword [0x474d14], 0x10
mov eax, 0x474d00
cmovae eax, dword [0x474d00]
push eax
call fcn.00413000
push eax
call fcn.00413500
add esp, 8
xor al, al
jmp 0x411481
push 6
push 1
xorps xmm0, xmm0
push 2
movdqa xmmword [ebp - 0x30], xmm0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x4747b8], eax
cmp eax, 0xffffffff
je 0x4113ca
sub esp, 0x18
mov eax, 2
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x4609e8
mov word [ebp - 0x30], ax
call fcn.00401080
sub esp, 0x18
mov ecx, esp
push str.127.0.0.1
mov dword [ebp - 4], 0
call fcn.00401080
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00414670
add esp, 0x34
cmp dword [eax + 0x14], 0x10
jb 0x411374
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x2c], eax
jb 0x41138f
push dword [ebp - 0x60]
call fcn.0041572d
add esp, 4
xor eax, eax
mov word [ebp - 0x2e], ax
push 0x10
lea eax, [ebp - 0x30]
push eax
push dword [0x4747b8]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x4113e8
push dword [0x4747b8]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [0x474d2c], 0x10
mov eax, 0x474d18
cmovae eax, dword [0x474d18]
jmp 0x4112f0
push 4
push dword [0x4747b8]
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x411424
push dword [0x4747b8]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [0x474d44], 0x10
mov eax, 0x474d30
cmovae eax, dword [0x474d30]
jmp 0x4112f0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [0x4747b8]
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x41146e
push dword [0x4747b8]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [0x474d5c], 0x10
mov eax, 0x474d48
cmovae eax, dword [0x474d48]
jmp 0x4112f0
push dword [ebp - 0x3e]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov dword [0x474624], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004163f4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x412980
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445141
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4716e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
push 2
push eax
call fcn.0041541b
add esp, 8
test eax, eax
je 0x4129c5
push eax
call fcn.00415489
add esp, 4
lea edi, [esi + 0x10]
push 8
mov dword [ebp - 4], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.004156de
add esp, 4
test eax, eax
jne 0x412a04
call fcn.004149ae
mov dword [edi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
mov dword [eax], edi
lea eax, [esi + 0x24]
push 2
push eax
mov byte [ebp - 4], 1
call fcn.0041541b
add esp, 8
test eax, eax
je 0x412a36
push eax
call fcn.00415489
add esp, 4
lea edi, [esi + 0x28]
push 8
mov byte [ebp - 4], 2
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.004156de
add esp, 4
test eax, eax
jne 0x412a72
call fcn.004149ae
mov dword [edi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
push esi
push 4
mov dword [eax], edi
push esi
mov dword [esi + 0x50], 0xf
mov dword [esi + 0x4c], 0
push 0x413260
mov byte [esi + 0x3c], 0
push 0
mov dword [esi + 0x70], 0xf
mov dword [esi + 0x6c], 0
push 0
mov byte [esi + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x412b00
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, ecx
push 0
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x70], 0x10
jb 0x412b29
push dword [edi + 0x5c]
call fcn.0041572d
add esp, 4
mov dword [edi + 0x70], 0xf
mov dword [edi + 0x6c], 0
mov byte [edi + 0x5c], 0
cmp dword [edi + 0x50], 0x10
jb 0x412b4c
push dword [edi + 0x3c]
call fcn.0041572d
add esp, 4
mov dword [edi + 0x50], 0xf
mov dword [edi + 0x4c], 0
lea ecx, [edi + 0x28]
mov byte [edi + 0x3c], 0
call fcn.00413950
push dword [edi + 0x28]
call fcn.0041572d
lea eax, [edi + 0x24]
push eax
mov dword [edi + 0x28], 0
call fcn.004153f7
add esp, 8
lea ecx, [edi + 0x10]
call fcn.00413950
push dword [edi + 0x10]
call fcn.0041572d
lea eax, [edi + 8]
push eax
mov dword [edi + 0x10], 0
call fcn.004153f7
add esp, 8
pop edi
pop esi
ret
Function at 0x412db0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4451db
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x4716e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x468]
push eax
call fcn.004195f2
lea eax, [ebp - 0x434]
push eax
call fcn.004195a3
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x458]
push eax
call fcn.0041937a
add esp, 0x10
cmp dword [ebx + 0x14], 0x10
jb 0x412e25
mov ebx, dword [ebx]
cmp dword [0x475938], 0x10
push ebx
push dword [esi]
mov eax, 0x475924
cmovae eax, dword [0x475924]
cmp dword [0x4758a8], 0x10
push eax
movzx eax, word [ebp - 0x460]
push eax
push dword [ebp - 0x458]
mov eax, dword [ebp - 0x448]
push dword [ebp - 0x454]
mov ecx, 0x475894
push dword [ebp - 0x450]
cmovae ecx, dword [0x475894]
push dword [ebp - 0x44c]
inc eax
push eax
mov eax, dword [ebp - 0x444]
add eax, 0x76c
push eax
push ecx
push 0xffffffffffffffff
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0041935b
add esp, 0x38
cmp byte [ebp - 0x410], 0
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], 0
mov byte [ebp - 0x42c], 0
jne 0x412ec2
xor ecx, ecx
jmp 0x412ed9
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
jmp 0x412ed0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412ed0
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x42c]
call fcn.004015c0
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x412efb
mov edi, dword [edi]
mov eax, dword [ebp - 0x46c]
push dword [eax]
lea eax, [ebp - 0x410]
push edi
push 0xffffffffffffffff
push 0x400
push eax
call fcn.00417b94
add esp, 0x14
cmp byte [ebp - 0x410], 0
jne 0x412f27
xor ecx, ecx
jmp 0x412f39
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412f30
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402780
lea edi, [esi + 8]
push edi
call fcn.00415457
add esp, 4
test eax, eax
je 0x412f65
push eax
call fcn.00415489
add esp, 4
lea eax, [ebp - 0x42c]
push eax
lea ecx, [esi + 0x10]
call fcn.00413a20
push edi
call fcn.00415468
add esp, 4
test eax, eax
je 0x412f8a
push eax
call fcn.00415489
add esp, 4
lea eax, [ebp - 0x414]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x412fc0
cmp dword [ebp - 0x414], 0x103
je 0x412fc0
push esi
push 4
push esi
push 0x413260
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp - 0x418], 0x10
jb 0x412fe0
push dword [ebp - 0x42c]
call fcn.0041572d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004163f4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4130e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44524b
mov eax, dword fs:[0]
push eax
mov eax, 0x10024
call fcn.00418dd0
mov eax, dword [0x4716e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x3c]
mov dword [esi + 0xc], eax
cmp ecx, edx
je 0x41312d
push 0xffffffffffffffff
push 0
push edx
call fcn.00401490
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x54], eax
push 0xffff
lea eax, [ebp - 0x10010]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10030], esp
push 7
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x461b74
mov byte [ecx], 0
call fcn.004015c0
sub esp, 0x18
mov ecx, esp
push 9
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.WRLOGFILE
mov dword [ebp - 4], 0
mov byte [ecx], 0
call fcn.004015c0
lea eax, [ebp - 0x1002c]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.00414670
add esp, 0x34
cmp dword [eax + 0x14], 0x10
jb 0x4131ae
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp dword [ebp - 0x10018], 0x10
mov edi, eax
jb 0x4131ce
push dword [ebp - 0x1002c]
call fcn.0041572d
add esp, 4
mov dword [ebp - 0x10018], 0xf
mov dword [ebp - 0x1001c], 0
mov byte [ebp - 0x1002c], 0
test edi, edi
je 0x413223
cmp byte [ebp - 0x10010], 0
mov byte [esi + 0x58], 1
jne 0x413206
xor ecx, ecx
push ecx
lea eax, [ebp - 0x10010]
push eax
jmp 0x41322e
lea ecx, [ebp - 0x10010]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413210
sub ecx, edx
push ecx
lea eax, [ebp - 0x10010]
push eax
jmp 0x41322e
push 0
mov byte [esi + 0x58], 0
push 0x4610a6
lea ecx, [esi + 0x5c]
call fcn.004015c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004163f4
mov esp, ebp
pop ebp
ret 0xc

Function at 0x413cb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 0xc]
mov dword [esi], vtable.CSplashScreenEx.0
call dword [sym.imp.USER32.dll_ShowWindow]
test byte [ebp + 8], 1
je 0x413cd6
push esi
call fcn.0041572d
add esp, 4
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x414120
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0x80
mov esi, ecx
push 0xffffffffffffffec
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowLongA]
test byte [esi + 0x24], 2
je 0x414162
mov eax, dword [esi + 4]
test eax, eax
je 0x414162
push 0x90000
push 0xc8
push dword [esi + 0xc]
call eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
push 0
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x4142c0
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4716e0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
push 0xa
push eax
push 0
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4142fa
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004163f4
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push 0x462108
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0xc]
push str.loader64.gif
mov ecx, 0x475954
mov dword [ebx + 0x20], str.loader64.gif
call fcn.0040c9c0
push str.AnimationGIFClass
push 0x40000000
push 0x475954
push 0x2b66
push dword [ebx + 0xc]
mov ecx, 0x4713cc
call fcn.0040c480
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004163f4
mov esp, ebp
pop ebp
ret 8
Function at 0x432642
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041f392
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x43267a
xor eax, eax
jmp 0x4326a6
cmp esi, dword [ebp - 4]
je 0x4326a3
cmp dword [ebp + 0xc], 0
je 0x4326a3
push dword [edi + 0x9c]
call fcn.00432250
push dword [edi + 0x9c]
mov esi, eax
call fcn.0041c639
pop ecx
pop ecx
cmp esi, eax
je 0x432676
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x4347e5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4716e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041c052
mov dword [ebp - 0x14], eax
cmp dword [0x476f08], edi
jne 0x4348d6
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x434863
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4349b6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4349b6
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4349b6
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x476f08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x476f0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x476f10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x476f18], eax
test eax, eax
je 0x4348d3
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x476f14], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4348fb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4348ee
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x434910
push 4
pop eax
jmp 0x4349b8
cmp dword [ebp - 0x14], edi
je 0x434910
push dword [0x476f08]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4348f5
mov eax, dword [0x476f14]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x43496e
cmp dword [0x476f18], esi
je 0x43496e
push eax
call ebx
push dword [0x476f18]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x43496e
test eax, eax
je 0x43496e
call ecx
test eax, eax
je 0x434963
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x434963
test byte [ebp - 8], 1
jne 0x43496e
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x43499e
mov eax, dword [0x476f0c]
cmp eax, esi
je 0x43499b
push eax
call ebx
test eax, eax
je 0x43499b
call eax
mov edi, eax
test edi, edi
je 0x43499b
mov eax, dword [0x476f10]
cmp eax, esi
je 0x43499b
push eax
call ebx
test eax, eax
je 0x43499b
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x476f08]
call ebx
test eax, eax
je 0x4349b6
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4349b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004163f4
leave
ret
Function at 0xe8a370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xe8a38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xeb3074
push ecx
mov edi, eax
call fcn.00e9e198
mov esi, eax
add esp, 8
test esi, esi
jne 0xe8a3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00e9e02e
push esi
call fcn.00e9dfb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0xe8d850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0xe8d8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0xeb8720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe8d8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.00e9e1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0xe8d8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0xeb8720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0xe8d92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00e9f082
xor esi, esi
add esp, 8
cmp eax, esi
je 0xe8d957
mov word [eax], si
add eax, 2
push eax
call fcn.00e9f030
add esp, 4
jmp 0xe8d959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0xe8d8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0xe8d8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0xe8dff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xe8e080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0xe8e0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0xeb3458
push ecx
call fcn.00e9e1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.00e9e1e1
add esp, 0x10
jmp 0xe8e0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00e9e20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00e9ddff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00e8e050
mov eax, dword [0xeb8728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0xe8e13b
push esi
call fcn.00e8dfb0
add esp, 4
mov dword [0xeb8728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0xe8e14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00e8dff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0xe91440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0xe914b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0xe9148e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0xe91471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0xe9147e
add edx, ecx
cmp ebx, edx
jb 0xe9148a
inc edi
add eax, 0x28
cmp edi, esi
jb 0xe91467
xor ecx, ecx
jmp 0xe914a2
test eax, eax
jne 0xe91492
xor ecx, ecx
jmp 0xe914a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.00e913c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0xe918f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xe91921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0xe91946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0xe9196e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0xe91993
push ecx
push esi
call fcn.00e914c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret