joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b3ce
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
and dword [ebp - 0x10], 0
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
push eax
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileSizeEx]
test eax, eax
jne 0x40b40e
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x40b549
movzx eax, ax
or eax, 0x80070000
jmp 0x40b549
cmp dword [ebp - 0x10], 0
push esi
push edi
jne 0x40b542
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x40b42b
mov eax, 0x80070057
jmp 0x40b547
and dword [ebp - 8], 0
xor eax, eax
push eax
mov word [ebp - 4], ax
not esi
lea eax, [ebp - 8]
and esi, 1
push eax
push 2
pop edi
push edi
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x40b4fe
cmp dword [ebp - 8], edi
jne 0x40b466
mov eax, 0xfeff
cmp word [ebp - 4], ax
je 0x40b468
xor esi, esi
test esi, esi
je 0x40b4c1
mov edi, dword [ebp - 0x14]
xor ecx, ecx
shr edi, 1
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fefd
mov esi, eax
pop ecx
test esi, esi
je 0x40b542
push 0
lea eax, [ebp - 8]
add edi, edi
push eax
push edi
push esi
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
je 0x40b4f7
lea eax, [edi - 2]
push esi
cmp dword [ebp - 8], eax
jne 0x40b51b
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov word [edi + esi - 2], ax
call fcn.0040bb6e
jmp 0x40b535
push 0
push 0
push 0
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x40b4fe
mov edi, dword [ebp - 0x14]
inc edi
push edi
call fcn.0041fefd
mov esi, eax
pop ecx
test esi, esi
je 0x40b542
push 0
lea eax, [ebp - 8]
push eax
push edi
push esi
push ebx
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x40b512
push esi
call fcn.0041fef8
pop ecx
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x40b547
movzx eax, ax
or eax, 0x80070000
jmp 0x40b547
lea eax, [edi - 1]
push esi
cmp dword [ebp - 8], eax
je 0x40b528
call fcn.0041fef8
pop ecx
mov eax, 0x80004005
jmp 0x40b547
mov ecx, dword [ebp - 0xc]
mov byte [esi + edi - 1], 0
call fcn.0040b9fb
push esi
mov edi, eax
call fcn.0041fef8
pop ecx
mov eax, edi
jmp 0x40b547
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40e0e7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x425124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x80
lea eax, [ebp - 0x104]
mov esi, ecx
push eax
push 0x21
push 0x400
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
je 0x40e146
movzx eax, word [ebp - 0x104]
sub eax, 0x30
je 0x40e141
sub eax, 1
je 0x40e13c
sub eax, 1
je 0x40e137
xor eax, eax
inc eax
jmp 0x40e148
push 2
pop eax
jmp 0x40e143
xor eax, eax
inc eax
jmp 0x40e143
xor eax, eax
mov word [esi], ax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004201e0
leave
ret
Function at 0x41266d
Capabilities:
Query service status
Start service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x425124]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x404]
and dword [ebp - 0x42c], edi
mov ebx, edx
push 0x3f8
push edi
push eax
mov dword [ebp - 0x428], ebx
mov esi, ecx
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.0041e3fe
test eax, eax
jne 0x41272b
push 0x1fc
mov edx, 0x4028a0
lea ecx, [ebp - 0x404]
call fcn.0041bc68
test esi, esi
je 0x41272b
movzx eax, word [esi]
mov ecx, esi
test ax, ax
je 0x412719
push 2
mov edx, eax
pop ebx
cmp dx, 0x5c
jne 0x4126f2
add ecx, ebx
inc edi
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x4126df
mov ebx, dword [ebp - 0x428]
push 2
pop eax
cmp di, ax
jne 0x412714
push 0x1fc
mov edx, esi
lea ecx, [ebp - 0x404]
call fcn.0041bc68
jmp 0x41272b
test di, di
jne 0x41272b
push 0x1fc
mov edx, esi
lea ecx, [ebp - 0x404]
call fcn.0041bcc8
xor edi, edi
lea eax, [ebp - 0x404]
inc edi
push edi
push 0
push eax
call dword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x412753
mov dword [ebx], edi
xor eax, eax
jmp 0x412854
push 0x14
push 0x402934
push esi
call dword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x412778
mov eax, dword [ebp - 0x428]
push esi
mov dword [eax], edi
call dword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
jmp 0x41274c
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
test eax, eax
je 0x41283a
cmp dword [ebp - 0x41c], 4
je 0x412842
cmp dword [ebp + 8], 0
je 0x412844
mov ecx, 0xce
call fcn.0041b2d7
push edi
mov esi, eax
call fcn.004208bb
pop ecx
mov edx, esi
mov ecx, eax
call fcn.0041bd93
lea ecx, [ebp - 0x42c]
call fcn.0040af34
cmp eax, edi
jne 0x4127eb
mov eax, dword [ebp - 0x428]
mov dword [eax], 2
push dword [ebp - 0x424]
call dword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
push ebx
jmp 0x412770
cmp dword [ebp - 0x42c], 0
je 0x412802
mov eax, dword [ebp - 0x428]
mov dword [eax], 3
jmp 0x4127dc
push 0
push 0
push ebx
call dword [sym.imp.api_ms_win_service_management_l1_1_0.dll_StartServiceW]
test eax, eax
je 0x412834
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_QueryServiceStatus]
test eax, eax
je 0x412834
cmp dword [ebp - 0x41c], 4
jne 0x412811
mov esi, dword [ebp - 0x424]
jmp 0x412844
mov esi, dword [ebp - 0x424]
mov eax, dword [ebp - 0x428]
mov dword [eax], edi
xor edi, edi
push esi
call dword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004201e0
leave
ret 4
Function at 0x4198f5
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 0x20a
mov esi, edx
mov ebx, ecx
call fcn.0041fefd
cmp dword [esi], 0
mov edi, eax
pop ecx
je 0x419918
push dword [esi]
call fcn.0041fef8
pop ecx
push 0x20a
push 0
push edi
mov dword [esi], edi
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x105
push dword [esi]
push ebx
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x419973
call fcn.00419415
mov esi, eax
mov ecx, dword [0x42500c]
cmp ecx, 0x42500c
je 0x41996f
test dword [ecx + 0x1c], 0x40000
je 0x41996f
cmp byte [ecx + 0x19], 2
jb 0x41996f
push esi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0xc
pop ecx
call fcn.004196a2
mov eax, esi
jmp 0x419975
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x41a116
Capabilities:
Delete registry key

Disassembly:
push 0xc
mov eax, 0x422821
call fcn.0042120f
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], edi
sub eax, 1
je 0x41a158
sub eax, 1
je 0x41a151
sub eax, 1
je 0x41a14a
sub eax, 1
jne 0x41a165
push 0x40328c
jmp 0x41a15d
push 0x40326c
jmp 0x41a15d
push 0x40324c
jmp 0x41a15d
push 0x40322c
lea ecx, [ebp - 0x10]
call fcn.0040715c
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push 0x20019
push edi
push dword [ebp - 0x10]
push dword [esi + 8]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x41a1cb
jle 0x41a193
movzx esi, si
or esi, 0x80070000
mov ecx, esi
call fcn.00419551
test al, al
jne 0x41a226
mov eax, dword [0x42500c]
cmp eax, 0x42500c
je 0x41a226
test dword [eax + 0x1c], 0x40000
je 0x41a226
cmp byte [eax + 0x19], 2
jb 0x41a226
push esi
push dword [ebp + 0xc]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x3c
jmp 0x41a21c
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
mov esi, eax
test esi, esi
je 0x41a224
jle 0x41a1ea
movzx esi, si
or esi, 0x80070000
mov ecx, esi
call fcn.00419551
test al, al
jne 0x41a226
mov eax, dword [0x42500c]
cmp eax, 0x42500c
je 0x41a226
test dword [eax + 0x1c], 0x40000
je 0x41a226
cmp byte [eax + 0x19], 2
jb 0x41a226
push esi
push dword [ebp + 0xc]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x3d
pop ecx
call fcn.00419724
jmp 0x41a226
mov esi, edi
mov byte [ebp - 4], 4
cmp dword [ebp - 0x14], 0
je 0x41a23c
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
call fcn.004211ec
ret 8
Function at 0x41e6b8
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa14
mov eax, dword [0x425124]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x9e8], ecx
lea edi, [ebp - 0xa10]
push 8
xor eax, eax
mov esi, edx
mov edx, dword [ebp + 8]
xor ebx, ebx
pop ecx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x9e8]
mov dword [ebp - 0x9f0], esi
mov dword [ebp - 0x9ec], edx
mov dword [ebp - 0x9e4], ebx
mov word [ebp - 0x4e], ax
test edi, edi
je 0x41e81b
test edx, edx
je 0x41e81b
cmp dword [edx], eax
je 0x41e72b
cmp dword [edx], 2
jb 0x41e81b
test esi, esi
je 0x41e81b
cmp dword [0x42b284], eax
jne 0x41e75f
lea eax, [ebp - 0x9e0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x41e755
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
jmp 0x41e827
mov dword [0x42b284], 1
lea eax, [ebp - 0x9e4]
push eax
lea eax, [ebp - 0xa10]
push eax
push ebx
push edi
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
jne 0x41e82d
mov esi, dword [ebp - 0x9e4]
jmp 0x41e7c5
push 4
xor eax, eax
mov word [ebp - 0x850], ax
lea eax, [ebp - 0x48]
push 0x20
push eax
push 0x401
lea eax, [ebp - 0x850]
push eax
push dword [esi + 0x10]
push dword [esi + 0x18]
call dword [sym.imp.WS2_32.dll_GetNameInfoW]
test eax, eax
je 0x41e7cb
cmp eax, 0x2afc
jne 0x41e7c2
cmp word [ebp - 0x850], bx
jne 0x41e7cb
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x41e785
jmp 0x41e80b
lea eax, [ebp - 0x850]
push 0x403454
push eax
call dword [sym.imp.msvcrt.dll_wcstok]
pop ecx
pop ecx
mov esi, eax
mov ecx, esi
call fcn.0041bcfd
mov ecx, dword [ebp - 0x9ec]
inc eax
cmp dword [ecx], eax
jae 0x41e7fa
xor ebx, ebx
mov dword [ecx], eax
inc ebx
jmp 0x41e80b
push dword [ecx]
mov ecx, dword [ebp - 0x9f0]
mov edx, esi
call fcn.0041bc68
mov ebx, eax
push dword [ebp - 0x9e4]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, ebx
jmp 0x41e82f
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x41e82d
push 0x57
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004201e0
leave
ret 8
Function at 0x41e8fb
Capabilities:
Connect network resource

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x41ea48
call fcn.0041e3fe
cmp eax, 1
je 0x41ea48
mov ecx, esi
call fcn.0041e3bc
cmp eax, 1
jne 0x41e92f
add esi, 4
mov ecx, esi
call fcn.0041e55b
test eax, eax
jne 0x41e94a
call fcn.0041afe7
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
jmp 0x41ea7a
mov ebx, 0x403464
push ebx
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrlenW]
test eax, eax
je 0x41e984
push ebx
push esi
push 0x403470
push 2
call fcn.0041af5e
add esp, 0x10
test eax, eax
je 0x41e9a6
call fcn.0041aedf
xor ebx, ebx
test eax, eax
jne 0x41e996
push 0x12
pop ecx
call fcn.0041ad4a
jmp 0x41e9a2
push esi
push 0x403458
push 1
call fcn.0041af5e
add esp, 0xc
jmp 0x41e96b
push ebx
push ebx
push 0x12
mov edx, eax
pop ecx
call fcn.0041ad96
test eax, eax
jne 0x41e9c5
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jne 0x41e9b8
push 8
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
call fcn.0041afe7
push 8
pop eax
jmp 0x41ea7a
push ebx
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov edi, eax
test edi, edi
je 0x41ea0f
cmp edi, 0x4b8
je 0x41ea08
push edi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
call fcn.0041afe7
jmp 0x41ea44
call fcn.0041b06c
jmp 0x41ea44
push ebx
mov edi, ebx
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov ecx, esi
call fcn.0041e840
cmp eax, 0x1388
jae 0x41ea44
push ecx
mov ecx, esi
call fcn.0041ea81
mov ecx, 0x1580
call fcn.0041b2d7
mov ecx, eax
call fcn.0041aeff
mov edi, 0x4b8
mov eax, edi
jmp 0x41ea7a
test edi, edi
je 0x41ea78
push edi
call dword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrlenW]
test eax, eax
je 0x41ea78
mov ecx, 0x157e
call fcn.0041b2d7
mov ecx, eax
call fcn.0041aeff
mov esi, 0xa0010001
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, esi
jmp 0x41ea7a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x420494
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4243f8
call fcn.00420758
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4204f4
cmp eax, 0xffffffff
je 0x4204f4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4204ed
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4204ed
cmp edx, 0x10000000
jae 0x4204ed
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4204ea
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x420560
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
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
test ebx, ebx
je 0x42059e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x420596
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4205a0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x420586
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x420670
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4206a1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4206a1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x4206a1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401660
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x8c1904], 0x400
push esi
push edi
jne 0x4016a5
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 4]
push edx
mov word [ebp - 4], ax
mov word [ebp - 2], cx
mov eax, dword [ebp - 4]
push eax
push ecx
push str.kayed
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
lea eax, [ebp - 0x24]
call fcn.00401770
lea esi, [ebp - 0x24]
call fcn.00401790
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af2a3
jle 0x4016c3
cmp ebx, 0x78abdb45
jne 0x4016cc
inc esi
cmp esi, 0x1c5d
jl 0x4016b1
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea ebx, [ebx]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x4016fd
inc esi
cmp esi, 0x4f6a4
jl 0x4016e0
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x40171c
cmp ebx, 0x785074d5
jne 0x401725
inc esi
cmp esi, 0x11915
jl 0x401708
mov ecx, dword [0x4a331c]
mov dword [0x8c1904], ecx
call fcn.004013a0
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadContext]
mov edi, 0x3078f
pop ebx
cmp dword [0x8c1904], 0x51f
jne 0x401754
push 0
push 0
call esi
sub edi, 1
jne 0x401742
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x402ca0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a2118]
jne 0x402caa
repz ret
jmp fcn.00406e50
Function at 0x406b73
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.004043e7
and dword [ebp - 4], 0
cmp dword [0x4a3cf8], 0
mov ebx, eax
jne 0x406c24
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406cd5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406cd5
push eax
call fcn.00404375
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4a3cf8], eax
call esi
push eax
call fcn.00404375
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4a3cfc], eax
call esi
push eax
call fcn.00404375
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a3d00], eax
call esi
push eax
call fcn.00404375
pop ecx
mov dword [0x4a3d08], eax
test eax, eax
je 0x406c24
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404375
pop ecx
mov dword [0x4a3d04], eax
mov eax, dword [0x4a3d04]
cmp eax, ebx
je 0x406c7c
cmp dword [0x4a3d08], ebx
je 0x406c7c
push eax
call fcn.004043f0
push dword [0x4a3d08]
mov esi, eax
call fcn.004043f0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406c7c
test edi, edi
je 0x406c7c
call esi
test eax, eax
je 0x406c73
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406c73
test byte [ebp - 0xc], 1
jne 0x406c7c
or dword [ebp + 0x10], 0x200000
jmp 0x406cb5
mov eax, dword [0x4a3cfc]
cmp eax, ebx
je 0x406cb5
push eax
call fcn.004043f0
pop ecx
test eax, eax
je 0x406cb5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406cb5
mov eax, dword [0x4a3d00]
cmp eax, ebx
je 0x406cb5
push eax
call fcn.004043f0
pop ecx
test eax, eax
je 0x406cb5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a3cf8]
call fcn.004043f0
pop ecx
test eax, eax
je 0x406cd5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406cd7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1598b00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9aa000]
push edi
or ebp, 0xffffffff
jmp 0x1598b22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1598b29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1598b18
mov eax, 1
add ebx, ebx
jne 0x1598b3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1598b4c
jne 0x1598b6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1598b6b
dec eax
add ebx, ebx
jne 0x1598b58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1598b30
add ebx, ebx
jne 0x1598b67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1598bbd
xor ecx, ecx
sub eax, 3
jb 0x1598b83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1598bf2
sar eax, 1
mov ebp, eax
jmp 0x1598b8e
add ebx, ebx
jne 0x1598b8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1598b5c
inc ecx
add ebx, ebx
jne 0x1598b9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1598b5c
add ebx, ebx
jne 0x1598ba9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1598b9e
jne 0x1598bba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1598b9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1598bdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1598bce
jmp 0x1598b1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1598bdc
add edi, ecx
jmp 0x1598b1e
pop esi
mov edi, esi
mov ecx, 0x1dafc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1598bfa
cmp byte [edi], 0xb9
jne 0x1598bfa
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 0x1598bff
lea edi, [esi + 0x1164000]
mov eax, dword [edi]
or eax, eax
je 0x1598c77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11bb2dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11bb444]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1598c2c
mov ecx, edi
jns 0x1598c5b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11bb448]
or eax, eax
je 0x1598c71
mov dword [ebx], eax
add ebx, 4
jmp 0x1598c49
call dword [esi + 0x11bb450]
mov ebp, dword [esi + 0x11bb44c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x1598cab
sub esp, 0xffffff80
jmp 0x81302a