joyce8/EMBER2024-capa huggingface dataset:
Function at 0x13a4c
Capabilities:
Accept command line arguments
Check mutex on windows
Create directory
Query environment variable

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_CreateMutexA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x13c08
push 0x80000001
call sub.user32.dll_SendMessageA
test eax, eax
je 0x13aad
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x13c24
push 0x80000001
call sub.user32.dll_SendMessageA
test eax, eax
jne 0x13b1f
xor eax, eax
push ebp
push 0x13b18
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.000138a4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetRect
test eax, eax
je 0x13b01
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x13c44
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetRect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x13b1f
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_ReleaseDC
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_GetLastError
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetCommandLineA
push eax
call sub.KERNEL32.DLL_CreateDirectoryA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x13c00
cmp byte [ebp - 0xd], 0
jne 0x13b61
cmp byte [ebp - 0x12], 0
je 0x13c00
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x13b7a
dec ebx
cmp byte [ebx], 0x2e
je 0x13b89
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x13b79
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x13c00
inc ebx
cmp byte [ebp - 0x12], 0
je 0x13bb6
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_GetLastError
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov esi, eax
test esi, esi
jne 0x13c00
cmp byte [ebp - 0xd], 0
je 0x13c00
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_GetLastError
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov esi, eax
test esi, esi
jne 0x13c00
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_GetLastError
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x13d3c
Capabilities:
Set thread local storage value

Disassembly:
test edx, edx
je fcn.00013d24
push eax
push ecx
push edx
mov ecx, dword [eax]
test ecx, ecx
je 0x13d56
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esp]
mov eax, dword [edx]
call dword [eax]
test eax, eax
je 0x13d65
mov al, 0x17
jmp fcn.00012550
ret
Function at 0x40f2b6
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40f353
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x40f353
push edi
push edi
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40f353
push 4
push 0xffffffffffffffff
push esi
push 0x40fa6d
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.kernel32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40f353
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40f31e
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x40f353
push dword [esi + 0x9c]
call dword [sym.imp.kernel32.dll_SetEvent]
test eax, eax
jne 0x40f359
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40f355

Function at 0x41264e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x41265d
pop dword [ebp - 4]
mov eax, 0xc4be5c48
add eax, 0x3b82ca15
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x419d2
push 0
mov eax, 0x60b18f27
sub eax, 0x606e9c27
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x6ece9d5c
sub ecx, 0x6ece5ddb
mov edx, eax
mov ebx, 0xb4c823c6
sub ebx, 0xb48369c6
add ebx, dword [ebp - 4]
mov edi, 0x22adbf3e
add edi, 0x1b45eaee
mov esi, dword [ebx]
xor esi, edi
mov dword [edx], esi
add edx, 4
add ebx, 4
loop 0x4126bc
add eax, 0x15bd8a1e
sub eax, 0x15bc9947
mov ebx, eax
add eax, 0x97815b2c
add eax, 0x687ea4d9
mov ecx, 0x9cbaf450
sub ecx, 0x9c7af450
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x4146de
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x4146ee
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
jmp 0x4146f4
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x41471c
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x43a5e0]
test ax, ax
jne 0x414703
mov esi, ecx
jmp 0x41471f
movzx esi, si
pop edi
cmp cx, si
je 0x41473c
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x43a5e0]
test cx, cx
jne 0x414720
mov eax, 0x4390d8
jmp 0x414744
imul eax, edx, 0x1a
add eax, 0x43a5e2
push eax
mov ecx, ebx
call main
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4a9d88
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, eax
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x4a9dcc
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.004091b4
add esp, 0x200
pop ebx
ret

Function at 0x100289d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100330b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10035b0c]
test dword [ebp + 8], eax
je 0x10028a7a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.10019329
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x10035b08]
test eax, eax
je 0x10028a6d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.10019329
mov eax, dword [0x100330ac]
pop ecx
pop ecx
test eax, eax
jle 0x10028a7a
push esi
mov esi, dword [0x10035b10]
push edi
mov edi, dword [0x10035b14]
cdq
push edx
push eax
push edi
push esi
call fcn.10029420
add esi, 1
mov dword [0x10035b10], esi
adc edi, 0
or eax, edx
mov dword [0x10035b14], edi
pop edi
pop esi
jne 0x10028a7a
push dword [0x10035b08]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10028a7a
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028d50
leave
ret
Function at 0x2580f5a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x2580f5b8
pop dword [ebp - 0x50]
mov eax, 0x6c1352a9
add eax, 0xb96da30f
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xdb14036e
sub dword [ebp - 0x60], 0x8cc1be23
mov dword [ebp - 0x5c], 0x2bb23674
add dword [ebp - 0x5c], 0x68115d1
mov dword [ebp - 0x58], 0x96654da4
add dword [ebp - 0x58], 0xb5e6f68a
mov dword [ebp - 0x54], 0xdf654054
sub dword [ebp - 0x54], 0xdf654054
lea eax, [ebp - 0x60]
push eax
mov eax, 0x5b614ce6
sub eax, 0x35df7ca2
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xdc272f79
sub dword [ebp - 0x60], 0x67b4c623
mov dword [ebp - 0x5c], 0x2c623893
add dword [ebp - 0x5c], 0x150a28e2
mov dword [ebp - 0x58], 0x297fc0f8
sub dword [ebp - 0x58], 0xc610548c
mov dword [ebp - 0x54], 0x1ebcc26e
add dword [ebp - 0x54], 0xe1433d92
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x7bc5cba8
add eax, 0xa9bc04d8
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3cfc4
push 0
call eax
mov ecx, 0x4892
mov esi, eax
mov edx, 0x7317cab0
sub edx, 0x4d9534b0
add edx, dword [ebp - 0x50]
mov ebx, 0x8cd24dd
mov edi, dword [edx]
add edi, ebx
add dword [ebp - 0x30], esi
mov dword [esi], edi
xor dword [ebp - 0x34], ebx
add esi, 0xc4764e42
sub esi, 0xc4764e3e
add edx, 0x95ae43f7
sub edx, 0x95ae43f3
loop 0x2580f6ce
add eax, 0x9758086c
add eax, 0x68a90caf
xor ebx, ebx
add ebx, eax
add eax, 0x25f97aac
sub eax, 0x25f97aa7
mov ecx, 0x25800000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4010a0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x409510]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 1
push str.ServicesActive
push 0
mov byte [ebp - 0x21], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x40111d
push esi
push edi
xor edi, edi
mov edi, edi
cmp edi, 0x18
jae 0x401114
mov eax, dword [edi + 0x409024]
push 4
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x40110b
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x401104
cmp dword [ebp - 0x1c], 4
jne 0x401104
mov byte [ebp - 0x21], 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add edi, 4
cmp byte [ebp - 0x21], 0
je 0x4010d0
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x21]
xor ecx, ebp
pop ebx
call fcn.0040423b
mov esp, ebp
pop ebp
ret

Function at 0x401330
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x409510]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, 0x10624dd3
mul ecx
push ebx
push esi
mov esi, edx
shr esi, 6
mov edx, esi
imul edx, edx, 0x3e8
sub ecx, edx
push edi
mov dword [ebp - 0x28], esi
je 0x401368
inc esi
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x23], 0
mov dword [ebp - 0x2c], 0
jmp 0x401380
cmp byte [ebp - 0x23], 0
jne 0x401439
cmp dword [ebp - 0x2c], esi
jae 0x401439
push 1
push str.ServicesActive
push 0
mov byte [ebp - 0x22], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x40140a
xor edi, edi
mov edi, edi
cmp edi, 0x18
jae 0x4013f4
mov eax, dword [edi + 0x409024]
push 4
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x4013eb
lea ecx, [ebp - 0x20]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x4013e4
cmp dword [ebp - 0x1c], 4
jne 0x4013e4
mov byte [ebp - 0x22], 1
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add edi, 4
cmp byte [ebp - 0x22], 0
je 0x4013b0
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp byte [ebp - 0x22], 0
mov esi, dword [ebp - 0x28]
je 0x40140a
mov byte [ebp - 0x23], 1
jmp 0x40142c
mov edx, dword [ebp - 0x30]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401428
cmp eax, 0x102
setne byte [ebp - 0x21]
jmp 0x40142c
mov byte [ebp - 0x21], 1
inc dword [ebp - 0x2c]
cmp byte [ebp - 0x21], 0
je 0x401380
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x21]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040423b
mov esp, ebp
pop ebp
ret
Function at 0x401780
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x409510]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetSystemPowerStatus]
cmp byte [ebp - 0x10], 1
jne 0x401997
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [0x40955c], eax
sete al
test al, al
jne 0x401997
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_strstr]
push 0x405404
push esi
call ebx
add esp, 8
test eax, eax
je 0x40180a
mov ecx, dword [0x40955c]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401996
cmp eax, 0x102
jne 0x401996
lea edx, [ebp - 0x14]
push edx
call fcn.00401250
add esp, 4
mov dword [0x409558], eax
test eax, eax
je 0x401996
mov eax, dword [str.Acrobat_Viewer]
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x40196e
push 0x401130
push 0x1f4
push eax
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x40196e
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x40955c], eax
test eax, eax
je 0x401965
push 0x409540
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x405404
push esi
mov byte [0x409564], 0
call ebx
add esp, 8
neg eax
lea ecx, [ebp - 0x20]
push ecx
push 0
sbb eax, eax
inc eax
push eax
push 0x401450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x409560], eax
test eax, eax
je 0x401944
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
call esi
test eax, eax
je 0x401904
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ebx, [ebx]
cmp eax, 0xffffffff
je 0x401901
lea eax, [ebp - 0x3c]
push eax
call edi
lea ecx, [ebp - 0x3c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
call esi
test eax, eax
jne 0x4018e0
mov edi, dword [ebp - 0x1c]
call fcn.00401170
mov eax, dword [0x409560]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40192d
mov ecx, dword [0x409560]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x409560]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x409560], 0
mov eax, dword [0x40955c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x409540
mov dword [0x40955c], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push edi
push 0
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [0x409558]
test eax, eax
je 0x40197e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp word [ebp - 0x14], 0
je 0x401996
mov ecx, dword [ebp - 0x18]
mov edx, dword [str.AdobeAcrobatSpeedLaunchCmdWnd]
push ecx
push edx
call dword [sym.imp.USER32.dll_UnregisterClassA]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0040423b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401a70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x401a94
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov dword [esi], ecx
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40423b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409510]
jne 0x404245
repz ret
jmp fcn.004046da
Function at 0x10003e4b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x10003e5a
pop dword [ebp - 0x30]
mov eax, 0x24bc25f6
add eax, 0xeb441864
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x4adfb1b8
sub dword [ebp - 0x40], 0xfc8d6c6d
mov dword [ebp - 0x3c], 0xc3db8491
add dword [ebp - 0x3c], 0x6e57c7b4
mov dword [ebp - 0x38], 0x55816ed4
sub dword [ebp - 0x38], 0x9352aa6
mov dword [ebp - 0x34], 0x29999cb6
sub dword [ebp - 0x34], 0x29999cb6
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x103529bd
sub dword [ebp - 0x40], 0x9bc2c067
mov dword [ebp - 0x3c], 0xdd47884b
sub dword [ebp - 0x3c], 0x9bdb26d6
mov dword [ebp - 0x38], 0xf7d98624
sub dword [ebp - 0x38], 0x946a19b8
mov dword [ebp - 0x34], 0x17d800fa
add dword [ebp - 0x34], 0xe827ff06
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xb4f9f9a8
add eax, 0x5b07d69c
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x39996
push 0
call eax
mov ecx, 0x42df9690
add ecx, 0xbd20ae26
mov edx, eax
mov ebx, 0xaae22b06
sub ebx, 0x9adedb06
add ebx, dword [ebp - 0x30]
mov edi, 0x2a262702
add edi, 0x9b39a6a8
xor dword [ebp - 0x18], 0xf0093a7e
mov esi, dword [ebx]
xor dword [ebp - 0xc], 0xd406754f
sub esi, edi
mov dword [edx], esi
add dword [ebp - 0x18], ebx
add edx, 4
add ebx, 0x93c7120b
sub ebx, 0x93c71207
loop 0x10003f77
add eax, 0xd8329d6
sub eax, 0xd82242b
xor ebx, ebx
add ebx, eax
add eax, 0x8c82a300
sub eax, 0x8c82a2fb
mov ecx, 0x70b30802
sub ecx, 0x60b30802
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x408b10
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x409100
call fcn.00408e58
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x40c570
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x408938
cmp eax, esi
jne 0x40892b
xor esi, esi
inc esi
mov edi, esi
jmp 0x40893b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40890f
xor esi, esi
inc esi
cmp dword [0x40c574], esi
jne 0x40894d
push 0x1f
call fcn.004a1000
pop ecx
jmp 0x408987
cmp dword [0x40c574], ebx
jne 0x408981
mov dword [0x40c574], esi
push 0x4010d4
push 0x4010c8
call fcn.00408a6c
pop ecx
pop ecx
test eax, eax
je 0x408987
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x408a5c
mov dword [0x40a024], esi
cmp dword [0x40c574], esi
jne 0x4089aa
push 0x4010c4
push 0x4010bc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x40c574], 2
test edi, edi
jne 0x4089b7
xor eax, eax
mov ecx, 0x40c570
xchg dword [ecx], eax
cmp dword [0x40c578], 0
je 0x4089e3
push 0x40c578
call fcn.00408cb0
pop ecx
test eax, eax
je 0x4089e3
push ebx
push 2
push ebx
mov esi, dword [0x40c578]
mov ecx, esi
call dword [0x40d1d8]
call esi
push dword [0x40a030]
push dword [0x40a02c]
push dword [0x40a028]
call fcn.004017e0
add esp, 0xc
mov dword [0x40a020], eax
cmp dword [0x40a038], 0
jne 0x408a41
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x40a024], 0
jne 0x408a55
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x40a020]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00408da5
jmp 0x4088f3

Function at 0x408b94
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x409120
call fcn.00408e58
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x408bf4
cmp eax, 0xffffffff
je 0x408bf4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x408bed
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x408bed
cmp edx, 0x10000000
jae 0x408bed
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 0x408bea
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 0x408c60
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 0x408c9e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x408c96
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x408ca0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x408c86
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x624c40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16e000]
push edi
jmp 0x624c5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x624c61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x624c50
mov eax, 1
add ebx, ebx
jne 0x624c73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x624c84
jne 0x624ca3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x624ca3
dec eax
add ebx, ebx
jne 0x624c90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x624c68
add ebx, ebx
jne 0x624c9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x624cf5
xor ecx, ecx
sub eax, 3
jb 0x624cbb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x624d2a
sar eax, 1
mov ebp, eax
jmp 0x624cc6
add ebx, ebx
jne 0x624cc6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x624c94
inc ecx
add ebx, ebx
jne 0x624cd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x624c94
add ebx, ebx
jne 0x624ce1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x624cd6
jne 0x624cf2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x624cd6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x624d14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x624d06
jmp 0x624c56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x624d14
add edi, ecx
jmp 0x624c56
pop esi
mov edi, esi
mov ecx, 0x62db
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x624d32
cmp byte [edi], 0x16
jne 0x624d32
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 0x624d37
lea edi, [esi + 0x218000]
mov eax, dword [edi]
or eax, eax
je 0x624daf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2bae04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2baff8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x624d64
mov ecx, edi
jns 0x624d93
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 + 0x2bb000]
or eax, eax
je 0x624da9
mov dword [ebx], eax
add ebx, 4
jmp 0x624d81
call dword [esi + 0x2baffc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x624de0
cmp al, 0xef
ja 0x624dd3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x624db5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x624dc2
mov ebp, dword [esi + 0x2bb004]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
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 0x624e14
sub esp, 0xffffff80
jmp 0x4e25e9