joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd42250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xd56808
push 0xd46288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xd42329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xd42329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00d451d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xd42329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xd42329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xd4232c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00d42351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xd42d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xd42d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xd42d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xd42d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xd42d94
push eax
push esi
call fcn.00d4520b
add esp, 8
pop esi
ret 0x10

Function at 0xd42da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xd42e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xd42e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xd5b320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00d44dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xd42dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xd42e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xd42ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xd42eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xd5b320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00d44dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xd42eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xd42e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xd43000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xd43131
push esi
call fcn.00d46145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00d35080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xd43131
push 0
push ebp
call fcn.00d353a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00d35260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xd4308b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00d352f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xd43121
push 0xd5b918
push edi
call fcn.00d443f0
push eax
push ebx
push esi
call fcn.00d42f60
push 0xd5b8f8
push edi
call fcn.00d443f0
push eax
push ebx
push esi
call fcn.00d42f60
push 0xd5b8d8
push edi
call fcn.00d443f0
push eax
push ebx
push esi
call fcn.00d42f60
push 0xd5b8c0
push edi
call fcn.00d443f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00d42f60
push 0xd5b8a0
push edi
call fcn.00d443f0
push eax
push ebx
push esi
call fcn.00d42f60
push 0xd5b888
push edi
call fcn.00d443f0
push eax
push ebx
push esi
call fcn.00d42f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xd441b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00d44140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00d44140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00d44140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00d44140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xd44bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xd44c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xd5687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xd44c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xd44c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x406740
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4159ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x404a14
call fcn.004073a1
push 4
mov dword [esp + 0x18], 0
call fcn.004080d7
mov edi, eax
add esp, 4
test edi, edi
je 0x4067b4
push ebx
call fcn.00407279
mov dword [edi], eax
call fcn.00407038
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00407362
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4067a8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.0040738a
pop ebx
jmp 0x4067b6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408b51
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x419510]
jne 0x408b5b
repz ret
jmp fcn.0040cd5c
Function at 0x410e73
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419510]
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.0040af16
and dword [ebp - 0x14], 0
cmp dword [0x431d50], 0
mov dword [ebp - 0x18], eax
jne 0x410f26
push 0x4038cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410fce
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4038c0
push ebx
call edi
test eax, eax
je 0x410fce
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4038b0
push ebx
mov dword [0x431d50], eax
call edi
push eax
call esi
push 0x40389c
push ebx
mov dword [0x431d54], eax
call edi
push eax
call esi
push 0x403880
push ebx
mov dword [0x431d58], eax
call edi
push eax
call esi
mov dword [0x431d60], eax
test eax, eax
je 0x410f26
push 0x403868
push ebx
call edi
push eax
call esi
mov dword [0x431d5c], eax
mov eax, dword [0x431d5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x410f7f
cmp dword [0x431d60], ecx
je 0x410f7f
push eax
call esi
push dword [0x431d60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x410f7f
test ebx, ebx
je 0x410f7f
call edi
test eax, eax
je 0x410f76
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x410f76
test byte [ebp - 8], 1
jne 0x410f7f
or dword [ebp + 0x10], 0x200000
jmp 0x410fb2
mov eax, dword [0x431d54]
cmp eax, dword [ebp - 0x18]
je 0x410fb2
push eax
call esi
test eax, eax
je 0x410fb2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x410fb2
mov eax, dword [0x431d58]
cmp eax, dword [ebp - 0x18]
je 0x410fb2
push eax
call esi
test eax, eax
je 0x410fb2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x431d50]
call esi
test eax, eax
je 0x410fce
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410fd0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408b51
leave
ret
Function at 0x4135f0
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x100c
call fcn.004119e0
cmp dword [0x7b5aec], 0x37
jne 0x41368a
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
lea eax, [esp + 0x810]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov ecx, dword [0x7b6ae0]
mov dword [esp], ecx
mov eax, 0x5d1
add dword [esp], eax
mov edx, dword [esp]
mov al, byte [edx + esi]
mov ecx, dword [0x436b3c]
mov byte [ecx + esi], al
add esp, 0x100c
ret
Function at 0x413910
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b5aec]
sub esp, 0x974
push ebx
push ebp
push esi
mov esi, dword [0x436b3c]
push edi
shr eax, 3
xor edi, edi
cmp eax, edi
jbe 0x413b0f
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
jmp 0x413946
mov esi, dword [esp + 0x20]
xor edi, edi
cmp dword [0x7b5aec], 0x1c
jne 0x41395d
lea eax, [esp + 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [0x42d9b8]
mov ebx, dword [0x42d9c0]
mov ebp, dword [0x42d9c4]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x42d9bc]
mov dword [esp + 0x18], eax
mov esi, 0xc6ef3720
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0x20
jmp 0x4139a6
mov eax, dword [esp + 0x18]
xor edi, edi
mov edx, eax
shr edx, 5
add edx, ebp
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x1c], edx
add ecx, ebx
lea edx, [esi + eax]
xor ecx, edx
mov dword [esp + 0x10], ecx
mov dword [0x7b5a5c], edi
mov eax, dword [esp + 0x1c]
add dword [0x7b5a5c], eax
mov eax, dword [0x7b5a5c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x34]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
cmp dword [0x7b5aec], 0x1be
mov eax, dword [esp + 0x14]
lea edi, [esi + eax]
jne 0x413a3d
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov eax, dword [esp + 0x14]
shr eax, 5
add eax, dword [esp + 0x2c]
cmp dword [0x7b5aec], 0x979
mov dword [0x7b5a60], 0xff6b3619
mov dword [0x7b5a64], 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x413a87
push 0
lea ecx, [esp + 0x184]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
xor dword [esp + 0x10], edi
mov eax, dword [esp + 0x1c]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub dword [esp + 0x18], eax
mov eax, dword [0x7b5aec]
cmp eax, 0x93
je 0x413aad
add esi, 0x61c88647
dec dword [esp + 0x28]
jne 0x4139a0
cmp eax, 0x8d4
jne 0x413ac4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp dword [0x7b5aec], 0x17
jne 0x413afe
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea edx, [esp + 0x40]
push edx
push 0x404070
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x20], esi
jne 0x413940
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x974
ret
Function at 0x4037fe
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x403827
cmp al, 0x22
je 0x40381f
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x403813
cmp byte [esi], 0x22
jne 0x403831
inc esi
jmp 0x403831
cmp al, 0x20
jle 0x403831
inc esi
cmp byte [esi], 0x20
jg 0x40382b
mov al, byte [esi]
test al, al
je 0x40383b
cmp al, 0x20
jle 0x403824
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004038a9
push 0x405004
push section..data
call fcn.0040388f
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40386b
movzx eax, word [ebp - 0x14]
jmp 0x40386e
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004038c1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40118b
Capabilities:
Get file size

Disassembly:
jmp 0x4020e1
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push str.GetModuleFileNameW
mov edi, ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jmp 0x40216f
nop
push eax
call esi
push 0x104
push edi
push 0
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, 0x4077e8
push str.CreateFileW
push ebp
call ebx
push eax
call esi
push str.ReadFile
push ebp
mov dword [esp + 0x18], eax
call ebx
push eax
call esi
xor ebx, ebx
mov ebp, eax
push ebx
push ebx
push 3
push ebx
push 1
jmp 0x4022fb
push edi
call dword [esp + 0x2c]
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [esp + 0x14]
push ebx
push ecx
add edi, 0xcb2
push eax
push edi
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x4020fe
push 0x80000000
jmp 0x402141
Function at 0x403200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x403151
movzx ecx, word [edx + 0x26]
jmp 0x403160
xor edi, edi
nop
mov esi, dword [edx + 0x28]
jmp 0x403176
xor eax, eax
nop
jmp 0x403188
lodsb al, byte [esi]
nop
jmp 0x40319b
cmp al, 0x61
jmp 0x4031ab
jl 0x4031b0
nop
sub al, 0x20
ror edi, 0xd
nop
jmp 0x4031c2
add edi, eax
nop
dec ecx
jne 0x403176
nop
jmp 0x4031d7
nop
push edx
nop
jmp 0x4031e6
push edi
nop
jmp 0x4031f3
mov edx, dword [edx + 0x10]
mov eax, dword [edx + 0x3c]
nop
add eax, edx
nop
mov eax, dword [eax + 0x78]
jmp 0x403210
test eax, eax
nop
jmp 0x403222
je 0x4033a8
nop
add eax, edx
nop
push eax
nop
mov ecx, dword [eax + 0x18]
nop
jmp 0x403241
mov ebx, dword [eax + 0x20]
nop
add ebx, edx
nop
jmp 0x403255
jmp 0x403262
test ecx, ecx
je 0x4033a6
nop
nop
xor edi, edi
dec ecx
nop
mov esi, dword [ebx + ecx*4]
nop
jmp 0x40327f
add esi, edx
nop
xor eax, eax
nop
jmp 0x403292
lodsb al, byte [esi]
jmp 0x4032a4
ror edi, 0xd
add edi, eax
jmp 0x4032b6
cmp al, ah
nop
jmp 0x4032c5
jne 0x403282
jmp 0x4032dc
add edi, dword [ebp - 8]
nop
cmp edi, dword [ebp + 0x24]
jmp 0x4032f3
jne 0x403255
nop
pop eax
nop
jmp 0x403308
mov ebx, dword [eax + 0x24]
nop
jmp 0x403320
add ebx, edx
nop
jmp 0x403331
mov cx, word [ebx + ecx*2]
nop
mov ebx, dword [eax + 0x1c]
jmp 0x403348
add ebx, edx
mov eax, dword [ebx + ecx*4]
nop
add eax, edx
mov dword [esp + 0x24], eax
jmp 0x403367
pop ebx
nop
pop ebx
nop
jmp 0x40337b
popal
nop
pop ecx
nop
pop edx
jmp 0x403393
push ecx
nop
jmp 0x4033a4
jmp eax
nop
pop eax
nop
pop edi
pop edx
nop
mov edx, dword [edx]
jmp 0x403143
Function at 0x402b20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f866
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x44d084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x402bcc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x402bcc
call fcn.00401f10
mov edi, eax
jmp 0x402ceb
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x402bef
call fcn.00401f10
jmp 0x402cde
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x402c0d
call fcn.00401f10
jmp 0x402cde
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x402c2e
mov edi, 0x8007000e
jmp 0x402ce0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x402d24
jb 0x402c4c
cmp eax, 0xffffffff
ja 0x402d24
cmp eax, 0x400
jbe 0x402c61
push eax
lea ecx, [ebp - 0x418]
call fcn.00401d90
jmp 0x402c87
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x402c87
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x402c9e
mov edi, 0x8007000e
jmp 0x402ce0
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x402cbe
call fcn.00401f10
jmp 0x402cde
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00402980
mov edi, eax
test esi, esi
je 0x402ceb
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x402d04
lea ecx, [ebp - 0x418]
call fcn.00402150
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004053e1
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00401f50
int3
Function at 0x42a9b1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042a18b

Function at 0x42a9bc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042a3c6

Function at 0x42b993
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042b71a