joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d434
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47413c]
cmp byte [eax + 0xc], 0
je 0x43d5a1
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d59a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4744e4], 0
jne 0x43d488
push 0x43d5a8
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x43d5b0
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4744e4], eax
cmp dword [0x470260], 0
jne 0x43d583
push 0x43d5c0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x470260], eax
cmp dword [0x470260], 0
je 0x43d583
push 0x43d5cc
mov eax, dword [0x470260]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4744e8], eax
push 0x43d5dc
mov eax, dword [0x470260]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4744ec], eax
push 0x43d5f0
mov eax, dword [0x470260]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4744f0], eax
push 0x43d608
mov eax, dword [0x470260]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4744f4], eax
push 0x43d620
mov eax, dword [0x470260]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4744f8], eax
push 0x43d634
mov eax, dword [0x470260]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4744fc], eax
push 0x43d64c
mov eax, dword [0x470260]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474500], eax
push 0x43d664
mov eax, dword [0x470260]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474504], eax
push 0x43d680
mov eax, dword [0x470260]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x474508], eax
push 0x43d68c
mov eax, dword [0x470260]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47450c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d5a1
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44baa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47460c
cmp dword [edi], 0
jne 0x44bb1c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x474608]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4702b4
mov ecx, 2
call fcn.0045d2f4
mov edx, 0x44ba78
lea eax, [esi + 5]
call fcn.0044ba98
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0044ba98
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x44baf1
mov dword [0x474608], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x44d030
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0044cc50
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0045ef18
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x44d08e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47410c]
mov dl, 1
mov eax, dword [0x44cb48]
call fcn.00450e34
call fcn.0045e6c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44d098
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0045ef18
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x44d0f0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x474108]
mov dl, 1
mov eax, dword [0x44cb48]
call fcn.00450e34
call fcn.0045e6c8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044cc80
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x450590
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4505c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0045eb58
jmp 0x4505d2
mov eax, ebx
mov edx, esi
call fcn.0045eabc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4505dc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4505fd
mov al, byte [esp]
jmp 0x4505ff
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x450c84
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x450afc
mov eax, dword [0x4742f0]
cmp byte [eax], 0
je 0x450cf1
mov eax, dword [0x4742f4]
call fcn.0045d6b0
call fcn.0045d260
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0044edf4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x450d38
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x450d27
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4741a8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x474338]
call fcn.004601b4
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret

Function at 0x4518f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x451954
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0045ecd0
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.0044eacc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45195b
lea eax, [ebp - 0xc]
call fcn.0045ea68
ret

Function at 0x45dd8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4707ec]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x45de24
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x45de04
xor eax, eax
push ebp
push 0x45ddfd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x45de40
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45de04
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4707ec]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4707ec], ax
mov esp, ebp
pop ebp
ret

Function at 0x45e8ec
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x474930], 0
je 0x45e94d
cmp word [0x474b04], 0xd7b2
jne 0x45e915
cmp dword [0x474b0c], 0
jbe 0x45e915
mov eax, 0x474b00
call dword [0x474b1c]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x45e974
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4707fc], 0
jne 0x45e969
push 0
push 0x470854
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x4603a8
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4605d8
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x46042b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4605d8
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x46042b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4605f4
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4604b4
xor eax, eax
push ebp
push 0x4604ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004601f0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x460492
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x460614
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x460492
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4604b4
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4605ce
cmp byte [ebp - 0xd], 0
jne 0x4604fb
cmp byte [ebp - 0x12], 0
je 0x4605ce
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x460514
dec ebx
cmp byte [ebx], 0x2e
je 0x460523
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x460513
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4605ce
inc ebx
cmp byte [ebp - 0x12], 0
je 0x460560
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4605ce
cmp byte [ebp - 0xd], 0
je 0x4605ce
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4605ce
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460d4c
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x474ea4], 1
jae 0x460dd2
mov byte [0x4707e8], 2
mov dword [0x4748f4], 0x46d7dc
mov dword [0x4748f8], 0x46d7ee
mov byte [0x474932], 2
mov dword [0x4748e0], 0x45f9d8
call fcn.0045dd5c
test al, al
je 0x460d8f
call fcn.0045dd8c
call fcn.0045de50
mov word [0x474938], 0xd7b0
mov word [0x474b04], 0xd7b0
mov word [0x474cd0], 0xd7b0
call fcn.0045f8b8
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x474924], eax
call fcn.0045bd2c
mov dword [0x474920], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x474918], eax
ret

Function at 0x462b94
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x462bb0
call fcn.00463ee0
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x462bcc
test bl, 1
je 0x462bcc
call fcn.004678dc
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x462db0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.00463a7c
test byte [ebp + 0xd], 0xc0
jne 0x462dd4
mov eax, dword [0x471630]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x462de1
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x462e0e
je 0x462e20
sub ecx, 0x100
je 0x462e2e
sub ecx, 0x100
je 0x462e35
sub ecx, 0x100
je 0x462e27
jmp 0x462e3c
sub ecx, 0x600
je 0x462e35
sub ecx, 0x100
je 0x462e20
jmp 0x462e3c
mov edi, 1
jmp 0x462e41
mov edi, 2
jmp 0x462e41
mov edi, 4
jmp 0x462e41
mov edi, 5
jmp 0x462e41
mov edi, 3
test byte [ebp + 0xd], 1
je 0x462e68
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4710a8]
test al, 0x80
je 0x462e61
mov ebx, 0x80
jmp 0x462e7a
mov ebx, 1
jmp 0x462e7a
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x462e7a
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x462e8c
je 0x462e95
dec eax
je 0x462e9e
jmp 0x462ea7
mov dword [ebp - 4], SysStringLen
jmp 0x462eb6
mov dword [ebp - 4], 0x40000000
jmp 0x462eb6
mov dword [ebp - 4], 0xc0000000
jmp 0x462eb6
push 1
call fcn.00463e74
pop ecx
mov ebx, eax
jmp 0x462fa6
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x462ed2
sub eax, 0x10
je 0x462ed9
sub eax, 0x10
je 0x462ee2
sub eax, 0x10
je 0x462eeb
jmp 0x462eeb
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x462ef2
mov dword [ebp - 8], 1
jmp 0x462ef2
mov dword [ebp - 8], 2
jmp 0x462ef2
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x462f5f
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x462f54
test byte [ebp + 0xd], 1
je 0x462f4f
mov ebx, 0x50
jmp 0x462f54
mov ebx, 2
push ebx
call fcn.00463e74
pop ecx
mov ebx, eax
jmp 0x462fa6
mov edi, esi
push edi
call fcn.00462d14
pop ecx
test eax, eax
je 0x462f73
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x462f7f
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00463b9c
add esp, 8
mov ebx, eax
inc eax
jne 0x462fa6
push 4
call fcn.00463e74
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00463ab0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467874
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x4678d6
call fcn.00467824
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00461a18
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00461a18
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x467954
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4724d0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x467a2e
cmp dword [0x4724cc], 0
jne 0x467a2e
cmp dword [0x4726b0], 0
je 0x4679e8
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00467724
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4679ce
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00467724
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4679ce
lea ebx, [ebp - 0x84]
jmp 0x4679cf
inc ebx
call fcn.00467910
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x467a69
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4724d4
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00461a18
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4724d7
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x467a69
cmp dword [0x4724cc], 0
je 0x467a48
cmp dword [0x4724cc], 0xffffffff
je 0x467a69
push esi
call dword [0x4724cc]
pop ecx
mov eax, dword [0x4724d0]
test eax, eax
je 0x467a69
cmp dword [0x4724d0], 0xffffffff
je 0x467a69
cmp byte [eax], 0
je 0x467a69
push esi
push eax
call fcn.00467874
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468200
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x475848], 0
jne 0x468281
cmp dword [0x475868], 0
jne 0x468230
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x475868], eax
test eax, eax
jne 0x468230
push str.GetEnvironmentStrings_failed
call fcn.00467a80
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x475868]
jmp 0x468244
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00461a18
pop ecx
mov edi, eax
test eax, eax
jne 0x46823c
lea edi, [ebp + 1]
push edi
call fcn.004612fc
pop ecx
mov ebx, eax
mov dword [0x47584c], ebx
test ebx, ebx
jne 0x46826e
xor eax, eax
jmp 0x468344
push edi
mov edx, dword [0x475868]
push edx
push ebx
call fcn.004618c8
add esp, 0xc
jmp 0x4682a1
xor esi, esi
mov ebx, dword [0x475848]
jmp 0x46829b
push eax
call fcn.00461a18
pop ecx
test eax, eax
jne 0x468297
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x46828b
lea ebx, [esi + 4]
push 4
mov dword [0x475850], ebx
inc ebx
push ebx
call fcn.00460dd4
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x4682c4
xor eax, eax
jmp 0x468344
cmp dword [0x475848], 0
jne 0x4682f5
xor esi, esi
mov ebx, dword [0x47584c]
mov eax, dword [esp]
mov ebp, eax
jmp 0x4682e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00461a18
pop ecx
mov edi, eax
test eax, eax
jne 0x4682dc
jmp 0x468326
xor esi, esi
mov ebx, dword [0x475848]
mov eax, dword [esp]
mov edi, eax
jmp 0x468320
push eax
call fcn.00461a18
pop ecx
test eax, eax
je 0x468315
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x468319
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x468304
mov eax, dword [0x475848]
test eax, eax
je 0x468336
push eax
call fcn.0046130c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x475848], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x1a4e8e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc5b000]
push edi
or ebp, 0xffffffff
jmp 0x1a4e902
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1a4e909
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a4e8f8
mov eax, 1
add ebx, ebx
jne 0x1a4e91b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1a4e910
jne 0x1a4e92c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a4e910
xor ecx, ecx
sub eax, 3
jb 0x1a4e940
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1a4e9b2
mov ebp, eax
add ebx, ebx
jne 0x1a4e94b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1a4e958
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1a4e97c
inc ecx
add ebx, ebx
jne 0x1a4e968
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1a4e95d
jne 0x1a4e979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a4e95d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1a4e99c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1a4e98d
jmp 0x1a4e8fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1a4e99c
add edi, ecx
jmp 0x1a4e8fe
pop esi
mov edi, esi
mov ecx, 0x8bc9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1a4e9ba
cmp byte [edi], 0x38
jne 0x1a4e9ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1a4e9bf
lea edi, [esi + 0x103a000]
mov eax, dword [edi]
or eax, eax
je 0x1a4ea2e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12211c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1221330]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1a4e9ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1221338]
or eax, eax
je 0x1a4ea28
mov dword [ebx], eax
add ebx, 4
jmp 0x1a4ea09
call dword [esi + 0x1221334]
mov ebp, dword [esi + 0x122133c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1a4ea62
sub esp, 0xffffff80
jmp 0xb5eb00
Function at 0x43a8c5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042f80a
and dword [ebp - 4], 0
cmp dword [0x454778], 0
mov ebx, eax
jne 0x43a976
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43aa27
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4470f0
push edi
call esi
test eax, eax
je 0x43aa27
push eax
call fcn.0042f798
mov dword [esp], 0x4470e0
push edi
mov dword [0x454778], eax
call esi
push eax
call fcn.0042f798
mov dword [esp], 0x4470cc
push edi
mov dword [0x45477c], eax
call esi
push eax
call fcn.0042f798
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x454780], eax
call esi
push eax
call fcn.0042f798
pop ecx
mov dword [0x454788], eax
test eax, eax
je 0x43a976
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042f798
pop ecx
mov dword [0x454784], eax
mov eax, dword [0x454784]
cmp eax, ebx
je 0x43a9ce
cmp dword [0x454788], ebx
je 0x43a9ce
push eax
call fcn.0042f813
push dword [0x454788]
mov esi, eax
call fcn.0042f813
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43a9ce
test edi, edi
je 0x43a9ce
call esi
test eax, eax
je 0x43a9c5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43a9c5
test byte [ebp - 0xc], 1
jne 0x43a9ce
or dword [ebp + 0x10], 0x200000
jmp 0x43aa07
mov eax, dword [0x45477c]
cmp eax, ebx
je 0x43aa07
push eax
call fcn.0042f813
pop ecx
test eax, eax
je 0x43aa07
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43aa07
mov eax, dword [0x454780]
cmp eax, ebx
je 0x43aa07
push eax
call fcn.0042f813
pop ecx
test eax, eax
je 0x43aa07
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x454778]
call fcn.0042f813
pop ecx
test eax, eax
je 0x43aa27
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43aa29
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100023ca
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push 0x10004638
push str.CONOUT_
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0x10
push 0
push 0
push 0
push 0x100022f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc