joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10049a30
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x10049a62
push esi
call fcn.1004a230
add esp, 4
cmp byte [esi + 0x40], 0
je 0x10049a5b
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
pop ebp
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x10049ade
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x10049acd
mov eax, dword [esi + 8]
test eax, eax
je 0x10049a87
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x10049ac8
cmp eax, 2
je 0x10049acd
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10049a78
cmp eax, 3
je 0x10049aaf
cmp eax, 1
jne 0x10049a78
inc dword [ecx + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 8]
cmp ecx, dword [eax + 8]
jl 0x10049a78
mov ecx, dword [esi + 0x11c]
add dword [eax + 8], ecx
jmp 0x10049a78
xor al, al
pop esi
pop ebp
ret
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x84], edx
call fcn.100496f0
pop esi
pop ebp
ret
cmp eax, 0xcc
je 0x10049b00
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [esi]
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
call fcn.100496f0
pop esi
pop ebp
ret
Function at 0x1004c7e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.10053ca0
push 0x54
push edi
mov dword [ebp - 4], eax
call fcn.10053bf0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x1004c827
push edi
call fcn.10053cb0
mov eax, dword [edi]
mov dword [eax + 0x14], 0x36
mov ecx, dword [edi]
mov dword [ecx + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push edi
call eax
add esp, 8
mov dword [esi], fcn.1004bd00
mov dword [esi + 4], fcn.1004be30
mov dword [esi + 8], fcn.1004bed0
mov dword [esi + 0xc], fcn.1004bf80
mov dword [esi + 0x10], 0x1004c030
mov dword [esi + 0x14], 0x1004c0a0
mov dword [esi + 0x18], 0x1004c110
mov dword [esi + 0x1c], 0x1004c3f0
mov dword [esi + 0x20], 0x1004c540
mov dword [esi + 0x24], fcn.1004c690
mov dword [esi + 0x28], 0x1004c7a0
mov dword [esi + 0x30], 0x3b9aca00
mov ecx, dword [ebp - 4]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x54
push 0x10066e38
mov dword [edi + 4], esi
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
cmp eax, ebx
je 0x1004c8fd
lea edx, [ebp + 0xb]
push edx
lea ecx, [ebp - 4]
push ecx
push 0x10066e30
push eax
mov byte [ebp + 0xb], 0x78
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0x10
test eax, eax
jle 0x1004c8fd
mov al, byte [ebp + 0xb]
cmp al, 0x6d
je 0x1004c8d8
cmp al, 0x4d
jne 0x1004c8f1
mov eax, dword [ebp - 4]
imul eax, eax, 0x3e8
imul eax, eax, 0x3e8
pop edi
mov dword [esi + 0x2c], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
imul eax, eax, 0x3e8
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10052910
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x4c], 1
push esi
mov esi, dword [ebx + 0x1a8]
push edi
mov dword [ebp - 0x10], esi
jne 0x10052938
mov dword [ebp - 4], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x10052943
mov dword [ebp - 4], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push ebx
call eax
xor edi, edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
mov dword [ebp - 8], edi
cmp dword [ebx + 0x64], edi
jle 0x10052a1f
jmp 0x1005297e
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
mov ecx, dword [esi + edi*4 + 0x20]
cdq
idiv ecx
cmp dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
je 0x1005299b
mov edx, dword [esi + 0x18]
add dword [edx + edi*4], 0xff
lea eax, [edx + edi*4]
mov eax, dword [esi + 0x18]
mov edi, dword [eax + edi*4]
dec ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x14], ecx
call fcn.100527b0
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x100529c7
mov ecx, dword [ebp - 0x14]
inc ebx
mov eax, ebx
call fcn.100527b0
mov ecx, eax
cmp esi, ecx
jg 0x100529b6
mov al, byte [ebp - 0xc]
imul bl
mov byte [esi + edi], al
inc esi
cmp esi, 0xff
jle 0x100529b2
cmp dword [ebp - 4], 0
je 0x10052a0c
mov eax, 1
lea ecx, [edi - 1]
jmp 0x100529f0
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x100529f0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ecx + 0x64]
jl 0x10052975
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1005ba3e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1006f180]
jne 0x1005ba48
repz ret
jmp fcn.1005bf6e
Function at 0x404fab
Capabilities:
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x143c
call fcn.00408400
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], 0xc6ef3720
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x20
xor edi, edi
jmp 0x404ff8
mov ecx, dword [ebp - 4]
mov esi, ecx
shl esi, 4
cmp dword [0x969e70], 5
jne 0x40500f
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
add esi, dword [ebp - 0x20]
add eax, ecx
shr ecx, 5
cmp dword [0x969e70], 0x1b
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
jne 0x40504f
lea eax, [ebp + 0xb]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push edi
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
add dword [ebp - 8], ecx
xor eax, esi
push eax
lea eax, [ebp - 8]
push eax
mov dword [0x9647f0], edi
call fcn.00404f55
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00404f37
mov esi, dword [ebp - 0xc]
shl esi, 4
cmp dword [0x969e70], 0x78c
jne 0x4050d1
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push edi
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
lea eax, [ebp - 0x83c]
push eax
push 0x40128c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push edi
lea eax, [ebp - 0x2c]
push eax
push edi
lea eax, [ebp - 0x143c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
or dword [0x9647fc], 0xffffffff
mov eax, edx
shr eax, 5
add eax, dword [ebp - 0x1c]
add esi, ecx
xor esi, eax
xor esi, dword [ebp + 0xc]
mov dword [0x9647f8], 0xff6b3619
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
sub dword [ebp - 4], eax
push 0x9e3779b9
lea eax, [ebp - 0x10]
push eax
call fcn.00404f28
dec dword [ebp - 0x14]
jne 0x404ff5
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx], eax
mov dword [ebx + 4], edx
pop ebx
leave
ret 8
Function at 0x40512f
Capabilities:
Copy file
Get thread local storage value
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [0x969e70], 0x516
jne 0x405154
push esi
push esi
push esi
push 0x4012c0
push 0x4012cc
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressA]
mov eax, dword [ebp + 0xc]
shr eax, 3
cmp eax, esi
jbe 0x4051a3
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, eax
cmp dword [0x969e70], 0x29
jne 0x40517a
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
cmp dword [0x969e70], 0x1c
jne 0x405192
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push dword [ebp + 0x10]
push edi
call fcn.00404fab
add edi, 8
dec ebx
jne 0x405165
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x40a25b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80a1cc]
jne 0x40a265
repz ret
jmp fcn.00412246

Function at 0x416fe4
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.0040da9e
and dword [ebp - 4], 0
cmp dword [0x96aa8c], 0
mov ebx, eax
jne 0x417095
push 0x40418c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x417146
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404180
push edi
call esi
test eax, eax
je 0x417146
push eax
call fcn.0040da2c
mov dword [esp], 0x404170
push edi
mov dword [0x96aa8c], eax
call esi
push eax
call fcn.0040da2c
mov dword [esp], 0x40415c
push edi
mov dword [0x96aa90], eax
call esi
push eax
call fcn.0040da2c
mov dword [esp], 0x404140
push edi
mov dword [0x96aa94], eax
call esi
push eax
call fcn.0040da2c
pop ecx
mov dword [0x96aa9c], eax
test eax, eax
je 0x417095
push 0x404128
push edi
call esi
push eax
call fcn.0040da2c
pop ecx
mov dword [0x96aa98], eax
mov eax, dword [0x96aa98]
cmp eax, ebx
je 0x4170ed
cmp dword [0x96aa9c], ebx
je 0x4170ed
push eax
call fcn.0040daa7
push dword [0x96aa9c]
mov esi, eax
call fcn.0040daa7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4170ed
test edi, edi
je 0x4170ed
call esi
test eax, eax
je 0x4170e4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4170e4
test byte [ebp - 0xc], 1
jne 0x4170ed
or dword [ebp + 0x10], 0x200000
jmp 0x417126
mov eax, dword [0x96aa90]
cmp eax, ebx
je 0x417126
push eax
call fcn.0040daa7
pop ecx
test eax, eax
je 0x417126
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x417126
mov eax, dword [0x96aa94]
cmp eax, ebx
je 0x417126
push eax
call fcn.0040daa7
pop ecx
test eax, eax
je 0x417126
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x96aa8c]
call fcn.0040daa7
pop ecx
test eax, eax
je 0x417146
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x417148
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10022b90
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10022d5d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
or ebp, 0xffffffff
jmp 0x10022bba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10022bc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10022bb0
mov eax, 1
add ebx, ebx
jne 0x10022bd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10022bc8
jne 0x10022be4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10022bc8
xor ecx, ecx
sub eax, 3
jb 0x10022bf8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10022c6a
mov ebp, eax
add ebx, ebx
jne 0x10022c03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10022c10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10022c34
inc ecx
add ebx, ebx
jne 0x10022c20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10022c15
jne 0x10022c31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10022c15
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10022c54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10022c45
jmp 0x10022bb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10022c54
add edi, ecx
jmp 0x10022bb6
pop esi
mov edi, esi
mov ecx, 0x468
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10022c72
cmp byte [edi], 5
jne 0x10022c72
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 0x10022c77
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x10022cef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22504]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2257c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10022ca4
mov ecx, edi
jns 0x10022cd3
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 + 0x22580]
or eax, eax
je 0x10022ce9
mov dword [ebx], eax
add ebx, 4
jmp 0x10022cc1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10022d20
cmp al, 0xef
ja 0x10022d13
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10022cf5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10022d02
mov ebp, dword [esi + 0x22584]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x10022d54
sub esp, 0xffffff80
jmp 0x1001121c
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
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 edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x627cf1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6303c0
cmp edx, dword [eax]
je 0x627d13
add eax, 8
inc ecx
cmp eax, 0x630450
jl 0x627d04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6303c0]
jne 0x627e41
mov eax, dword [0x638d68]
cmp eax, 1
je 0x627e1b
test eax, eax
jne 0x627d44
cmp dword [0x6302e8], 1
je 0x627e1b
cmp edx, 0xfc
je 0x627e41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x627d7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006286d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00628b60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x627dbe
lea eax, [ebp - 0x1a4]
push eax
call fcn.00628b60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62ca54
push edi
call fcn.0062aa30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.006286d0
lea eax, [ebp - 0xa0]
call dword [edi + 0x50]
lea eax, [ebp + 8]
lea esi, [esi + 0x6303c4]
push 0
push eax
push dword [esi]
call fcn.00628b60
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]
Function at 0x4724e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x53000]
push edi
or ebp, 0xffffffff
jmp 0x472502
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x472509
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4724f8
mov eax, 1
add ebx, ebx
jne 0x47251b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47252c
jne 0x47254b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47254b
dec eax
add ebx, ebx
jne 0x472538
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x472510
add ebx, ebx
jne 0x472547
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47259d
xor ecx, ecx
sub eax, 3
jb 0x472563
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4725d2
sar eax, 1
mov ebp, eax
jmp 0x47256e
add ebx, ebx
jne 0x47256e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47253c
inc ecx
add ebx, ebx
jne 0x47257c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47253c
add ebx, ebx
jne 0x472589
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47257e
jne 0x47259a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47257e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4725bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4725ae
jmp 0x4724fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4725bc
add edi, ecx
jmp 0x4724fe
pop esi
mov edi, esi
mov ecx, 0x77d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4725da
cmp byte [edi], 0xa
jne 0x4725da
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 0x4725df
lea edi, [esi + 0x70000]
mov eax, dword [edi]
or eax, eax
je 0x47264e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x73678]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x73704]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47260c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x73708]
or eax, eax
je 0x472648
mov dword [ebx], eax
add ebx, 4
jmp 0x472629
call dword [esi + 0x73718]
mov ebp, dword [esi + 0x7370c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x472682
sub esp, 0xffffff80
jmp 0x410c54
Function at 0x1000cd2c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001701c]
jne 0x1000cd36
repz ret
jmp fcn.1000cfba

Function at 0x1000ef59
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.1000d42d
and dword [ebp - 4], 0
cmp dword [0x10039238], 0
mov ebx, eax
jne 0x1000f00a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000f0bb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000f0bb
push eax
call fcn.1000d3bb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10039238], eax
call esi
push eax
call fcn.1000d3bb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1003923c], eax
call esi
push eax
call fcn.1000d3bb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10039240], eax
call esi
push eax
call fcn.1000d3bb
pop ecx
mov dword [0x10039248], eax
test eax, eax
je 0x1000f00a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000d3bb
pop ecx
mov dword [0x10039244], eax
mov eax, dword [0x10039244]
cmp eax, ebx
je 0x1000f062
cmp dword [0x10039248], ebx
je 0x1000f062
push eax
call fcn.1000d436
push dword [0x10039248]
mov esi, eax
call fcn.1000d436
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000f062
test edi, edi
je 0x1000f062
call esi
test eax, eax
je 0x1000f059
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000f059
test byte [ebp - 0xc], 1
jne 0x1000f062
or dword [ebp + 0x10], 0x200000
jmp 0x1000f09b
mov eax, dword [0x1003923c]
cmp eax, ebx
je 0x1000f09b
push eax
call fcn.1000d436
pop ecx
test eax, eax
je 0x1000f09b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000f09b
mov eax, dword [0x10039240]
cmp eax, ebx
je 0x1000f09b
push eax
call fcn.1000d436
pop ecx
test eax, eax
je 0x1000f09b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10039238]
call fcn.1000d436
pop ecx
test eax, eax
je 0x1000f0bb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000f0bd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret