joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101fa720
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.101fa79f
jae 0x101fa72c
xor ecx, ecx
call fcn.101fa79f
jae 0x101fa756
xor eax, eax
call fcn.101fa79f
jae 0x101fa767
mov al, 0x10
call fcn.101fa79f
adc al, al
jae 0x101fa748
jne 0x101fa794
stosb byte es:[edi], al
jmp 0x101fa72d
call fcn.101fa7ab
dec ecx
loop 0x101fa773
mov eax, ebp
call fcn.101fa7a9
jmp 0x101fa795
lodsb al, byte [esi]
shr eax, 1
je 0x101fa7bb
adc ecx, 2
mov ebp, eax
jmp 0x101fa795
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.101fa7a9
cmp eax, 0x7d00
jae 0x101fa793
cmp eax, 0x500
jae 0x101fa794
cmp eax, 0x7f
ja 0x101fa795
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x101fa72d
pop ebp
ret 8

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x73eb72a4
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x5e9d2284
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x403af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0xb4
mov eax, dword [0x40d004]

Function at 0x403fc0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x4143a0
push 0xcb
push esi
call edi
push 0x64
push 0x4142d8
push 0xd1
push esi
call edi
mov eax, esi
call fcn.004040d0
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x4143a0
push 0x4142d8
push 0
mov dword [0x414468], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x4040c2
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xd1
push esi
mov dword [0x4142d4], edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov esi, eax
push 0
lea eax, [esp + 0x14]
push eax
call edi
test eax, eax
je 0x4040b6
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
push ebp
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
lea esp, [esp]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x4040a3
lea eax, [esp + 0x10]
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call edi
test eax, eax
jne 0x404080
pop ebp
pop ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
add esp, 0x1c
ret 0x10
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret 0x10

Function at 0x4042a8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d004]
jne 0x4042b2
repz ret
jmp fcn.00404467
Function at 0x4063f3
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.004052cc
and dword [ebp - 4], 0
cmp dword [0x4141a8], 0
mov ebx, eax
jne 0x4064a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406555
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406555
push eax
call fcn.0040525a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4141a8], eax
call esi
push eax
call fcn.0040525a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4141ac], eax
call esi
push eax
call fcn.0040525a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4141b0], eax
call esi
push eax
call fcn.0040525a
pop ecx
mov dword [0x4141b8], eax
test eax, eax
je 0x4064a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040525a
pop ecx
mov dword [0x4141b4], eax
mov eax, dword [0x4141b4]
cmp eax, ebx
je 0x4064fc
cmp dword [0x4141b8], ebx
je 0x4064fc
push eax
call fcn.004052d5
push dword [0x4141b8]
mov esi, eax
call fcn.004052d5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4064fc
test edi, edi
je 0x4064fc
call esi
test eax, eax
je 0x4064f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4064f3
test byte [ebp - 0xc], 1
jne 0x4064fc
or dword [ebp + 0x10], 0x200000
jmp 0x406535
mov eax, dword [0x4141ac]
cmp eax, ebx
je 0x406535
push eax
call fcn.004052d5
pop ecx
test eax, eax
je 0x406535
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406535
mov eax, dword [0x4141b0]
cmp eax, ebx
je 0x406535
push eax
call fcn.004052d5
pop ecx
test eax, eax
je 0x406535
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4141a8]
call fcn.004052d5
pop ecx
test eax, eax
je 0x406555
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406557
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x8b94d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x40f000]
push edi
or ebp, 0xffffffff
jmp 0x8b94f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8b94f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b94e8
mov eax, 1
add ebx, ebx
jne 0x8b950b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8b951c
jne 0x8b953b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b953b
dec eax
add ebx, ebx
jne 0x8b9528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8b9500
add ebx, ebx
jne 0x8b9537
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8b958d
xor ecx, ecx
sub eax, 3
jb 0x8b9553
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8b95c2
sar eax, 1
mov ebp, eax
jmp 0x8b955e
add ebx, ebx
jne 0x8b955e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b952c
inc ecx
add ebx, ebx
jne 0x8b956c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b952c
add ebx, ebx
jne 0x8b9579
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8b956e
jne 0x8b958a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8b956e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8b95ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8b959e
jmp 0x8b94ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8b95ac
add edi, ecx
jmp 0x8b94ee
pop esi
mov edi, esi
mov ecx, 0x54d9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8b95ca
cmp byte [edi], 0x22
jne 0x8b95ca
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 0x8b95cf
lea edi, [esi + 0x4b7000]
mov eax, dword [edi]
or eax, eax
je 0x8b9647
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4b98ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4b9928]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8b95fc
mov ecx, edi
jns 0x8b962b
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 + 0x4b992c]
or eax, eax
je 0x8b9641
mov dword [ebx], eax
add ebx, 4
jmp 0x8b9619
call dword [esi + 0x4b993c]
mov ebp, dword [esi + 0x4b9930]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x8b967b
sub esp, 0xffffff80
jmp 0x41e3a4
Function at 0x402770
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4051d0
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 pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405209
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040324c
jmp 0x405212
mov eax, ebx
mov edx, esi
call fcn.00403200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40658c
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
pushfd
add eax, dword [0x40ba34]
dec eax
rol esi, 0x14
add dword [0x40b94b], esi
call fcn.0040155e
dec esi
rol esi, 0xa
sub dword [0x40b472], edi
add edi, 0x2eb48034
sub ecx, dword [0x40bc95]
sub ecx, 0x21509f0
xor ebx, esp
call fcn.00403bd5
inc edx
sub esi, 0x5e342aae
not ebx
add ecx, dword [0x40bede]
xor edx, edi
invalid
invalid
Function at 0x406a1c
Capabilities:
Encrypt data using chaskey

Disassembly:
or edx, ebx
and ecx, 0x7ff4b943
test edx, 0x94e19381
jbe 0x406a30
rol dword [ecx - 0xb46bc1f], cl
jg 0x406a1b
ret 0x9381
mov ecx, 0xcc3cbb7
shr ebx, 9
dec esi
xchg ebx, eax
call fcn.004098c2
test esp, 0xb88146b3
jne 0x406a49
sub ebx, 0xc9d4fec2
shl ebx, 0x1c
shr edi, 0x16
cmp ecx, 0xf4d361ef
jne 0x406a5d
and ebx, dword [0x40b39f]
mov esi, dword [0x40b298]
rol eax, 0x18
sub edi, dword [0x40b1cb]
loop 0x406a30
mov ecx, 0xf1fb24b
mov edx, esi
and edi, ecx
not edi
xor dword [0x40b47c], edx
xchg edi, eax
call fcn.00401eae
neg edx
call fcn.00401629
cmp dword [0x40b313], esp
jge 0x406a9b
xor edi, 0x48e0f7dd
call fcn.004098c2
dec esi
mov dword [0x40b914], esi
xor dword [0x40b8c7], edx
loop 0x406a73
mov ecx, 0x2e407ef
shl edx, 4
dec edi
xchg edi, edx
xor ebx, 0xc6f688b0
xchg edx, eax
xor eax, edi
and edx, dword [0x40b2f4]
shr ebx, 0x1c
test edx, 0x3004d2b5
ja 0x406ad7
xor edi, ecx
mov ebx, ebx
inc edi
sub edx, 0x4c6276b5
sub esi, dword [0x40b0a4]
loop 0x406ab4
inc esi
xchg esi, edx
push 0x40d52a
sub ecx, dword [0x40b0f0]
xor eax, 0x4524fbe
rol ebx, 0xe
call fcn.0040568d
or dword [0x40b8d6], ebx
mov dword [0x40b9e0], ebx
ror ecx, 0x13
xor eax, 0x4ba7357f
dec esi
neg ebx
add dword [0x40b51b], 0x5b028bd0
xchg ebx, eax
call fcn.00407e60
sub dword [0x40b6c8], eax
sub eax, ecx
xor ebx, ecx
add eax, esp
sub eax, 0x2a48037
or edi, dword [0x40b34c]
sub edx, esp
call fcn.00407c04
call dword [sym.imp.kernel32.dll_LoadLibraryA]
inc eax
add byte [ecx], cl
sbb eax, 0x40b540
add edx, ebp
inc esi
not edx
add edx, dword [0x40bcaf]
xor ebx, ebp
or dword [0x40b9ac], eax
sub edi, dword [0x40bb9b]
neg ebx
xor ebx, dword [0x40bb8f]
sub edx, dword [0x40bcdc]
inc ebx
ror edx, 0x1d
xor eax, dword [0x40bc76]
inc eax
sub dword [0x40b932], esi
mov dword [0x40b644], edx
dec eax
rol edx, 0x1d
dec ebx
neg ebx
mov dword [0x40b7ca], esi
xor ebx, ebp
not edx
dec esi
sub edx, ebp
or dword [0x40b616], ebx
mov esi, 0x401b2ca1
add ecx, 0xb5c24728
xchg eax, esi
xor dword [0x40b52e], ebx
add edi, dword [0x40bef2]
call fcn.00408bd2
neg edx
xor dword [0x40b6ac], edi
xor ebx, ebp
add eax, dword [0x40bc76]
inc esi
mov dword [0x40b7e7], edi
dec esi
xor ebx, ebp
add dword [0x40b7bf], edi
neg edx
call fcn.0040863f
or dword [0x40b53b], esi
xchg eax, esi
invalid
invalid
invalid

Function at 0x408f90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408f44
test al, al
jne 0x408fb1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x408ffd
xor eax, eax
push ebp
push 0x408fed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004033e8
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408ff4
lea eax, [ebp - 0xc]
call fcn.00408f80
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409304
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4093f3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call 0x406cc8
mov edx, dword [ebp - 8]
mov ecx, 0x40940c
xor eax, eax
call fcn.004091f8
push 0
mov eax, dword [ebp - 4]
call fcn.004033e8
push eax
call sub.kernel32.dll_CreateDirectoryA
test eax, eax
jne 0x4093c1
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 0xb7
je 0x409324
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 4]
mov al, 0x35
call fcn.00408dac
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404c58
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00407258
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x14]
mov ecx, 2
mov al, 0x67
call fcn.00408d7c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, 0x404624
call fcn.00405854
call fcn.00402e88
jmp 0x409324
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00403200
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4093fa
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040318c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040318c
ret
Function at 0x409b04
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409bb8
jmp 0x409bad
cmp dword [esi + 0x10], 0x1000
jne 0x409b99
test byte [esi + 0x15], 1
jne 0x409b99
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b58
cmp eax, 2
je 0x409b58
cmp eax, 0x10
je 0x409b58
cmp eax, 0x20
jne 0x409b6d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b6d
mov bl, 1
xor ebp, ebp
jmp 0x409b7e
mov eax, dword [esi]
add eax, ebp
call fcn.00409afc
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b71
test bl, bl
je 0x409b99
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409bb8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b30
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x43b660
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edi
mov ebx, ebx
call fcn.0043b6a0
inc ebx
sub ebx, 1
xor dword [edx], edi
push 0x9dac17f
pop ebx
add ecx, ecx
sub ebx, ecx
inc edx
mov ecx, 0x4943edff
inc ebx
sub ecx, 0xda469ab0
cmp edx, eax
jne fcn.0043b660
and ebx, ecx
sub ecx, 0x97165553
ret
Function at 0x40a9a0
Capabilities:
Encode data using xor

Disassembly:
nop
nop
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x23]
mov edx, dword [edi]
test edx, edx
mov dword [ebp - 8], edx
jne 0x40a99e
and byte [esi + 0x33], bl
rcr byte [ebx - 0x75], 0xe5
xor eax, eax
pop ebx
mov esp, ebp
xor dl, al
mov ebp, 0x4f558b00
mov edx, dword [edx]
adc al, 0x27
cmp dword [eax], eax
je 0x40a9b5
mov esi, dword [ebp - 0x1e]
xor edi, dword [edx - 0x76]
push es
inc esi
test al, al
mov edx, esi
or byte [eax + 0x19], bh
movsd dword es:[edi], dword [esi]
mov dword [ebx], ebx
mov edx, dword [ecx]
dec edx
adc edx, dword [ecx]
mov ecx, dword [ebp + 0x10]
and cl, byte [ecx + 0x2c18301]
mov dword [ebp + 0x2c], ecx
dec ebx
enter 1, 0
mov ecx, eax
sub dword [0xd60000c0], 0xfc07280
test dword [edi - 0x67000000], eax
mov edi, 0xe0
mov ecx, eax
mov dword [ebp - 0x10], edx
and ecx, edi
xor ebx, ebx
mov esi, 0x378d
mov dl, dl
jg 0x40a9b7
mov dword [edi - 4], esp
add dword [ebp - 0x14], 0xd33b3475
jne 0x40aa2f
mov eax, edi
mov edx, ebx
mov ecx, 1
add byte [eax], al
call 0x3841a010
or edi, eax
or ebx, edx
inc esi
dec esp
inc byte [ebx]
mov dword [ebp - 4], esi
ja 0x40aa8b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
and eax, edi
and ecx, ebx
cmp eax, edi
push ebx
mov bh, byte [ebx]
jle 0x40aac8
ror dword [ebx + 0x558b4145], cl
pop ebp
mov ah, 0xcb
mov byte [0x23fd8bd1], al
retf 0x5595
pop edi
pop esi
mov eax, 0x16
int 0x8b
in eax, 0x5d
dec esp
adc byte [eax], al
or byte [esi], 0xad
push ds
mov edx, dword [ebp + 8]
shld ebx, edi, 1
mov al, byte [edx]
add edi, edi
and al, 0x7d
and eax, 0x950000ff
pop esi
and edx, dword [ebx + 0x74c20bd3]
shl dword [edx - 0x57c03ab], cl
add dh, cl
adc dword [ebx + 0x2d540dae], eax
xchg ebp, eax
leave
jne 0x40aaf2
sub dword [ebx + 0xf60810], ecx
and bl, ch
pop ds
cmp edx, 3
jne 0x40aaf2
mov edx, dword [eax]
or dh, dh
add byte [eax], ah
jmp 0x40aaf0
test ecx, ecx
jg 0x40aa8b
jl 0x40ab21
cmp esi, 4
ja 0x40ab38
cmp esi, 4
jne 0x40aaf2
test ecx, ecx
jne 0x40aaf2
mov eax, dword [ebp + 8]
div byte [eax + 0x60]
mov edi, 0x147d8b99
mov edi, dword [ebp + 0x14]
mov eax, 2
sbb edx, eax
mov ebx, dword [edi]
sbb eax, eax
ret
hlt
and edx, 0x7200c0
inc edi
cmp dl, 0x80
mov dword [ebp + 8], edi
jne 0xd840aa8b
shld dword [esi - 0x36], ebx, 0x83
loopne 0x40ab7a
and eax, 0x3f
cdq
push edi
out 6, al
or eax, esi
and al, 0xe6
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
mov ecx, edx
jne 0x40ab14
add dword [ebp - 8], eax
mov esp, dword [esi - 0x743dd40c]
push ebp
or al, 0x85
leave
ljmp 0x8108
sbb byte [ebx + eax*8], al
inc byte [ecx - 0xffff3a]
xchg edi, eax
jbe 0x40ab57
lds ecx, [ecx - 0x742e74e8]
invalid
Function at 0x5b3240
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10d000]
push edi
or ebp, 0xffffffff
jmp 0x5b3262
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5b3269
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b3258
mov eax, 1
add ebx, ebx
jne 0x5b327b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5b3270
jne 0x5b328c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5b3270
xor ecx, ecx
sub eax, 3
jb 0x5b32a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5b3312
mov ebp, eax
add ebx, ebx
jne 0x5b32ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x5b32b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5b32dc
inc ecx
add ebx, ebx
jne 0x5b32c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5b32bd
jne 0x5b32d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5b32bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5b32fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5b32ed
jmp 0x5b325e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5b32fc
add edi, ecx
jmp 0x5b325e
pop esi
mov edi, esi
mov ecx, 0x6395
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5b331a
cmp byte [edi], 0x1e
jne 0x5b331a
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 0x5b331f
lea edi, [esi + 0x1af000]
mov eax, dword [edi]
or eax, eax
je 0x5b3397
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c4e90]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c4fe4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5b334c
mov ecx, edi
jns 0x5b337b
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 + 0x1c4fe8]
or eax, eax
je 0x5b3391
mov dword [ebx], eax
add ebx, 4
jmp 0x5b3369
call dword [esi + 0x1c4ff8]
mov ebp, dword [esi + 0x1c4fec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x5b33cb
sub esp, 0xffffff80
jmp 0x4be50f
Function at 0x40738c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040a080
test esi, esi
jne 0x4073c2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040a218
jmp 0x4073e0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040726c
mov edi, eax
test esi, esi
je 0x4073e0
cmp dword [ebx], 0
je 0x4073e0
dec esi
jmp 0x4073c9
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x408cc8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00409188
mov byte [esp], al
cmp byte [esp], 0
jne 0x408e51
test edi, edi
je 0x408e51
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408d91
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408d6c
cmp edi, 0xffffffff
je 0x408d2d
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408d2d
mov byte [esp], 0
jmp 0x408e51
cmp dword [esi], 1
jg 0x408d6c
cmp dword [esi], 0
jne 0x408d5e
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408d5e
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408e51
lea eax, [esp + 0xc]
call fcn.00408978
dec ebp
test ebp, ebp
jg 0x408d12
cmp edi, 0xffffffff
je 0x408d91
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408d8f
mov byte [esp], 0
jmp 0x408e51
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408cd6
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408d91
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00408ecc
mov edx, eax
mov ebx, dword [0x5e48fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408df5
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408df3
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408df5
xor edi, edi
cmp byte [esp], 0
je 0x408e1b
mov ebx, dword [esi]
test bl, 1
jne 0x408e31
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408dfb
mov byte [esp + 1], 1
jmp 0x408e31
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408e1b
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408da8
cmp byte [esp], 0
je 0x408e51
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret