joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005d01
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x10263b3c], 0x9dd
mov dword [ebp - 0x10], eax
call fcn.10005e72
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10005d47
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10263b3c], 0x5a7
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x10005e67
jmp 0x10005daa
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10263b38], 0x1fbc
mov dword [ebp - 0x30], edi
jmp 0x10005e67
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x10005e2d
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x54], eax
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov dl, byte [ebp - 0x4e]
and dl, cl
mov esi, dword [ebp - 0x54]
cmp esi, 0x20
setb cl
and dl, cl
test dl, 1
mov dword [ebp - 0x48], esi
jne 0x10005dd6
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x10005d82
jmp 0x10005e3a
mov eax, dword [ebp - 0x34]
add eax, 2
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], eax
jb 0x10005dbc
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006171
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10263b44], 0
mov byte [0x10263b48], 0
mov dword [0x10263b38], 0x21
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x10263b40], 0
mov dword [ebp - 0x1c], eax
jmp 0x100061c0
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x10263b3c], 0x10da
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10263b40]
add eax, 1
mov dword [0x10263b40], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100061c0
xor eax, eax
mov dword [0x10263b40], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x10263b44]
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
movzx esi, byte [edi + ebx]
mov edi, dword [ebp - 0x28]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov eax, esi
cdq
idiv ecx
mov dword [0x10263b44], edx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + ebx]
mov byte [0x10263b48], cl
mov esi, dword [ebp - 0x18]
mov cl, byte [esi + edx]
mov byte [esi + ebx], cl
mov cl, byte [0x10263b48]
mov edx, dword [0x10263b44]
mov byte [esi + edx], cl
mov dword [0x10263b38], 0x2cc
mov edx, dword [0x10263b40]
add edx, 1
mov dword [0x10263b40], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x100061ff
jmp 0x100061b8
Function at 0x10006389
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10263b40], 0
mov dword [0x10263b44], 0
mov dword [0x10263b4c], 0
mov dword [0x10263b38], 0x1a14
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x100064e4
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10263b40], edx
mov dword [0x10263b38], 0xfbe
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10263b44], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10263b48], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10263b38], 0x1d46
mov cl, byte [0x10263b48]
mov edx, dword [0x10263b44]
mov byte [edi + edx], cl
mov edx, dword [0x10263b40]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10263b44]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10263b4c], ebx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
mov ecx, dword [0x10263b3c]
add ecx, 0x374
mov dword [0x10263b3c], ecx
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x100064e4
mov eax, dword [0x10263b40]
mov ecx, dword [0x10263b44]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x100063ec
mov dword [0x10263b3c], 0x20c0
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10006969
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.10006969]
mov ecx, dword [0x10263b38]
mov edx, dword [0x10263b3c]
add edx, 0xffffe02f
add ecx, 0xffffdbc5
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
jne 0x100069c8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x100069c8
mov eax, dword [ebp - 0x14]
mov dword [0x10263b3c], eax
mov eax, dword [ebp - 0x10]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
jmp 0x10006996
Function at 0x10006cfa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10263b3c], 0x1981
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x10008158]
mov dl, byte [eax + 0x10008129]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x10006d1d
lea eax, [ebp - 0x28]
mov dword [0x10263b38], 0x1811
mov dword [ebp - 0x38], eax
call fcn.10006ab0
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10006b9c
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x10006e2b
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x10263b38], 0x886
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.1000601c
mov dword [0x10263b3c], 0x263c
mov eax, dword [ebp - 0x40]
mov word [eax], 0x5a4d
add eax, 0x3c
mov dword [ebp - 0x44], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x2233
mov edx, dword [ebp - 0x44]
mov dword [edx], 0xd0
mov esi, dword [ebp - 0x40]
mov dword [esi + 0xd0], 0x4550
add esi, 0xffc00000
mov edi, dword [ebp - 0x30]
mov dword [edi + 0xc], esi
mov esi, dword [ebp - 0x40]
mov dword [edi + 0x40], esi
mov dword [0x10263b38], 0xf39
cmp esi, 0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
je 0x10006e21
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret
Function at 0x10006e63
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x10263b38], 0xf5e
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10006f07
lea eax, [ebp - 0x12c]
mov dword [0x10263b38], 0xfffeb770
mov dword [ebp - 0x13c], eax
call fcn.10006ab0
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.10006b9c
mov ecx, eax
mov dword [0x10263b50], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
jmp 0x10006fac
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
mov edi, eax
add edi, 1
imul ebx, eax, 0x3c
mov dword [ebp - 0x150], eax
mov eax, esi
add eax, ebx
add eax, 0x18
mov ebx, dword [ebp - 0x150]
imul ebx, ebx, 0x3c
add esi, ebx
add esi, 4
mov eax, dword [eax]
movzx esi, word [esi]
xor esi, eax
add esi, ecx
cmp edi, 0x3a7
mov eax, esi
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x154], edx
jne 0x10006f07
mov eax, dword [ebp - 0x154]
mov cl, byte [eax + 0x10008158]
mov dl, byte [eax + 0x10008129]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x154], eax
je 0x10006e94
jmp 0x10006f77
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
lea edx, section..data
imul esi, eax, 0x3c
mov edi, edx
add edi, esi
add edi, 0x18
mov esi, dword [edi]
imul edi, eax, 0x3c
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x3c
add edx, ebx
add edx, 4
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edx
call fcn.10006542
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x158]
add edx, 1
cmp edx, 0x3a7
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
jne 0x10006fac
lea eax, [0x10008137]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10263b38], 0x14c0
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], ecx
call fcn.10006171
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.10006389
mov eax, dword [0x10263b3c]
add eax, 0x571
mov dword [0x10263b3c], eax
mov eax, dword [ebp - 0x144]
add eax, 0x15fc36
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov dword [ecx + 4], 0x13b000
mov dword [0x10263b38], 0x733
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x10a974
mov edx, dword [ebp - 0x130]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2000
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x1000aa51
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000aa60
pop dword [ebp - 0x24]
mov eax, 0x1000aa60
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x2f09b6d0
add dword [ebp - 0x34], 0x1f488e7b
mov dword [ebp - 0x30], 0xa4cd47da
sub dword [ebp - 0x30], 0x7299fb95
mov dword [ebp - 0x2c], 0xe9e89b6
add dword [ebp - 0x2c], 0x3dadba78
mov dword [ebp - 0x28], 0x989e251
sub dword [ebp - 0x28], 0x989e251
lea eax, [ebp - 0x34]
push eax
mov eax, 0xcdf281c5
add eax, 0x420f1e43
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x8f6cf31e
sub dword [ebp - 0x34], 0x1afa89c8
mov dword [ebp - 0x30], 0xe273d612
sub dword [ebp - 0x30], 0xa107749d
mov dword [ebp - 0x2c], 0xeeacba54
sub dword [ebp - 0x2c], 0x8b3d4de8
mov dword [ebp - 0x28], 0xcee61a7e
add dword [ebp - 0x28], 0x3119e582
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x35ab1
push 0
call eax
mov ecx, 0x3c46e63b
add ecx, 0xc3b94f4b
mov edi, eax
mov esi, 0xe65721e1
add esi, 0x29ab281f
add esi, dword [ebp - 0x24]
mov ebx, 0xb928e3b3
add ebx, 0x6821d09a
xor dword [ebp - 0xc], 0x1f2e098d
mov edx, dword [esi]
mov dword [ebp - 0x10], 0x7ba7085a
xor edx, ebx
sub dword [ebp - 0x14], ebx
mov dword [edi], edx
mov dword [ebp - 0x1c], 0x589e2efa
add edi, 4
add esi, 4
loop 0x1000ab78
add eax, 0xc8eb
xor ebx, ebx
add ebx, eax
add eax, 0xfe00a2ac
add eax, 0x1ff5d59
mov ecx, 0x3e807233
add ecx, 0xd17f8dcd
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x41824b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4233dc]
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.0040e562
and dword [ebp - 0x14], 0
cmp dword [0x44e5b4], 0
mov dword [ebp - 0x18], eax
jne 0x4182fe
push 0x403ff0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4183a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403fe4
push ebx
call edi
test eax, eax
je 0x4183a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403fd4
push ebx
mov dword [0x44e5b4], eax
call edi
push eax
call esi
push 0x403fc0
push ebx
mov dword [0x44e5b8], eax
call edi
push eax
call esi
push 0x403fa4
push ebx
mov dword [0x44e5bc], eax
call edi
push eax
call esi
mov dword [0x44e5c4], eax
test eax, eax
je 0x4182fe
push 0x403f8c
push ebx
call edi
push eax
call esi
mov dword [0x44e5c0], eax
mov eax, dword [0x44e5c0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x418357
cmp dword [0x44e5c4], ecx
je 0x418357
push eax
call esi
push dword [0x44e5c4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x418357
test ebx, ebx
je 0x418357
call edi
test eax, eax
je 0x41834e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41834e
test byte [ebp - 8], 1
jne 0x418357
or dword [ebp + 0x10], 0x200000
jmp 0x41838a
mov eax, dword [0x44e5b8]
cmp eax, dword [ebp - 0x18]
je 0x41838a
push eax
call esi
test eax, eax
je 0x41838a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41838a
mov eax, dword [0x44e5bc]
cmp eax, dword [ebp - 0x18]
je 0x41838a
push eax
call esi
test eax, eax
je 0x41838a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44e5b4]
call esi
test eax, eax
je 0x4183a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4183a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b72e
leave
ret
Function at 0x44a5e0
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 4]
push eax
push 1
push 0
push str.SOFTWAREBorlandDelphiRTL
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44a638
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.FPUMaskValue
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov cl, byte [esp + 0xc]
and cl, 0x3f
test eax, eax
movzx si, cl
je 0x44a665
mov edx, dword [0x4ce8ec]
push 0x4ce5f0
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, esi
pop esi
or eax, 0xffffffc0
add esp, 0x10
ret

Function at 0x45e60a
Capabilities:
Encode data using xor

Disassembly:
or ah, byte [edx]
push ecx
xor byte [edi + 0x3b], ch
push ebx
xchg ebp, eax
or dword [ecx - 0xe], edx
je fcn.0045e60a
pinsrw mm1, word [edi + 0x1e], 0x4f
add bl, byte [ebx + 0x4b]
push edx
rcr dword [eax - 0x76d5c696], 0x49
sub al, 0x69
fcmovb st(0), st(2)
invalid
Function at 0x4a0642
Capabilities:
Authenticate hmac

Disassembly:
mov edi, 0x5e88d056
lodsd eax, dword [esi]
mov byte [esi - 0x53], bl
sub byte ds:[ebp + 0x360bb618], al
nop
test dword [ebp - 0x29], 0xe76c762f
lahf
jbe 0x4a060f
dec edi
xchg byte [edi - 0x2e], al
and dword [edi + 0x759cb3c3], eax
sbb ebx, edx
in eax, 0x1e
inc esi
push 0x841ba1
jo 0x4a065a
fst dword [ebx + 0x7e473b38]
test al, 0x20
wait
xlatb
push esp
add al, 0xc9
xchg dword [edi + 0x75138626], ebx
inc esp
pushal
jle 0x4a05d6
push ecx
neg byte [ebp + 0x7a01624]
invalid
mov eax, 0x61355d2e
add al, 0x93
dec edi
mov byte [0xaf5a06a3], al
jae 0x4a05d9
stosb byte es:[edi], al
fidiv dword [esi - 0x63]
loop 0x4a0634
jle 0x4a062d
xor eax, 0xa7abfc9d
jecxz 0x4a06bf
das
adc bh, byte [0xea34295c]
test byte [ecx - 0x51da5682], dh
or byte [eax], ch
dec edi
mov ebx, 0x35b6c392
fld xword [eax - 0x2d5c12c4]
push ebp
inc esi
loop 0x4a0748
dec edx
imul esp, dword [edx - 0x6e], 0x416c8e73
mov esi, 0xfdf22fbe
mov ebx, 0xfe3ab593
invalid
je 0x4a0799
in al, dx
push 0x1b43a11a
arpl word [ecx - 0x68], sp
fcomi st(6)
invalid
adc al, 0xa
nop
rcr dword [ecx - 0x164ab], cl
shl dword [ebp - 0xdb6c546], 1
lds esi, [eax - 0x2f1cd6a3]
and eax, dword [ecx]
call 0x48d3f3b0
sub eax, 0x111c8c07
sbb al, 0x57
push edi
rcl dword [ecx + 0x78], 0x90
pushfd
inc eax
cmpsb byte [esi], byte es:[edi]
push ebx
push cs
js 0x4a07e6
dec ebp
mov al, byte [0x950ba4d1]
in eax, 0xc7
cmp eax, 0x700448bd
out 0x84, al
jle 0x4a075f
jo 0x4a0781
test byte [esi - 0x3f], bh
push edx
mov ecx, ecx
out dx, al
push ecx
jl 0x4a07b0
out 0x4a, eax
push eax
xor bh, byte [edx]
xor al, 0xc9
mov edx, 0x17bfbc47
pop ss
out 0xc5, eax
add byte [edi], bh
neg byte [edx - 0x61e83474]
pop ecx
outsd dx, dword [esi]
out 4, eax
push eax
cmp cl, byte [ebx - 0x36]
popfd
movsd dword es:[edi], dword [esi]
mov byte [0x29638086], al
pop esp
pop esp
xor al, 0x52
sub dword [esi], ebp
out dx, eax
invalid
mov al, byte [0x2077524c]
invalid
Function at 0x4c5d3a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cb498
cmp edx, dword [eax]
je 0x4c5d5c
add eax, 8
inc ecx
cmp eax, 0x4cb528
jl 0x4c5d4d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cb498]
jne 0x4c5e8a
mov eax, dword [0x4cfb7c]
cmp eax, 1
je 0x4c5e64
test eax, eax
jne 0x4c5d8d
cmp dword [0x4cb3d8], 1
je 0x4c5e64
cmp edx, 0xfc
je 0x4c5e8a
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c5dc4
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c6450
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c6680
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c5e07
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c6680
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c96f0
push edi
call fcn.004c7e50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c6450
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c6460
lea eax, [ebp - 0xa0]
push 0x4c96d0
push eax
call fcn.004c6460
push dword [esi + 0x4cb49c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c6460
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c7dc4
add esp, 0x2c
pop edi
jmp 0x4c5e8a
lea eax, [ebp + 8]
lea esi, [esi + 0x4cb49c]
push 0
push eax
push dword [esi]
call fcn.004c6680
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