joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ffc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a03c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403501
and dword [ebp - 0x14], 0
cmp dword [0x40b7f0], 0
mov dword [ebp - 0x18], eax
jne 0x4050af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405157
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405157
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b7f0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b7f4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b7f8], eax
call edi
push eax
call esi
mov dword [0x40b800], eax
test eax, eax
je 0x4050af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b7fc], eax
mov eax, dword [0x40b7fc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405108
cmp dword [0x40b800], ecx
je 0x405108
push eax
call esi
push dword [0x40b800]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405108
test ebx, ebx
je 0x405108
call edi
test eax, eax
je 0x4050ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4050ff
test byte [ebp - 8], 1
jne 0x405108
or dword [ebp + 0x10], 0x200000
jmp 0x40513b
mov eax, dword [0x40b7f4]
cmp eax, dword [ebp - 0x18]
je 0x40513b
push eax
call esi
test eax, eax
je 0x40513b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40513b
mov eax, dword [0x40b7f8]
cmp eax, dword [ebp - 0x18]
je 0x40513b
push eax
call esi
test eax, eax
je 0x40513b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b7f0]
call esi
test eax, eax
je 0x405157
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405159
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a80
leave
ret
Function at 0x45bb1a
Capabilities:
Encode data using xor

Disassembly:
lea ecx, [ebx + 9]
push 0xffffffffffffffff
push dword [ecx + 0x33]
pop edx
add ecx, dword [edx + ebx + 0x78]
jmp 0x45bd8f
add dword [esp], ebx
xchg edx, edx
mov eax, dword [esp - 4]
pop esi
jmp eax
ret
pop edx
mov ah, ah
mov edi, dword [ecx + 0x17]
mov eax, dword [edi + ebx]
inc edx
add edi, 4
lea esi, [eax + ebx - 3]
xchg al, ah
cmp edx, dword [ecx + 0xf]
jae 0x45bd17
push ebx
dec ebx
xor eax, eax
push ecx
imul eax, eax, 0xf
movzx ecx, byte [esi + 3]
sub eax, ecx
xor ebx, 0xd9d154e2
sub esi, 0xffffffee
lea esi, [esi - 0x11]
cmp byte [esi + 3], 0xa
jae 0x45bdb0
not bh
and al, 0xff
xor eax, dword [esp + 0xc]
pop ecx
pop ebx
xor eax, 0xef5cf0ee
jne 0x45bd95
sbb ah, 0xc7
nop
sub ecx, 0xffffffef
add esp, 8
push dword [ecx + 2]
pop edi
add edi, ebx
add edx, edx
add edx, ebx
mov esi, dword [ecx + 0xa]
mov ax, word [edx + esi]
dec ecx
shl eax, 0x10
shr eax, 0xe
push dword [eax + edi]
jmp 0x45bcf9

Function at 0x45bd51
Capabilities:
Encode data using xor

Disassembly:
push eax
inc esi
inc cl
rdtsc
nop
xchg ecx, ecx
pop esi
ret
push 8
xor dh, dl
call dword [esp + 0x58]
dec dl
inc dword [ebp - 0x17c]
call dword [esp + 0x58]
push esp
call dword [esp + 0x5c]
nop
mov eax, ecx
mov edx, 0xffef26c5
sub ch, ch
test eax, ebp
call dword [esp + 0x5c]
call dword [esp + 0x58]
call edi
xchg ch, ch
cmp esi, eax
je fcn.0045bd51
mov cl, 0x40
not esi
jmp 0x45bc07
Function at 0x4033e0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404908
test esi, esi
jne 0x403416
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004049f8
jmp 0x403434
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004032e4
mov edi, eax
test esi, esi
je 0x403434
cmp dword [ebx], 0
je 0x403434
dec esi
jmp 0x40341d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403a30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x41b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403ac8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403aa8
xor eax, eax
push ebp
push 0x403aa1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403ae4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403aa8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x41b020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x41b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404768
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41d044], 0
je 0x4047c9
cmp word [0x41d218], 0xd7b2
jne 0x404791
cmp dword [0x41d220], 0
jbe 0x404791
mov eax, 0x41d214
call dword [0x41d230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4047f0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41b02c], 0
jne 0x4047e5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ddc
Capabilities:
Get geographical location
Query or enumerate registry value

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_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40600c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405e5f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40600c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405e5f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406028
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405ee8
xor eax, eax
push ebp
push 0x405ee1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405c18
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405ec6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406048
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405ec6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ee8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406002
cmp byte [ebp - 0xd], 0
jne 0x405f2f
cmp byte [ebp - 0x12], 0
je 0x406002
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405f48
dec ebx
cmp byte [ebx], 0x2e
je 0x405f57
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405f47
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406002
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405f94
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406002
cmp byte [ebp - 0xd], 0
je 0x406002
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x406002
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a0d8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40a12a
test eax, edx
je 0x40a12d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x40a0ed
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40a113
add ecx, 4
js 0x40a103
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x40a110
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x40a139
test edx, edx
jne 0x40a0e0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40a810
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00404d74
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a82e
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x40a84f
cmp ebx, 3
je 0x40a84f
cmp ebx, 0x7b
je 0x40a84f
mov eax, esi
call fcn.0040a7d0
test al, al
jne 0x40a853
xor eax, eax
jmp 0x40a855
mov al, 1
pop esi
pop ebx
ret

Function at 0x40a858
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404d74
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40a871
test al, 0x10
jne 0x40a875
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40d470
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_1
test eax, eax
jle 0x40d4a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004049f8
jmp 0x40d4b2
mov eax, ebx
mov edx, esi
call fcn.0040495c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40d4bc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40d4de
movzx eax, byte [esp]
jmp 0x40d4e0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40db70
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40d9e8
mov eax, dword [0x41c6e0]
cmp byte [eax], 0
je 0x40dbec
mov eax, dword [0x41c5f0]
call fcn.004034c8
call fcn.00403150
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040ac5c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40dc34
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40dc22
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41c5c8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x41f7f0]
call fcn.00405bc0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40f754
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc00
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00404908
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.00404d74
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
mov ebx, eax
cmp ebx, 0x400
jge 0x40f799
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.004049f8
jmp 0x40f7b2
mov edx, ebx
dec edx
mov eax, esi
call fcn.00404f58
push ebx
mov eax, dword [esi]
call fcn.00404d74
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableA
add esp, 0x400
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x418b70
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 0x174], edx
mov edi, eax
lea eax, [ebp - 0x170]
mov edx, dword [0x4092f4]
call fcn.0040527c
xor eax, eax
push ebp
push 0x418d3f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, edi
call fcn.0040a858
test al, al
je 0x418d03
mov bl, 1
mov eax, dword [ebp - 0x174]
call fcn.0040a87c
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040e82c
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x174]
call fcn.0040e82c
lea eax, [ebp - 0x178]
mov ecx, 0x418d58
mov edx, dword [ebp - 4]
call fcn.00404bfc
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x170]
mov edx, 0x3f
call fcn.0040a9f8
test eax, eax
jne 0x418cf8
cmp dword [ebp - 0x15c], 0
je 0x418ce5
mov eax, dword [ebp - 0x15c]
mov edx, 0x418d64
call fcn.00404d0c
je 0x418ce5
mov eax, dword [ebp - 0x15c]
mov edx, 0x418d70
call fcn.00404d0c
je 0x418ce5
test esi, esi
je 0x418c85
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0x15c]
call fcn.0040ab48
mov eax, dword [ebp - 0x17c]
mov edx, esi
call fcn.0040a1dc
test al, al
jne 0x418ce5
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 4]
call fcn.00404bfc
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 8]
call fcn.00404bfc
mov eax, dword [ebp - 0x160]
test al, 0x10
je 0x418cc2
mov ecx, esi
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00418b70
mov ebx, eax
jmp 0x418ce1
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404d74
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d74
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x418d03
lea eax, [ebp - 0x170]
call fcn.0040aa48
test eax, eax
je 0x418c26
lea eax, [ebp - 0x170]
call fcn.0040aa6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418d46
lea eax, [ebp - 0x17c]
mov edx, 2
call fcn.0040492c
lea eax, [ebp - 0x170]
mov edx, dword [0x4092f4]
call fcn.00405340
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040492c
ret
Function at 0x418fbc
Capabilities:
Query service configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404908
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov ebx, eax
test ebx, ebx
je 0x4190a0
push 1
mov eax, esi
call fcn.00404d74
push eax
push ebx
call sub.advapi32.dll_OpenServiceA
mov esi, eax
test esi, esi
jne 0x419008
push ebx
call sub.advapi32.dll_CloseServiceHandle
jmp 0x4190a0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
call sub.advapi32.dll_QueryServiceConfigA
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x419094
mov edi, dword [ebp - 0xc]
mov eax, edi
call fcn.00402fb8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41908d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push edi
mov eax, dword [ebp - 8]
push eax
push esi
call sub.advapi32.dll_QueryServiceConfigA
test eax, eax
jne 0x419069
push esi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
mov eax, dword [ebp - 8]
call fcn.00402fd4
call fcn.004043dc
jmp 0x4190a0
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
call fcn.00404b00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4190a0
mov eax, dword [ebp - 8]
call fcn.00402fd4
ret
push esi
call sub.advapi32.dll_CloseServiceHandle
push ebx
call sub.advapi32.dll_CloseServiceHandle
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ee50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x18000]
push edi
or ebp, 0xffffffff
jmp 0x41ee72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ee79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ee68
mov eax, 1
add ebx, ebx
jne 0x41ee8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ee80
jne 0x41ee9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ee80
xor ecx, ecx
sub eax, 3
jb 0x41eeb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ef22
mov ebp, eax
add ebx, ebx
jne 0x41eebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41eec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41eeec
inc ecx
add ebx, ebx
jne 0x41eed8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41eecd
jne 0x41eee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41eecd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ef0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41eefd
jmp 0x41ee6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ef0c
add edi, ecx
jmp 0x41ee6e
pop esi
mov edi, esi
mov ecx, 0x90
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ef2a
cmp byte [edi], 1
jne 0x41ef2a
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 eax, ebx
loop 0x41ef2f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41efa7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1f1ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1f1e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ef5c
mov ecx, edi
jns 0x41ef8b
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 + 0x1f1ec]
or eax, eax
je 0x41efa1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ef79
call dword [esi + 0x1f1f0]
popal
jmp 0x401598
Function at 0x1f04430
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x195a000]
push edi
or ebp, 0xffffffff
jmp 0x1f04452
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1f04459
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f04448
mov eax, 1
add ebx, ebx
jne 0x1f0446b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1f0447c
jne 0x1f0449b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f0449b
dec eax
add ebx, ebx
jne 0x1f04488
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1f04460
add ebx, ebx
jne 0x1f04497
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1f044ed
xor ecx, ecx
sub eax, 3
jb 0x1f044b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1f04522
sar eax, 1
mov ebp, eax
jmp 0x1f044be
add ebx, ebx
jne 0x1f044be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f0448c
inc ecx
add ebx, ebx
jne 0x1f044cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1f0448c
add ebx, ebx
jne 0x1f044d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1f044ce
jne 0x1f044ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1f044ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1f0450c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1f044fe
jmp 0x1f0444e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1f0450c
add edi, ecx
jmp 0x1f0444e
pop esi
mov edi, esi
mov ecx, 0x1a8cc
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1f0452a
cmp byte [edi], 0x79
jne 0x1f0452a
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 0x1f0452f
lea edi, [esi + 0x1ac8000]
mov eax, dword [edi]
or eax, eax
je 0x1f0459e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2f6def0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2f6e020]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1f0455c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2f6e028]
or eax, eax
je 0x1f04598
mov dword [ebx], eax
add ebx, 4
jmp 0x1f04579
call dword [esi + 0x2f6e024]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1f045cf
cmp al, 0xef
ja 0x1f045c2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1f045a4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1f045b1
mov ebp, dword [esi + 0x2f6e02c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1f04603
sub esp, 0xffffff80
jmp 0x919f70
Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
ret