joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b470
Capabilities:
Create directory
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x508659
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebp
push esi
push edi
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x170], esi
call fcn.004e366d
push 0x550398
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 1
call fcn.004e55b7
push 0x5c
lea ecx, [esp + 0x17c]
mov byte [esp + 0x174], 2
call fcn.004dfa7b
mov ecx, dword [esp + 0x178]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov eax, dword [esp + 0x28]
cmp eax, 0x10
jne 0x43b523
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0xc]
mov byte [esp + 0x170], 1
call fcn.004e5549
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call fcn.004e36a0
mov dword [esp + 0x170], 0xffffffff
jmp 0x43b669
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x1c]
call fcn.004e3700
mov eax, dword [esp + 0x178]
cmp dword [eax - 8], esi
jle 0x43b59c
mov al, byte [esi + eax]
cmp al, 0x5c
je 0x43b54d
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x10]
push edx
jmp 0x43b562
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004e3942
push 0x5c
lea ecx, [esp + 0x10]
call fcn.004e594c
mov eax, dword [esp + 0x178]
mov ecx, dword [eax - 8]
dec ecx
cmp esi, ecx
jne 0x43b594
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.004e3942
mov eax, dword [esp + 0x178]
mov ecx, dword [eax - 8]
inc esi
cmp esi, ecx
jl 0x43b53b
mov ebp, dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call ebp
mov eax, dword [esp + 0x1c]
mov esi, 1
cmp eax, esi
jle 0x43b610
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043b6f0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x174], 3
call fcn.004e5682
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 2
call fcn.004e5549
mov edx, dword [esp + 0xc]
push 0
push edx
call edi
test eax, eax
je 0x43b607
mov eax, dword [esp + 0xc]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x1c]
inc esi
cmp esi, eax
jl 0x43b5b8
mov edx, dword [esp + 0x178]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
or edi, 0xffffffff
lea ecx, [esp + 0x14]
push edi
push 0
mov esi, eax
call fcn.004e3700
mov eax, dword [esp + 0x28]
push esi
cmp eax, 0x10
jne 0x43b692
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x170], 1
call fcn.004e5549
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call fcn.004e36a0
mov dword [esp + 0x170], edi
lea ecx, [esp + 0x178]
call fcn.004e5549
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
add esp, 0x168
ret
call ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x170], 1
call fcn.004e5549
lea ecx, [esp + 0x14]
mov byte [esp + 0x170], 0
call fcn.004e36a0
lea ecx, [esp + 0x178]
mov dword [esp + 0x170], edi
call fcn.004e5549
mov ecx, dword [esp + 0x168]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x168
ret
Function at 0x43da80
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x508910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
lea eax, [esp + 8]
push esi
mov esi, ecx
push eax
call fcn.0043d8b0
add esp, 4
mov ecx, dword [0x54a6a4]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc]
mov byte [esp + 0x18], 1
mov ecx, dword [eax - 8]
mov dl, byte [ecx + eax - 1]
mov ecx, 0x53c738
cmp dl, 0x5c
jne 0x43dad8
mov ecx, 0x550398
push ecx
push eax
lea edx, [esp + 0x10]
push 0x53dd94
push edx
call fcn.004df8fd
mov eax, dword [esp + 0x18]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x43db0c
push 0xffffffffffffffff
push 0x10
push 0xe043
jmp 0x43dbc6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x53dd7c
push eax
call edi
mov ecx, dword [esi + 4]
push 0x53dd64
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 4]
push 0x53dd38
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
push 0x53dd20
push eax
call edi
mov ecx, dword [esi + 4]
push 0x53dd0c
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 4]
push 0x53dcf4
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push 0x53dcd8
push eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 8]
cmp eax, ebx
pop edi
je 0x43dbbd
cmp dword [esi + 0x10], ebx
je 0x43dbbd
cmp dword [esi + 0xc], ebx
je 0x43dbbd
cmp dword [esi + 0x24], ebx
je 0x43dbbd
lea ecx, [esp + 8]
mov byte [esp + 0x18], bl
call fcn.004e5549
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.004e5549
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push 0xffffffffffffffff
push 0x10
push 0xe044
call fcn.004f0f4c
lea ecx, [esp + 8]
mov byte [esp + 0x18], bl
call fcn.004e5549
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.004e5549
mov ecx, dword [esp + 0x10]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43f260
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
xor ebx, ebx
push edi
push ebx
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x43f28e
pop edi
pop esi
mov eax, ebx
mov edx, ebx
pop ebp
pop ebx
add esp, 0xc
ret
push edi
call fcn.004b5efe
mov esi, eax
add esp, 4
test esi, esi
jne 0x43f2a9
pop edi
pop esi
mov eax, ebx
mov edx, ebx
pop ebp
pop ebx
add esp, 0xc
ret
push esi
push edi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x43f2cc
push esi
call fcn.004b5e15
add esp, 4
mov eax, ebx
mov edx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0x53c738
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x43f2fa
push esi
call fcn.004b5e15
add esp, 4
mov eax, ebx
mov edx, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x20]
push esi
mov edx, dword [eax + 0x10]
mov cx, word [eax + 0x10]
shr edx, 0x10
mov word [esp + 0x18], dx
mov edx, dword [eax + 0x14]
mov ax, word [eax + 0x14]
mov word [esp + 0x1a], cx
shr edx, 0x10
mov word [esp + 0x1c], dx
mov word [esp + 0x1e], ax
call fcn.004b5e15
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x447210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5094b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [esp + 0x54]
xor ebx, ebx
mov esi, ecx
cmp edi, ebx
mov dword [esp + 0xc], ebx
je 0x4472f2
mov al, byte [esp + 0x50]
push ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.004160d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], ebx
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], edi
call fcn.004474d0
lea edx, [esp + 0x2c]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x50], 1
call fcn.00447640
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00447d00
mov esi, dword [esp + 0x14]
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], bl
call fcn.004160d0
push 1
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004160d0
mov cl, byte [esi + 0x10]
lea eax, [esi + 0x10]
mov esi, dword [esp + 0x50]
mov byte [esi], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [0x511cdc]
mov ecx, esi
push edx
push ebx
push eax
call fcn.00415dd0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 8
mov al, byte [esp + 0x50]
push ebp
mov ebp, dword [esp + 0x54]
mov edi, 0x550398
or ecx, 0xffffffff
push 1
mov byte [ebp], al
xor eax, eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, ebp
push esi
mov dword [esp + 0x5c], esi
call fcn.00416820
test al, al
je 0x44734d
mov edi, dword [ebp + 4]
mov ecx, esi
mov edx, ecx
mov esi, 0x550398
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], eax
mov byte [eax + ecx], bl
mov ecx, dword [esp + 0x44]
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 8
Function at 0x449630
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x509857
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x550398
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.004e55b7
xor esi, esi
mov dword [esp + 0x64], 1
mov si, word [0x550e14]
call fcn.004fa7f5
mov eax, dword [eax + 0xc]
push 0x53e3f4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
call fcn.004fa7f5
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
call fcn.004fa7f5
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
lea esi, [edi + 0x50]
push ebp
push eax
mov ecx, esi
call fcn.0044c3c0
mov al, byte [esp + 0x70]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x28], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov cl, byte [esp + 0x70]
push ebx
mov byte [esp + 0x3c], cl
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 2
call fcn.004160d0
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 3
mov dword [esp + 0x4c], edx
call fcn.004474d0
lea ecx, [esp + 0x48]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x6c], 4
call fcn.00449c10
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00449e50
mov esi, dword [esp + 0x20]
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 3
call fcn.004160d0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 2
call fcn.004160d0
lea eax, [esi + 0x10]
mov edx, dword [0x511cdc]
lea ecx, [esp + 0x28]
push edx
push ebx
push eax
call fcn.00415dd0
mov esi, dword [esp + 0x6c]
mov al, byte [esp + 0x28]
lea edx, [esp + 0x28]
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x511cdc]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00415dd0
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4497b4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4497ab
cmp al, 0xff
je 0x4497ab
dec al
mov byte [ecx], al
jmp 0x4497b4
push ecx
call fcn.004e5c43
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x64], bl
call fcn.004e5549
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 8
Function at 0x44a3d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x509914
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push esi
push edi
mov edi, dword [esp + 0x14c]
xor ebx, ebx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x144], ebx
call fcn.004e55b7
lea ecx, [esp + 0xc]
push 4
push ecx
mov ecx, eax
mov byte [esp + 0x148], 1
call fcn.004df40b
mov eax, dword [eax]
push 0x53e42c
push eax
call fcn.004b6651
add esp, 8
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.004e5549
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], bl
call fcn.004e5549
cmp esi, ebx
je 0x44a520
push 5
push ebx
push ebx
push edi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, eax
cmp edx, 0x20
jge 0x44a53c
cmp edx, 0x1f
jne 0x44a4af
push ebx
lea ecx, [esp + 0x18]
call fcn.0044e230
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 2
call fcn.004e4ec8
lea ecx, [esp + 0x70]
mov byte [esp + 0x140], 3
call fcn.0044a6a0
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], bl
call fcn.004e4a0e
jmp 0x44a53c
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x14]
push ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push 0xff
push eax
push 0x400
push edx
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [0x54a6a4]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
push 0x6f00
push eax
mov byte [esp + 0x14c], 4
call fcn.004df9a5
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ebx
push ebx
push ecx
call fcn.004f0f14
lea ecx, [esp + 0xc]
mov byte [esp + 0x140], bl
call fcn.004e5549
jmp 0x44a53c
mov edx, dword [esp + 0x154]
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x148]
push edx
push eax
call fcn.004eb62d
lea ecx, [esp + 0x158]
mov dword [esp + 0x140], 0xffffffff
call fcn.004e5549
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret

Function at 0x44b070
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x509a48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x44b124
mov eax, dword [0x54a6a4]
push esi
mov dword [esp + 8], eax
push 0x410
push 0x410
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004e5979
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004e59c8
push 0x53e450
lea ecx, [esp + 0xc]
call fcn.004e5925
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x44b10b
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x44b10b
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x68], eax
mov dword [edi + 0xc4], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004e5549
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44b3b0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x824
test eax, eax
je 0x44b3d5
mov eax, dword [esp + 0x828]
push eax
call fcn.0044b4d0
add esp, 4
add esp, 0x824
ret
lea ecx, [esp + 4]
push edi
push ecx
push 0x53d420
push SysReAllocStringLen
call fcn.0044b140
add esp, 0xc
test eax, eax
jne 0x44b49a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push 0x53d40c
push edx
call edi
lea eax, [esp + 8]
lea ecx, [esp + 8]
push eax
push ecx
push SysReAllocStringLen
call fcn.0044b140
add esp, 0xc
test eax, eax
jne 0x44b4c3
push esi
lea edx, [esp + 0xc]
push 0x53d404
push edx
call fcn.004b69e1
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b468
lea eax, [esp + 0xc]
push 0x53d400
push eax
call fcn.004b5cf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44b468
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xb]
jmp 0x44b46b
mov byte [esi], 0
push 0x53ccbc
push esi
call edi
mov edx, dword [esp + 0x830]
push edx
push esi
call edi
mov eax, dword [esp + 0x834]
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
pop esi
pop edi
add esp, 0x824
ret
mov edx, dword [esp + 0x830]
mov eax, dword [esp + 0x82c]
push edx
push 0
push 0
push eax
push 0x53d458
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
add esp, 0x824
ret
mov eax, dword [esp + 4]
pop edi
add esp, 0x824
ret

Function at 0x44b4d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x509a98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x18]
push esi
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.004e55b7
push 0x53e768
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.004e55b7
mov byte [esp + 0x18], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esp + 8]
push 0x40
mov edi, eax
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x24]
call fcn.004e5a6a
cmp eax, 0xffffffff
je 0x44b596
push ebx
lea edx, [esp + 0x10]
push esi
push edx
lea ecx, [esp + 0x2c]
call fcn.004df487
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
push eax
call fcn.004b632d
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e5549
test bl, bl
pop ebx
je 0x44b596
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.004e5778
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 2
call fcn.004e5682
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call fcn.004e5549
mov edx, dword [esp + 0x20]
push 5
push 0x550398
push 0
push edx
push 0x53d458
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x18], 0
call fcn.004e5549
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.004e5549
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4571d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50a3e8
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x38]
push esi
push edi
push ebx
mov edi, ecx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push ebp
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
cmp eax, ebx
je 0x457270
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x457295
mov ebp, 0x516df0
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x38], ebx
call fcn.00457510
mov byte [esp + 0x38], al
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x10], ebp
je 0x45726a
cmp byte [esp + 0x1c], bl
je 0x45726a
push eax
call fcn.004b5e15
add esp, 4
mov al, byte [esp + 0x38]
jmp 0x457297
lea edx, [edi + 0x44]
mov edi, 0x53e99c
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]
xor al, al
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x476de0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x476deb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x476eee
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x5171c0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5171c0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5171c0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5171c0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5171c0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x5171c0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x5171c0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5171c0]
xor eax, edx
inc ecx
dec edi
jne 0x476e06
pop edi
test esi, esi
je 0x476f10
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x5171c0]
xor eax, edx
inc ecx
dec esi
jne 0x476ef2
pop esi
pop ebx
not eax
ret
Function at 0x478340
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 8
cmp eax, 3
push ebx
push esi
jne 0x4783a9
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov cx, word [eax + 0x118]
test cx, cx
jne 0x47836b
test byte [eax + 0x230], 1
jne 0x478388
movzx si, byte [edx]
cmp si, cx
jbe 0x478388
push 0x541208
push eax
call fcn.0046f270
add esp, 8
pop esi
pop ebx
add esp, 8
ret
mov cl, byte [edx]
push 1
mov byte [esp + 0xc], cl
lea edx, [esp + 0xc]
push edx
push str.bKGD
push eax
call fcn.00476fa0
add esp, 0x10
pop esi
pop ebx
add esp, 8
ret
test al, 2
je 0x478421
mov esi, dword [esp + 0x18]
xor eax, eax
lea ecx, [esp + 8]
mov ax, word [esi + 2]
push eax
push ecx
call fcn.00476f80
xor edx, edx
lea eax, [esp + 0x12]
mov dx, word [esi + 4]
push edx
push eax
call fcn.00476f80
xor ecx, ecx
lea edx, [esp + 0x1c]
mov cx, word [esi + 6]
push ecx
push edx
call fcn.00476f80
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp byte [eax + 0x127], 8
jne 0x47841a
mov cl, byte [esp + 0xc]
mov bl, byte [esp + 0xa]
mov dl, byte [esp + 8]
or cl, bl
or cl, dl
je 0x47841a
push 0x5411c8
push eax
call fcn.0046f270
add esp, 8
pop esi
pop ebx
add esp, 8
ret
push 6
jmp 0x478390
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
xor eax, eax
mov edx, 1
mov ax, word [ecx + 8]
mov cl, byte [esi + 0x127]
shl edx, cl
cmp eax, edx
jl 0x478454
push 0x541188
push esi
call fcn.0046f270
add esp, 8
pop esi
pop ebx
add esp, 8
ret
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00476f80
lea ecx, [esp + 0x10]
push 2
push ecx
push str.bKGD
push esi
call fcn.00476fa0
add esp, 0x18
pop esi
pop ebx
add esp, 8
ret