joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a5b
Capabilities:
Hide graphical window

Disassembly:
push ebp
push esp
pop ebp
cmp dword [ebp + 0xc], 0
push edi
mov edi, 0x4c67b0
jne 0x43c41c
mov ecx, dword [0x4c681c]
cmp ecx, 0xffffffff
je 0x402af4
mov eax, dword [0x4c6810]
xor edx, edx
push esi
mov eax, dword [eax + ecx*4]
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp + 0xc], ecx
cmp byte [esi + 0x3a], dl
je 0x402a9f
mov byte [esi + 0x3a], dl
cmp dword [esi + 0x18c], edx
jge 0x43c433
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0x43c475
je 0x402ac7
or edi, edi
je 0x402b15
cmp edi, 1
je 0x402ac7
cmp edi, 2
je 0x402b0c
cmp edi, 3
je 0x402b03
jle 0x402aeb
cmp edi, 5
jg 0x402af8
cmp byte [esi + 0x38], 0
jne 0x402b23
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 8
je 0x402ae7
cmp edi, 4
je 0x402ae7
push dword [ebp + 0xc]
call fcn.00404a35
mov byte [esi + 0x38], 1
sub eax, eax
inc eax
pop esi
pop edi
pop ebp
ret 8
sub eax, eax
jmp 0x402aef
cmp edi, 6
je 0x43c45d
jmp 0x402aeb
mov byte [esi + 0x38], 1
jmp 0x43c4ca
mov byte [esi + 0x38], 1
jmp 0x43c45d
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x38], 0
jmp 0x402aeb
sub eax, eax
jmp 0x402aee
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00402612
push eax
pop ecx
mov dword [0x4c681c], ecx
jmp 0x402a74
cmp byte [esi + 0x198], dl
je 0x402a9f
push dword [esi + 0x194]
push edi
pop ecx
push esi
call fcn.0048b958
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov byte [esi + 0x198], dl
jmp 0x402a9f
cmp byte [esi + 0x38], 0
je 0x402b23
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402aeb
mov eax, edi
sub eax, 9
je 0x43c4ca
sub eax, 0x37
je 0x43c4bc
dec eax
je 0x43c4b9
dec eax
je 0x43c4a9
dec eax
jne 0x402aeb
push edx
mov byte [esi + 0x39], dl
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push 1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x402aeb
push ecx
mov byte [esi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x402aeb
push edx
jmp 0x43c4be
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402aeb
cmp byte [esi + 0x38], 0
je 0x402b23
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
call fcn.00404a35
jmp 0x402aeb
Function at 0x4035b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
je 0x40362f
mov esi, dword [ebp + 0x10]
or esi, esi
je 0x40362f
xor eax, eax
sub ebx, ebx
mov word [esi], ax
lea eax, [ebp - 8]
push eax
push 1
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or eax, eax
jne 0x40362f
mov eax, dword [ebp + 0xc]
push edi
lea edi, [eax + eax]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push esi
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or eax, eax
jne 0x403614
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jae 0x403626
xor ecx, ecx
mov word [esi + eax*2], cx
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret
xor eax, eax
mov word [edi + esi - 2], ax
jmp 0x403612
xor al, al
jmp 0x403620
Function at 0x403b4c
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2002c
call fcn.00431b90
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004077c7
sub eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 6], al
mov byte [ebp - 5], al
lea eax, [ebp - 0x1002c]
push eax
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 7]
push eax
push dword [ebp + 8]
call fcn.00403778
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
or eax, eax
jne 0x43d4ad
mov eax, dword [0x4c62e0]
or eax, eax
je 0x403c97
sub edi, edi
mov esi, 0x4c7290
inc edi
cmp eax, edi
je 0x43d4c7
lea eax, [ebp - 6]
push eax
push ecx
push 0x4c62e0
push 0x4c62f8
push esi
pop ecx
call fcn.004073e5
test al, al
je 0x403ca0
mov al, byte [0x4c7290]
mov byte [0x4c62e4], al
mov al, byte [0x4c7291]
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2002c]
push eax
push 0x7fff
push dword [0x4c62f8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [ebp - 0xc]
mov ecx, 0x4c62d0
call fcn.00407d2c
mov al, byte [ebp - 6]
mov dword [ebp - 0xc], eax
push dword [0x4c62e0]
push 0x4c62f8
call fcn.00410a8d
or eax, eax
jne 0x43d4e6
cmp byte [ebp - 5], 1
je 0x43d505
call fcn.00403a58
call fcn.004039e7
cmp byte [0x4c62e4], 0
jne 0x403c55
mov ecx, 0x4c6890
call fcn.004043db
push edi
mov ecx, 0x4c6310
call fcn.00410b30
cmp byte [0x4c62e4], 0
jne 0x403c73
mov ecx, 0x4c6890
call fcn.004044cb
mov ecx, esi
call fcn.0040743b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call fcn.00405a64
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
or dword [0x4c627c], 0xffffffff
jmp 0x403c7a
mov dword [0x4c627c], edi
jmp 0x403c7a
push 0x10
push 0x4b93f0
push str.This_is_a_third_party_compiled_AutoIt_script.
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403c87
push 0xffffffffffffffff
push dword [0x4c62e8]
push esi
pop ecx
push edi
call fcn.00407373
mov al, byte [0x4c6284]
mov byte [0x4c7292], al
jmp 0x403c16
push esi
pop ecx
call fcn.0040743b
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4c627c], edi
jmp 0x403c87
call fcn.00464c03
test al, al
jne 0x403c38
cmp byte [ebp - 7], al
jne 0x403c38
lea ecx, [ebp - 0x2c]
call fcn.00404864
push 0x4b5d40
lea ecx, [ebp - 0x1c]
call fcn.00407f41
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
test al, al
je 0x43d55f
mov edi, 0x4b9424
push edi
call fcn.00407e0b
push 0x4c62f8
lea ecx, [ebp - 0x1c]
call fcn.00407c8e
push edi
lea ecx, [ebp - 0x1c]
call fcn.00407e0b
push 1
jmp 0x43d568
push dword [ebp + 8]
call fcn.00407e0b
push edi
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x4b9428
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.00405a64
jmp 0x403c73
Function at 0x404a35
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [ebp + 8]
mov esi, eax
cmp ebx, esi
jne 0x43da81
xor eax, eax
inc eax
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret 4
push edi
xor edi, edi
test esi, esi
jne 0x43da96
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43daaa
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43db85
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
push 1
push edi
push dword [ebp + 8]
call esi
push 1
push dword [ebp - 4]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43db61
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 8]
test eax, eax
je 0x43db66
push 4
jmp 0x43db63
push 3
pop ebx
jmp 0x43db69
mov ebx, dword [ebp - 0xc]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call esi
push 0
push edi
push dword [ebp + 8]
call esi
push 0
push dword [ebp - 4]
push edi
call esi
jmp 0x43db88
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x404a53
Function at 0x404fe9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x10]
push ebx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x405021
push edi
push 0
push 0x48faf0
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x43dd5c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x405020
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
pop edi
test edi, edi
je 0x405020
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x405020
mov ecx, dword [ebx]
push 0
push edi
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x10]
mov eax, dword [ebx]
sub edx, edx
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov byte [esi + 0x14], 1
jmp 0x405020
Function at 0x405d20
Capabilities:
Read file on windows

Disassembly:
push ebp
push esp
pop ebp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x405d93
mov ebx, dword [ebp + 0xc]
sub edi, edi
test ebx, ebx
je 0x405d56
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x405d66
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
inc edi
inc dword [esi + 0xc]
cmp edi, ebx
jb 0x405d37
add dword [esi + 0x10], edi
push edi
pop eax
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
pop ebp
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 0x10000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
or eax, eax
je 0x405d56
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x405d56
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x405d3f
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00405dae
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x405d2e
Function at 0x415e58
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x415e80
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x415e72
pop edi
pop esi
pop ebp
ret 4
Function at 0x42023b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
sub edx, edx
push ebx
sub ebx, ebx
mov dword [ebp - 4], edx
push esi
inc ebx
mov dword [ebp - 0x10], edx
push edi
cmp dword [eax + 4], edx
je 0x455d4d
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov byte [eax], dl
mov eax, dword [ebp + 0x10]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x14]
mov dword [edi], edx
push edx
pop edi
mov byte [eax], dl
mov dword [ebp - 0xc], 0x2b
mov byte [ecx], dl
mov dword [ebp - 8], 0x23
push edi
push esi
pop ecx
call fcn.00407b20
push 0x2b
pop ecx
push 0x5e
movzx eax, word [eax]
cmp ax, cx
pop ecx
push 0x21
pop edx
je 0x455d54
cmp ax, cx
je 0x455d54
cmp ax, dx
je 0x455d54
cmp ax, word [ebp - 8]
je 0x455d54
push edi
inc edi
mov ecx, esi
mov dword [ebp + 0x1c], edi
call fcn.00407b20
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x455dcf
push 0x40
lea ecx, [ebp - 0x20]
call fcn.00407b76
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x7d
call fcn.00420352
test al, al
je 0x42034e
push dword [ebp - 0x20]
push dword [esi*4 + 0x4a4cf0]
call fcn.0042313d
pop ecx
pop ecx
or eax, eax
je 0x42031a
inc esi
cmp esi, 0x63
jl 0x4202ff
cmp esi, 0x63
je 0x455d86
cmp byte [esi + 0x4a4c88], 0
jne 0x42034e
movzx eax, byte [esi + str._f_b_b..__reepqrstuvwxyz________t___]
mov dword [edi], eax
lea ecx, [ebp - 0x20]
call fcn.00405a64
and dword [edi], 0xff
mov al, bl
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret 0x18
xor bl, bl
jmp 0x420335
lea ecx, [ebp - 0x20]
call fcn.00405a64
xor al, al
jmp 0x420345
cmp ax, word [ebp - 0xc]
jne 0x455d5f
mov eax, dword [ebp + 0x10]
jmp 0x455d7e
cmp ax, cx
jne 0x455d69
mov eax, dword [ebp + 0x14]
jmp 0x455d7e
cmp ax, dx
jne 0x455d73
mov eax, dword [ebp + 0x18]
jmp 0x455d7e
push 0x23
pop ecx
cmp ax, cx
jne 0x455d80
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
inc edi
jmp 0x420287
push 0
lea ecx, [ebp - 0x20]
call fcn.00407b52
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x455d45
test eax, 0x200
je 0x455dae
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x455dba
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x420335
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x420335
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x455d4d
test eax, 0x200
je 0x455dee
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x455dfa
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x42033d
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x42033d
Function at 0x4203a2
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
push ecx
pop edi
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret

Function at 0x420bd0
Capabilities:
Print debug messages

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x18
mov al, byte [0x4c6283]
push ebx
push esi
push edi
push ecx
pop esi
mov byte [ebp - 1], al
push 0x8000
push esi
push edx
pop edi
call fcn.00424916
pop ecx
push eax
call fcn.00424744
cmp dword [edi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0x456305
lea ecx, [ebp - 0x18]
call fcn.00405c18
push edi
pop ecx
call fcn.00409997
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.00405b75
push dword [ebp - 0x18]
push 0x491d28
push esi
call fcn.00424b15
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x456325
lea ecx, [ebp - 0x18]
call fcn.00405a64
mov edi, dword [ebp - 8]
push esi
call fcn.00424cda
pop ecx
cmp ebx, 0xffffffff
je 0x420c6e
push ebx
push esi
call fcn.00424916
pop ecx
push eax
call fcn.00424744
pop ecx
pop ecx
push edi
pop eax
pop edi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret
push 0x4000
jmp 0x420c56
push esi
mov ecx, edi
call fcn.004689e2
push eax
push 1
call fcn.0046899f
push eax
call fcn.00424a93
add esp, 0x10
push eax
pop edi
jmp 0x420c49
push edi
pop ecx
call fcn.00409997
mov eax, dword [edi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x420c3e

Function at 0x4240c1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push edi
sub edi, edi
test ebx, ebx
jne 0x4240e3
call fcn.00428d68
mov dword [eax], 0x16
call fcn.00428ff6
xor eax, eax
jmp 0x424156
push esi
push 0x3bc
push 1
call fcn.00428a15
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x424141
call fcn.00429bec
push dword [eax + 0x6c]
push esi
call fcn.00429c73
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x54], ebx
pop ecx
pop ecx
test eax, eax
jne 0x42411f
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x424221
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x424155
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
pop edi
push esi
call fcn.00422f95
pop ecx
or edi, edi
je 0x424153
push edi
call fcn.00428d47
pop ecx
sub eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x425efc
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
sub esi, esi
or ebx, ebx
jne 0x425f1f
call fcn.00428d68
mov dword [eax], 0x16
call fcn.00428ff6
or eax, 0xffffffff
jmp 0x425f87
push edi
push 0x3bc
push 1
call fcn.00428a15
push eax
pop edi
pop ecx
pop ecx
or edi, edi
je 0x425f71
call fcn.00429bec
push dword [eax + 0x6c]
push edi
call fcn.00429c73
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
push edi
push 4
push edi
push 0x426007
push dword [ebp + 0xc]
mov dword [edi + 0x54], ebx
push esi
mov dword [edi + 0x58], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
pop esi
mov dword [edi + 4], esi
test esi, esi
jne 0x425f8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call fcn.00422f95
pop ecx
test esi, esi
je 0x425f83
push esi
call fcn.00428d47
pop ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x425f69
push esi
pop eax
jmp 0x425f86
Function at 0x42a408
Capabilities:
Write file on windows

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x1fc
mov eax, dword [0x4bfd50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0042a3e4
push eax
pop edi
pop ecx
or edi, edi
je 0x42a5aa
push ebx
push 3
call fcn.00435097
pop ecx
cmp eax, 1
je 0x42a552
push 3
call fcn.00435097
pop ecx
test eax, eax
jne 0x42a45c
cmp dword [0x4c4380], 1
je 0x42a552
cmp esi, 0xfc
je 0x42a5a9
push str.Runtime_Error__n_nProgram:
push 0x314
push 0x4c4388
call fcn.00434857
add esp, 0xc
sub ebx, ebx
or eax, eax
jne 0x42a5ba
push 0x104
push 0x4c43ba
push ebx
mov word [0x4c45c2], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x2fb
test eax, eax
jne 0x42a4c4
push str._program_name_unknown_
push esi
push 0x4c43ba
call fcn.00434857
add esp, 0xc
or eax, eax
jne 0x42a5ba
push 0x4c43ba
call fcn.00422e3c
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42a50a
push 0x4c43ba
call fcn.00422e3c
push 3
push 0x49404c
lea ecx, [eax*2 + 0x4c4344]
mov eax, ecx
sub eax, 0x4c43ba
sar eax, 1
sub esi, eax
push esi
push ecx
call fcn.0042d388
add esp, 0x14
or eax, eax
jne 0x42a5ba
push 0x494054
push 0x314
mov esi, 0x4c4388
push esi
call fcn.00435c41
add esp, 0xc
test eax, eax
jne 0x42a5ba
push edi
push 0x314
push esi
call fcn.00435c41
add esp, 0xc
or eax, eax
jne 0x42a5ba
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push esi
call fcn.00435ccc
add esp, 0xc
jmp 0x42a5a9
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
or esi, esi
je 0x42a5a9
cmp esi, 0xffffffff
je 0x42a5a9
xor ebx, ebx
mov ecx, ebx
mov al, byte [edi + ecx*2]
mov byte [ebp + ecx - 0x1f8], al
cmp word [edi + ecx*2], bx
je 0x42a582
inc ecx
cmp ecx, 0x1f4
jb 0x42a569
push ebx
lea eax, [ebp - 0x1fc]
mov byte [ebp - 5], bl
push eax
lea eax, [ebp - 0x1f8]
push eax
call fcn.00423980
pop ecx
push eax
lea eax, [ebp - 0x1f8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042c836
push ebp
pop esp
pop ebp
ret
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00429006
int3

Function at 0x42a5d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
or ebx, ebx
je 0x42a60c
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x42a604
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x42a60e
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x42a5f4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x435173
Capabilities:
Query environment variable

Disassembly:
push ebp
push esp
pop ebp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
pop edi
test edi, edi
je 0x4351cb
push ebx
xor ebx, ebx
push esi
mov esi, edi
cmp word [edi], bx
je 0x43519f
add esi, 2
cmp word [esi], bx
jne 0x43518f
add esi, 2
cmp word [esi], bx
jne 0x43518f
sub esi, edi
add esi, 2
push esi
call fcn.00428a5d
mov dword [ebp - 4], eax
pop ecx
test eax, eax
je 0x4351c0
push esi
push edi
push eax
call fcn.00421080
mov ebx, dword [ebp - 4]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop esi
mov eax, ebx
pop ebx
pop edi
push ebp
pop esp
pop ebp
ret
Function at 0x435ccc
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x24
mov eax, dword [0x4bfd50]
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
sub esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
push eax
pop edi
mov dword [ebp - 0x18], edi
call fcn.0042a099
mov dword [ebp - 0x14], eax
cmp dword [0x4c50e8], esi
jne 0x435dbf
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
or edi, edi
jne 0x435d4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x435e9f
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
or edi, edi
je 0x435e9f
push 0x4a0db0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
or eax, eax
je 0x435e9f
push eax
call ebx
push 0x4a0dbc
push edi
mov dword [0x4c50e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4c50ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4c50f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c50f8], eax
test eax, eax
je 0x435dbc
push 0x4a0dfc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c50f4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x435de4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x435dd7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x435df9
push 4
pop eax
jmp 0x435ea1
cmp dword [ebp - 0x14], esi
je 0x435df9
push dword [0x4c50e8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x435dde
mov eax, dword [0x4c50f4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x435e57
cmp dword [0x4c50f8], edi
je 0x435e57
push eax
call ebx
push dword [0x4c50f8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
or ecx, ecx
je 0x435e57
or eax, eax
je 0x435e57
call ecx
or eax, eax
je 0x435e4c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
or eax, eax
je 0x435e4c
test byte [ebp - 8], 1
jne 0x435e57
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x435e87
mov eax, dword [0x4c50ec]
cmp eax, edi
je 0x435e84
push eax
call ebx
test eax, eax
je 0x435e84
call eax
push eax
pop esi
or esi, esi
je 0x435e84
mov eax, dword [0x4c50f0]
cmp eax, edi
je 0x435e84
push eax
call ebx
test eax, eax
je 0x435e84
push esi
call eax
push eax
pop esi
mov edi, dword [ebp + 0x10]
push dword [0x4c50e8]
call ebx
test eax, eax
je 0x435e9f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x435ea1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c836
push ebp
pop esp
pop ebp
ret