joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449450
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x449601
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00422f7c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x449618
call fcn.00422be0
mov eax, ebx
call fcn.0040f628
mov edi, eax
dec edi
test edi, edi
jl 0x449508
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0040f5fc
mov edx, dword [0x4298a4]
call fcn.00421f1c
test al, al
je 0x449504
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0040f5fc
lea edx, [ebp - 0x14]
call fcn.0044f1f8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00422f7c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00422c54
inc esi
dec edi
jne 0x4494b6
mov al, byte [0x44961c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x449628
mov eax, dword [ebp - 0xc]
call fcn.00415c08
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00422974
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044f1f8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x449618
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0044f1f8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x449618
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x449618
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x449634
call fcn.00413318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449608
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00422900
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00422900
lea eax, [ebp - 0x14]
call fcn.004228dc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00422900
ret
Function at 0x44cd60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x46c7a0], 0
je 0x44ceaf
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46ba00]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44ceaf
mov eax, dword [0x46c7a4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46c7a0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44ce7e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46c7a0]
call fcn.00407354
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44ce76
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x44ce76
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44ce76
mov eax, dword [ebp - 0x14]
call fcn.0045587c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x44ce76
push ebp
call fcn.0044cd1c
pop ecx
test al, al
jne 0x44ce76
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x44ce32
mov eax, dword [ebp - 0x14]
call fcn.00454410
dec eax
jle 0x44ce76
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00421f8c
cmp byte [ebp - 1], 0
je 0x44ce76
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x44ce76
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46c7a4]
call fcn.0044c4e4
inc edi
dec ebx
jne 0x44cdc5
mov eax, dword [0x46c7a4]
cmp dword [eax + 8], 0
jle 0x44ce96
mov eax, dword [0x46c7a4]
call fcn.0044c574
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44ceaf
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044cb84
pop ecx
test al, al
jne 0x44ceaf
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45046c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4504b8
mov eax, esi
call fcn.0043da14
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4504b8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4504b8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x4505f7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4504f8
cmp eax, 0x108
ja 0x4504f8
mov eax, esi
call fcn.0043da14
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4505ee
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x4505f7
jmp 0x4505ee
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4505d7
cmp eax, 0x20a
ja 0x4505d7
test byte [esi + 0x50], 0x80
jne 0x45052a
sub eax, 0x203
je 0x450527
sub eax, 3
je 0x450527
sub eax, 3
jne 0x45052a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x45053e
dec eax
je 0x450553
dec eax
je 0x450570
dec eax
je 0x450553
jmp 0x450577
mov ecx, ebx
mov eax, dword [0x46ba00]
mov eax, dword [eax]
mov edx, esi
call fcn.00447410
jmp 0x4505ee
cmp byte [esi + 0x5d], 1
jne 0x450569
mov eax, esi
mov si, 0xffed
call fcn.00421f8c
jmp 0x4505f7
or word [esi + 0x54], 1
jmp 0x4505ee
and word [esi + 0x54], 0xfffe
jmp 0x4505ee
mov eax, dword [0x46c75c]
cmp byte [eax + 0x20], 0
je 0x4505ee
mov eax, dword [0x46c75c]
cmp dword [eax + 0x1c], 0
je 0x4505ee
mov eax, dword [ebx]
mov edx, dword [0x46c75c]
cmp eax, dword [edx + 0x1c]
jne 0x4505ee
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0043d958
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00421f8c
jmp 0x4505f7
cmp eax, 0xb00b
jne 0x4505ee
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044ed98
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453aac
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x453ac8
cmp dword [esi + 4], 0
je 0x453af5
test byte [ebx + 0x55], 1
jne 0x453ae7
mov eax, ebx
call fcn.00452704
test eax, eax
jne 0x453ae7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x453c05
mov edx, esi
mov eax, ebx
call fcn.004535cc
jmp 0x453c05
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x453bfe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045587c
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004503a0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00453aac
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045587c
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453c05
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a0a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46b9ec]
cmp byte [eax + 0xc], 0
je 0x45a20d
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45a206
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46c7b0], 0
jne 0x45a0f4
push 0x45a214
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x45a21c
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c7b0], eax
cmp dword [0x468414], 0
jne 0x45a1ef
push 0x45a22c
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x468414], eax
cmp dword [0x468414], 0
je 0x45a1ef
push 0x45a238
mov eax, dword [0x468414]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c7b4], eax
push 0x45a248
mov eax, dword [0x468414]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c7b8], eax
push 0x45a25c
mov eax, dword [0x468414]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c7bc], eax
push 0x45a274
mov eax, dword [0x468414]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c7c0], eax
push 0x45a28c
mov eax, dword [0x468414]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c7c4], eax
push 0x45a2a0
mov eax, dword [0x468414]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c7c8], eax
push 0x45a2b8
mov eax, dword [0x468414]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c7cc], eax
push 0x45a2d0
mov eax, dword [0x468414]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c7d0], eax
push 0x45a2ec
mov eax, dword [0x468414]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c7d4], eax
push 0x45a2f8
mov eax, dword [0x468414]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46c7d8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a20d
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4605a0
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 0x460602
call fcn.00460550
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0045b688
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.0045b688
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 0x460680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x46a074], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x46075a
cmp dword [0x46a070], 0
jne 0x46075a
cmp dword [0x46a254], 0
je 0x460714
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.00460450
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4606fa
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00460450
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4606fa
lea ebx, [ebp - 0x84]
jmp 0x4606fb
inc ebx
call fcn.0046063c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x460795
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x46a078
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0045b688
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x46a07b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x460795
cmp dword [0x46a070], 0
je 0x460774
cmp dword [0x46a070], 0xffffffff
je 0x460795
push esi
call dword [0x46a070]
pop ecx
mov eax, dword [0x46a074]
test eax, eax
je 0x460795
cmp dword [0x46a074], 0xffffffff
je 0x460795
cmp byte [eax], 0
je 0x460795
push esi
push eax
call fcn.004605a0
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460f2c
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x46d03c], 0
jne 0x460fad
cmp dword [0x46d05c], 0
jne 0x460f5c
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x46d05c], eax
test eax, eax
jne 0x460f5c
push str.GetEnvironmentStrings_failed
call fcn.004607ac
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x46d05c]
jmp 0x460f70
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0045b688
pop ecx
mov edi, eax
test eax, eax
jne 0x460f68
lea edi, [ebp + 1]
push edi
call fcn.0045af8c
pop ecx
mov ebx, eax
mov dword [0x46d040], ebx
test ebx, ebx
jne 0x460f9a
xor eax, eax
jmp 0x461070
push edi
mov edx, dword [0x46d05c]
push edx
push ebx
call fcn.0045b538
add esp, 0xc
jmp 0x460fcd
xor esi, esi
mov ebx, dword [0x46d03c]
jmp 0x460fc7
push eax
call fcn.0045b688
pop ecx
test eax, eax
jne 0x460fc3
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x460fb7
lea ebx, [esi + 4]
push 4
mov dword [0x46d044], ebx
inc ebx
push ebx
call fcn.0045aa64
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x460ff0
xor eax, eax
jmp 0x461070
cmp dword [0x46d03c], 0
jne 0x461021
xor esi, esi
mov ebx, dword [0x46d040]
mov eax, dword [esp]
mov ebp, eax
jmp 0x461012
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0045b688
pop ecx
mov edi, eax
test eax, eax
jne 0x461008
jmp 0x461052
xor esi, esi
mov ebx, dword [0x46d03c]
mov eax, dword [esp]
mov edi, eax
jmp 0x46104c
push eax
call fcn.0045b688
pop ecx
test eax, eax
je 0x461041
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x461045
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x461030
mov eax, dword [0x46d03c]
test eax, eax
je 0x461062
push eax
call fcn.0045af9c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x46d03c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x417f50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
jmp 0x417f6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417f71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417f60
mov eax, 1
add ebx, ebx
jne 0x417f83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417f78
jne 0x417f94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417f78
xor ecx, ecx
sub eax, 3
jb 0x417fa8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41801a
mov ebp, eax
add ebx, ebx
jne 0x417fb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417fc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417fe4
inc ecx
add ebx, ebx
jne 0x417fd0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417fc5
jne 0x417fe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417fc5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x418004
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417ff5
jmp 0x417f66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x418004
add edi, ecx
jmp 0x417f66
pop esi
mov edi, esi
mov ecx, 0x30c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x418022
cmp byte [edi], 4
jne 0x418022
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 0x418027
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x41809f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x418054
mov ecx, edi
jns 0x418083
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 + 0x1807c]
or eax, eax
je 0x418099
mov dword [ebx], eax
add ebx, 4
jmp 0x418071
call dword [esi + 0x1808c]
mov ebp, dword [esi + 0x18080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4180d3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401000
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ecx
push esi
push 0x405080
push 0x405074
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [esp + 4], 0
test esi, esi
je 0x401044
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov eax, dword [esp + 4]
test eax, eax
je 0x401044
push 0x405060
jmp 0x401049
push 0x405050
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_WinExec]
push 0
push 0x405040
call esi
push 1
push 0x405030
call esi
xor eax, eax
pop esi
pop ecx
ret 0x10

Function at 0x401cb5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x405140
cmp edx, dword [eax]
je 0x401cd7
add eax, 8
inc ecx
cmp eax, 0x4051d0
jl 0x401cc8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x405140]
jne 0x401e05
mov eax, dword [0x4054f8]
cmp eax, 1
je 0x401ddf
test eax, eax
jne 0x401d08
cmp dword [0x405094], 1
je 0x401ddf
cmp edx, 0xfc
je 0x401e05
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401d3f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402260
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004023d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x401d82
lea eax, [ebp - 0x1a4]
push eax
call fcn.004023d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x404380
push edi
call fcn.00403060
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402260
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402270
lea eax, [ebp - 0xa0]
push 0x404360
push eax
call fcn.00402270
push dword [esi + 0x405144]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402270
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00402fce
add esp, 0x2c
pop edi
jmp 0x401e05
lea eax, [ebp + 8]
lea esi, [esi + 0x405144]
push 0
push eax
push dword [esi]
call fcn.004023d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x40273a
Capabilities:
Terminate process

Disassembly:
call section..text
push 0
push 0x405018
push 0x405014
call fcn.00402d33
push 0
push 0x405020
push 0x40501c
call fcn.00402d33
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4033d2
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x405a64]
test eax, eax
je 0x4033eb
call eax
test eax, eax
jne 0x4033eb
push 0xfffffffffffffffe
jmp 0x403405
push 1
push 0x405010
push 0x405008
call fcn.00402d33
add esp, 0xc
test eax, eax
je 0x40340b
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x405004
push section..data
call fcn.00402d33
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x403431
mov esi, 0x404c31
mov cl, 0x20
jmp 0x40343a
cmp al, 0x20
ja 0x403444
inc esi
mov al, byte [esi]
test al, al
jne 0x403435
cmp al, 0x20
jbe 0x40345b
mov al, byte [esi]
cmp al, 0x22
jne 0x40344d
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x403446
jmp 0x40345b
cmp al, cl
ja 0x403461
inc esi
mov al, byte [esi]
test al, al
jne 0x403456
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x40348a
movzx eax, word [ebp - 0x14]
jmp 0x40348d
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0040273a
pop ecx
pop esi
leave
ret

Function at 0x4034c8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x4053b6], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0xfffffc18
push 0xfffffc18
push 0xcf0000
push 0x4058c0
push 0x405928
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x403512
xor eax, eax
jmp 0x403529
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret