joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4322b4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4324c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x44]
lea eax, [ebp - 0xc]
call fcn.00406574
push eax
push 0x4324d0
push 1
push 0
mov eax, dword [0x46f548]
push eax
call sub.ole32.dll_CoCreateInstance
mov esi, eax
mov eax, esi
call fcn.00407520
test al, al
je 0x43237f
lea eax, [ebp - 4]
call fcn.00406574
push eax
push 0
push 0
mov eax, dword [0x46f6a4]
push eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.0041aafc
jmp 0x432363
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x24]
call fcn.0041abf8
mov edx, dword [ebp - 0x128]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x432348
jmp 0x432480
lea eax, [ebp - 0x10]
push eax
push 0x4324e0
push 0x80000000
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
je 0x432480
xor eax, eax
push ebp
push 0x432479
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
jmp 0x432444
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 6
lea edx, [ebp - 0x13c]
mov eax, dword [0x46f6a4]
call fcn.0041ab70
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 0x12c], 0xb
lea edx, [ebp - 0x138]
mov ecx, 1
mov eax, 0x4324f0
call fcn.00409be4
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x124]
mov ecx, pe_nt_image_headers32
call fcn.00404990
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x138]
call fcn.0041ab14
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x140]
call fcn.0041abf8
mov edx, dword [ebp - 0x140]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
push pe_nt_image_headers32
lea eax, [ebp - 0x124]
push eax
push esi
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
je 0x4323af
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432480
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4324c8
lea eax, [ebp - 0x144]
mov edx, 3
call fcn.00404744
lea eax, [ebp - 0x128]
call fcn.00404720
lea eax, [ebp - 0x14]
call fcn.00404720
lea eax, [ebp - 0xc]
call fcn.00406574
lea eax, [ebp - 4]
call fcn.00406574
ret
Function at 0x432578
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
push pe_nt_image_headers32
lea eax, [ebp - 0x104]
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
jne 0x4325b9
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404990
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4325c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, edi
call fcn.00404be0
push eax
push esi
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x432612
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00404990
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445150
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x445158
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x44534a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x445360
mov eax, esi
call fcn.00442d44
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404774
lea ecx, [ebp - 0x10]
mov edx, 0x445374
mov eax, esi
call fcn.00442d44
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404774
lea ecx, [ebp - 0x14]
mov edx, 0x44538c
mov eax, esi
call fcn.00442d44
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404774
lea ecx, [ebp - 0x18]
mov edx, 0x4453a8
mov eax, esi
call fcn.00442d44
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404774
lea ecx, [ebp - 0x1c]
mov edx, 0x4453c4
mov eax, esi
call fcn.00442d44
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404774
lea ecx, [ebp - 0x24]
mov edx, 0x4453dc
mov eax, esi
call fcn.00442d44
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004087b0
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408bf4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4453f4
mov eax, esi
call fcn.00442d44
mov eax, dword [ebp - 0x28]
call fcn.0043c494
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x445404
mov eax, esi
call fcn.00442d44
mov eax, dword [ebp - 0x2c]
call fcn.0043c494
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x44541c
mov eax, esi
call fcn.00442d44
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408bf4
inc eax
je 0x4452ed
lea ecx, [ebp - 0x34]
mov edx, 0x44541c
mov eax, esi
call fcn.00442d44
mov eax, dword [ebp - 0x34]
call fcn.00408bb8
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a4f8
fstp qword [ebp - 0x3c]
wait
call fcn.0040a868
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x445308
lea ecx, [ebp - 0x40]
mov edx, 0x44541c
mov eax, esi
call fcn.00442d44
mov eax, dword [ebp - 0x40]
call fcn.0043c494
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x44542c
mov eax, esi
call fcn.00442d44
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404774
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445351
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404744
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404744
ret
Function at 0x44c594
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x44c5ee
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0044c584
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0043af04
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0043ab04
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c5f5
lea eax, [ebp - 4]
call fcn.00404720
ret
Function at 0x45fd08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45fde1
push dword fs:[eax]
mov dword fs:[eax], esp
or edi, 0xffffffff
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004031e4
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 0
mov edx, esi
mov eax, ebx
call fcn.0045feec
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
lea eax, [ebp - 0x5c]
mov ecx, esi
mov edx, 0x45fdfc
call fcn.00404a2c
mov eax, dword [ebp - 0x5c]
call fcn.00404be0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x45fdcb
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45fdb9
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x45fdb9
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fde8
lea eax, [ebp - 0x5c]
call fcn.00404720
ret

Function at 0x46782c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, edx
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00404990
mov eax, dword [ebx]
call fcn.004049e0
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x46786e
mov eax, ebx
mov edx, 0x467880
call fcn.004049e8
add esp, 0x100
pop ebx
ret

Function at 0x46992c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffe00
mov ebx, edx
lea eax, [esp + 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
push esp
push 0
push 0x469970
lea eax, [esp + 0x10c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
mov eax, esp
call fcn.0040972c
add esp, 0x200
pop ebx
ret

Function at 0x46c378
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, edx
mov dword [esp], 0x104
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
cmp dword [esp], 0
jbe 0x46c3ab
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404990
jmp 0x46c3b2
mov eax, ebx
call fcn.00404720
add esp, 0x10c
pop ebx
ret
Function at 0x441581
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.00441600
jae 0x44158d
xor ecx, ecx
call fcn.00441600
jae 0x4415b7
xor eax, eax
call fcn.00441600
jae 0x4415c8
mov al, 0x10
call fcn.00441600
adc al, al
jae 0x4415a9
jne 0x4415f5
stosb byte es:[edi], al
jmp 0x44158e
call fcn.0044160c
dec ecx
loop 0x4415d4
mov eax, ebp
call fcn.0044160a
jmp 0x4415f6
lodsb al, byte [esi]
shr eax, 1
je 0x44161c
adc ecx, 2
mov ebp, eax
jmp 0x4415f6
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0044160a
cmp eax, 0x7d00
jae 0x4415f4
cmp eax, 0x500
jae 0x4415f5
cmp eax, 0x7f
ja 0x4415f6
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x44158e
pop ebp
ret 8
Function at 0x497d74
Capabilities:
Get number of processors

Disassembly:
dec ecx
add byte [edi + edi*8 + 0x30], ah
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
xor ecx, ecx
push ebp
push 0x49824e
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov dl, 1
mov eax, dword [0x439860]
call 0xff4dc128
mov dword [ebp - 0x20], eax
xor ecx, ecx
push ebp
push 0x49823d
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x20]
call 0xff52b329
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x498227
mov ecx, dword [0x4ef864]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x45ae30]
call 0xff4f23cd
mov dword [ebp - 0x38], eax
mov cl, 1
mov dl, 1
mov eax, dword [0x4645b4]
call 0xff4fbcf2
mov dword [ebp - 0x24], eax
xor ecx, ecx
push ebp
push 0x498220
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x497f4d
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498244
mov eax, dword [ebp - 0x20]
call 0xff49d4b0
ret

Function at 0x4a6e1a
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4a6f05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov byte [eax + 8], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test al, al
je 0x4a6eef
xor ecx, ecx
mov dl, 1
mov eax, dword [0x472420]
call 0xff51883f
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a6ee8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0xc]
call 0xff51893f
dec dword [ebx + 0x558bf445]
clc
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x4a6d0c
mov eax, dword [ebp - 0xc]
call 0xff518b97
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x4a6ea5
mov eax, dword [ebp - 8]
cmp byte [eax + 0x40], 0
je 0x4a6ea9
xor eax, eax
jmp 0x4a6eab
mov al, 1
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x3c]
push 0x64
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call 0xff4b3db8
cmp byte [ebp - 0x11], 0
jne 0x4a6ed2
mov eax, dword [ebp - 4]
call 0xff51548a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6eef
mov eax, dword [ebp - 0xc]
call 0xff4ac15b
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6f0c
mov eax, dword [ebp - 0x10]
call 0xff4ac178
ret

Function at 0x4a7de5
Capabilities:
Packed with generic packer

Disassembly:
popal
jb 0x4a7e4d
jb 0x4a7dec
add byte [edx], al
add byte [ecx], cl
adc ah, cl
dec esi
add byte [edx + eax*2], cl
inc eax
add byte [eax + eax], cl
Function at 0x4a7fbc
Capabilities:
Packed with generic packer

Disassembly:
jbe 0x4a8008
add byte [edx + esi*2 + 0x4a], dl

Function at 0x4ab480
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
inc dword [edi]
add byte [eax], al
add byte [edi], ch
add byte [ebx], dh
add byte gs:[eax + eax + 0x61], dh
add byte [eax + eax + 0x6c], ch
add byte [eax], al
add byte [eax - 0x4c], cl
dec edx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x4c], cl
dec edx
add byte [eax + 0x4ab4], al
add byte [eax], al
add byte [edx - 0x4c], ch
dec edx
add byte [eax], al
add byte [eax], al
add byte [eax - 0x4c], dh
dec edx
add byte [eax + eax], ah
add byte [eax], al
in al, dx
adc al, 0x40
add byte [eax], dh
pop edi
inc eax
add byte [eax], bh
pop edi
inc eax
add byte [ecx + 0x61840040], cl
inc eax
add byte [ecx + 0x61a80040], ah
inc eax
add byte [ecx + 0x61a00040], ch
inc eax
add byte [esi + ebx*2], cl
inc eax
add byte [eax], ch
pop esi
inc eax
add byte [eax + 0xe004ab8], bh
add byte [eax], al
add byte [eax], al
add byte [ebx], al
add byte [eax], al
add byte [eax + 0x12], bl
inc eax
add byte [eax], dl
add byte [eax], al
add byte [eax + 0x12], bl
inc eax
add byte [eax + eax], dl
add byte [eax], al
pop eax
adc al, byte [eax]
sbb byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
or dword [ebp + edx*2 + 0x70], edx
popal
je 0x4ab4dd
push ebp
dec ecx
add byte [eax], al
xor byte [edx + ecx*2 + 0x54090700], 0x55
jo 0x4ab4ea
popal
je 0x4ab4ee
push ebp
dec ecx
dec eax
mov ah, 0x4a
add byte [eax], dh
sbb eax, 0x40
or byte [edi + 0x73], dh
push ebp
jo 0x4ab4ff
popal
je 0x4ab503
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
mov eax, eax
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4ab4c4
add byte [ecx + ecx - 0x75], dh
inc ebp
cld
aam 0xb4
pop es
dec dword [edx]
fmul dword [ebx + 0x5888fc45]
sbb al, 0x8b
inc ebp
cld
rcl byte [ebp + 0x68], 0x18
mov dh, 0x4a
add byte [edi + edi*8 + 0x30], ah

Function at 0x4ca602
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
cmpsb byte [esi], byte es:[edi]
dec esp
add byte [edi + edi*8 + 0x30], ah
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call 0xff4cf859
lea eax, [edi + 0xc]
mov edx, esi
call 0xff4d4f4b
test eax, 0x7f83ff00
or al, 0
jne 0x4ca63d
lea edx, [ebp - 4]
mov eax, dword [0x4ccd48]
call 0x59484e
mov edx, dword [ebp - 4]
lea eax, [edi + 0xc]
call 0xff4d4f69
xor eax, eax
Function at 0x629a99
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x631450
cmp edx, dword [eax]
je 0x629abb
add eax, 8
inc ecx
cmp eax, 0x6314e0
jl 0x629aac
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x631450]
jne 0x629be9
mov eax, dword [0x635de0]
cmp eax, 1
je 0x629bc3
test eax, eax
jne 0x629aec
cmp dword [0x63137c], 1
je 0x629bc3
cmp edx, 0xfc
je 0x629be9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x629b23
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062a480
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a910
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x629b66
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a910
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62e8dc
push edi
call fcn.0062c7e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062a480
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062a490
lea eax, [ebp - 0xa0]
push 0x62e8bc
push eax
call fcn.0062a490
push dword [esi + 0x631454]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062a490
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062c754
add esp, 0x2c
pop edi
jmp 0x629be9
lea eax, [ebp + 8]
lea esi, [esi + 0x631454]
push 0
push eax
push dword [esi]
call fcn.0062a910
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40452b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a700]
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.0040348c
and dword [ebp - 0x14], 0
cmp dword [0x40b924], 0
mov dword [ebp - 0x18], eax
jne 0x4045de
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404686
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404686
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b924], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b928], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b92c], eax
call edi
push eax
call esi
mov dword [0x40b934], eax
test eax, eax
je 0x4045de
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b930], eax
mov eax, dword [0x40b930]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x404637
cmp dword [0x40b934], ecx
je 0x404637
push eax
call esi
push dword [0x40b934]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404637
test ebx, ebx
je 0x404637
call edi
test eax, eax
je 0x40462e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40462e
test byte [ebp - 8], 1
jne 0x404637
or dword [ebp + 0x10], 0x200000
jmp 0x40466a
mov eax, dword [0x40b928]
cmp eax, dword [ebp - 0x18]
je 0x40466a
push eax
call esi
test eax, eax
je 0x40466a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40466a
mov eax, dword [0x40b92c]
cmp eax, dword [ebp - 0x18]
je 0x40466a
push eax
call esi
test eax, eax
je 0x40466a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b924]
call esi
test eax, eax
je 0x404686
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404688
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404896
leave
ret

Function at 0x404896
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a700]
jne 0x4048a0
repz ret
jmp fcn.00405a36

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x4c361000
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x6db278c5
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x404214
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x42763c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x427642
ret
Function at 0x461810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004061cc
xor eax, eax
push ebp
push 0x2db0cdb
push dword fs:[eax]
mov dword fs:[eax], esp
lea ebx, [ebp - 0xc]
mov dword [ebx], esi
mov eax, dword [ebp - 4]
call fcn.00405fe4
mov edi, eax
xor eax, eax
mov dword [ebp - 0x10], eax
cmp edi, 4
jl 0x46187a
mov esi, dword [ebx]
lea eax, [ebp - 4]
call fcn.00406234
mov edx, edi
test edx, edx
jns 0x461863
add edx, 3
sar edx, 2
mov dword [ebp - 0x10], edx
mov ebx, dword [ebp - 0x10]
dec ebx
test ebx, ebx
jl 0x46187a
inc ebx
xor dword [eax], esi
add eax, 4
dec ebx
jne 0x461872
xor esi, esi
imul eax, esi, 0x4d
mov esi, eax
mov eax, dword [ebp - 0x10]
shl eax, 2
inc eax
mov ebx, edi
sub ebx, eax
jl 0x4618ba
inc ebx
mov edi, eax
lea eax, [ebp - 4]
call fcn.00406234
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi - 1]
xor dl, byte [ebp + esi - 0xc]
mov byte [eax + edi - 1], dl
inc esi
and esi, 0x80000003
jns 0x4618b6
dec esi
or esi, 0xfffffffc
inc esi
inc edi
dec ebx
jne 0x461891
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405d64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2db0ce2
lea eax, [ebp - 4]
call fcn.00405d10
ret

Function at 0x4618ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004061cc
xor eax, eax
push ebp
push 0x2db0d87
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405fe4
mov esi, eax
mov ebx, esi
test ebx, ebx
jns 0x461926
add ebx, 3
sar ebx, 2
lea eax, [ebp - 4]
call fcn.00406234
lea ecx, [ebp - 8]
mov edx, ebx
dec edx
test edx, edx
jl 0x461948
inc edx
mov ecx, dword [ecx]
xor dword [eax], ecx
mov ecx, eax
add eax, 4
dec edx
jne 0x46193c
mov edx, esi
and edx, 0x80000003
jns 0x461957
dec edx
or edx, 0xfffffffc
inc edx
dec edx
test edx, edx
jl 0x461966
inc edx
mov bl, byte [ecx]
xor byte [eax], bl
inc ecx
inc eax
dec edx
jne 0x46195d
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00405d64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2db0d8e
lea eax, [ebp - 4]
call fcn.00405d10
ret