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

Disassembly:
mov eax, dword [esp + 4]
lea edx, [ecx + 8]
push edx
push 0
lea edx, [ecx + 4]
push edx
push 0
push eax
mov dword [ecx + 0xc], eax
mov eax, dword [ecx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
add eax, 1
ret 4

Function at 0x412ce0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
lea eax, [ecx + 8]
push eax
push edx
mov edx, dword [ecx + 0xc]
lea eax, [ecx + 4]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
add eax, 1
ret 4

Function at 0x414bc0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x414bd0
mov ecx, dword [esp + 8]
push ecx
sub eax, esi
push eax
push 1
push edx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
pop esi
ret

Function at 0x415c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41d1f1
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42452c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x80]
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea edi, [esi + 8]
mov dword [esi], 0x420554
mov dword [edi], eax
lea eax, [edi + 4]
xor ecx, ecx
mov edx, 0x20
mov dword [edi + 0x24], eax
mov word [edi + 0x28], cx
mov word [edi + 0x2a], dx
mov byte [eax], cl
mov eax, dword [esi + 4]
lea ebp, [esi + 0x34]
mov dword [ebp], eax
lea eax, [ebp + 4]
mov dword [ebp + 0x24], eax
mov word [ebp + 0x28], cx
mov word [ebp + 0x2a], dx
mov dword [esp + 0x78], ecx
mov byte [eax], cl
mov eax, dword [esi + 4]
mov dword [esi + 0x60], eax
lea eax, [esi + 0x64]
mov dword [esi + 0x84], eax
mov word [esi + 0x88], cx
mov word [esi + 0x8a], dx
mov byte [eax], cl
mov ecx, esi
mov byte [esp + 0x78], 2
call fcn.0041a250
mov ecx, esi
call fcn.00415c10
mov ecx, dword [str.firebird.conf]
mov eax, ecx
lea edx, [eax + 1]
mov bl, byte [eax]
add eax, 1
test bl, bl
jne 0x415d46
push ecx
sub eax, edx
push eax
lea ecx, [esp + 0x20]
call fcn.00410550
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x48]
mov bl, 3
push edx
mov ecx, edi
mov byte [esp + 0x80], bl
call fcn.00415a50
movzx ecx, word [eax + 0x28]
mov eax, dword [eax + 0x24]
push ecx
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x84], 4
call fcn.00410620
push eax
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x54]
add esp, 0xc
cmp eax, ecx
mov byte [esp + 0x78], bl
je 0x415db5
test eax, eax
je 0x415db5
mov ecx, dword [eax - 4]
push eax
call fcn.0040daa0
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x1c]
cmp eax, edx
mov byte [esp + 0x78], 2
je 0x415dd3
test eax, eax
je 0x415dd3
mov ecx, dword [eax - 4]
push eax
call fcn.0040daa0
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
Function at 0x41a250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41da00
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x42452c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x42452c]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0040b840
mov dword [esp + 0x3c], eax
xor ebx, ebx
lea eax, [esp + 0x40]
mov dword [esp + 0x60], eax
mov word [esp + 0x64], bx
mov word [esp + 0x66], 0x20
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x78], ebx
call fcn.00419f00
add esp, 4
test al, al
jne 0x41a309
lea edx, [esp + 0x10]
push edx
call fcn.00413200
add esp, 4
movzx ecx, word [eax + 0x28]
mov eax, dword [eax + 0x24]
push ecx
push eax
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 1
call fcn.00410620
push eax
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x20]
add esp, 0xc
cmp eax, ecx
mov byte [esp + 0x74], bl
je 0x41a309
cmp eax, ebx
je 0x41a309
mov ecx, dword [eax - 4]
push eax
call fcn.0040daa0
cmp word [esp + 0x64], bx
je 0x41a3f2
mov edx, dword [0x41fca8]
movzx eax, byte [0x420640]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.00410000
push eax
push ebx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x48]
call fcn.004088d0
movzx ecx, word [eax + 0x28]
mov eax, dword [eax + 0x24]
push ecx
push eax
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x80], 2
call fcn.00410620
push eax
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x20]
add esp, 0xc
cmp eax, edx
mov byte [esp + 0x74], bl
je 0x41a37e
cmp eax, ebx
je 0x41a37e
mov ecx, dword [eax - 4]
push eax
call fcn.0040daa0
movzx eax, word [edi + 0x88]
push eax
movzx eax, byte [0x420640]
push eax
mov ecx, esi
call fcn.00410000
cmp eax, ebx
je 0x41a3e6
push eax
push ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004088d0
movzx ecx, word [eax + 0x28]
mov eax, dword [eax + 0x24]
push ecx
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x80], 3
call fcn.00410620
push eax
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x20]
add esp, 0xc
cmp eax, edx
mov byte [esp + 0x74], bl
je 0x41a3e6
cmp eax, ebx
je 0x41a3e6
mov ecx, dword [eax - 4]
push eax
call fcn.0040daa0
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x40]
cmp eax, ecx
jmp 0x41a416
push 0x1a
push str.c:Program_FilesFirebird_
lea ecx, [edi + 0x60]
push 0x1a
call fcn.00410620
push eax
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x4c]
add esp, 0xc
cmp eax, edx
mov dword [esp + 0x74], 0xffffffff
je 0x41a42d
cmp eax, ebx
je 0x41a42d
mov ecx, dword [eax - 4]
push eax
call fcn.0040daa0
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0041b1f8
add esp, 0x68
ret
Function at 0x41a810
Capabilities:
Get common file path
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x41da82
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x42452c]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
push edi
mov eax, dword [0x42452c]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x12c]
mov dword [esp + 0xc], 0
mov eax, dword [str.FIREBIRD_TMP]
push eax
mov dword [esp + 0x128], 0
mov dword [esp + 0x14], esi
call dword [sym.imp.MSVCR80.dll_getenv]
add esp, 4
test eax, eax
mov edx, eax
jne 0x41a881
mov edx, 0x41f513
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41a886
sub eax, edi
push edx
push eax
mov ecx, esi
call fcn.00410550
cmp word [esi + 0x28], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0xc], 1
jne 0x41a90e
lea ecx, [esp + 0x14]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x41a8db
cmp eax, 0x104
jae 0x41a8db
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00407ea0
cmp word [esi + 0x28], 0
jne 0x41a90e
mov edx, dword [str.c:_temp_]
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41a8f0
sub eax, edi
push eax
push edx
push eax
mov ecx, esi
call fcn.00410620
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0041b1f8
add esp, 0x11c
ret
Function at 0x41ad50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41db43
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x42452c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
mov dword [esi], 0x4207e8
xor ecx, ecx
mov dword [esi + 8], eax
lea eax, [esi + 0xc]
mov dword [esi + 0x2c], eax
mov word [esi + 0x30], cx
mov word [esi + 0x32], 0x20
mov dword [esp + 0x14], ecx
mov byte [eax], cl
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov cl, byte [esp + 0x28]
push edx
mov byte [esi + 0x48], cl
push eax
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.0041aa10
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 0x10

Function at 0x41b1f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42452c]
jne 0x41b202
repz ret
jmp fcn.0041ba7f
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.MSVCR100.dll_getenv]
xor ebx, ebx
pop ecx
test eax, eax
je 0x40104d
mov edi, dword [sym.imp.MSVCR100.dll_printf]
push str.Windows_original_main_args:_n
call edi
mov eax, dword [sym.imp.MSVCR100.dll___argc]
xor esi, esi
pop ecx
cmp dword [eax], ebx
jle 0x40104d
mov eax, dword [sym.imp.MSVCR100.dll___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call edi
mov eax, dword [sym.imp.MSVCR100.dll___argc]
add esp, 0xc
inc esi
cmp esi, dword [eax]
jl 0x40102e
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
xor ecx, ecx
cmp edi, ebx
jle 0x401087
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x40107c
mov eax, dword [str.java]
mov dword [esi + ecx*4], ebx
mov ecx, eax
cmp eax, ebx
jne 0x401097
mov ecx, dword [esi]
mov eax, dword [str.java]
cmp eax, ebx
jne 0x4010a2
mov eax, dword [esi]
push ebx
push ebx
push ebx
push 1
push ecx
push eax
push 0x40218c
push 0x40217c
push 0x403018
push 2
push 0x403010
push 2
push esi
push edi
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x40147e
Capabilities:
Encode data using xor

Disassembly:
xor dx, dx
mov esi, edi
lodsb al, byte [esi]
xchg cl, dl
ror al, cl
xor al, cl
xchg cl, dl
xor al, ah
stosb byte es:[edi], al
inc dx
loop 0x401483
ret

Function at 0x401494
Capabilities:
Encode data using xor

Disassembly:
xor dx, dx
mov esi, edi
lodsb al, byte [esi]
xor al, ah
xchg cl, dl
xor al, cl
rol al, cl
xchg cl, dl
stosb byte es:[edi], al
inc dx
loop 0x401499
ret
Function at 0xf4d5b4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
push dword [esp + 0x3c]
push esi
push ebx
push edx
push ecx
call fcn.00f44535
mov dword [esp + 0x34], 0x1e90b2
lea edi, [esp + 0x38]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x24], 0x6b1ce7
shl dword [esp + 0x24], 0xc
or dword [esp + 0x24], 0x7fccfffe
xor dword [esp + 0x24], 0xffcc987e
mov dword [esp + 0x28], 0xb9ddcb
add dword [esp + 0x28], 0xfffffdf0
shr dword [esp + 0x28], 7
xor dword [esp + 0x28], 0x2a4b6
mov dword [esp + 0x4c], 0x97c650
add dword [esp + 0x4c], 0xffff224d
shl dword [esp + 0x4c], 7
shr dword [esp + 0x4c], 4
xor dword [esp + 0x4c], 0x4b7768e
mov eax, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
xor edx, eax
mov dword [esp + 0x2c], eax
mov eax, edx
mov dword [esp + 0x30], edx
and eax, 0xfffffffc
mov ecx, edx
add eax, 4
mov edi, edx
and cl, 3
cmovne edi, eax
mov eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
add esp, 0x10
mov eax, dword [esp + 0x14]
push edi
call fcn.00f4f79b
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
je 0xf4d6ba
shr edi, 2
xor eax, eax
lea ecx, [esi + edi*4]
xor edi, edi
mov edx, ecx
sub edx, esi
add edx, 3
shr edx, 2
cmp esi, ecx
cmova edx, eax
test edx, edx
je 0xf4d6b0
mov ecx, ebp
sub ecx, esi
mov eax, dword [esi]
xor eax, dword [esp + 0x18]
inc edi
mov dword [ecx + esi], eax
lea esi, [esi + 4]
cmp edi, edx
jb 0xf4d69f
test ebx, ebx
je 0xf4d6ba
mov eax, dword [esp + 0x1c]
mov dword [ebx], eax
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0xf4f672
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push dword [esp + 0x28]
push edx
push ecx
call fcn.00f44535
mov dword [esp + 0x1c], 0x4b97a
lea edi, [edx + 4]
xor dword [esp + 0x1c], 0x300d6bf2
shl dword [esp + 0x1c], 1
add dword [esp + 0x1c], 0xffff38ce
xor dword [esp + 0x1c], 0x601ae9bc
mov dword [esp + 0x24], 0x9112ea
add dword [esp + 0x24], 0xffff3a73
xor dword [esp + 0x24], 0x9f861f
mov dword [esp + 0x20], 0x1fceca
add dword [esp + 0x20], 0xe10a
xor dword [esp + 0x20], 0xde927f57
xor dword [esp + 0x20], 0xdeb8bf3a
mov eax, dword [edx]
mov ebp, dword [edi]
add edi, 4
xor ebp, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebp
lea esi, [ebp + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esp, 8
mov eax, dword [esp + 0x14]
lea eax, [esi + esi]
push eax
call fcn.00f4f79b
mov ebx, eax
mov dword [esp + 0x20], ebx
pop ecx
pop ecx
test ebx, ebx
je 0xf4f791
shr esi, 2
xor eax, eax
lea ecx, [edi + esi*4]
mov esi, ebx
mov edx, ecx
sub edx, edi
add edx, 3
shr edx, 2
cmp edi, ecx
cmova edx, eax
test edx, edx
je 0xf4f78b
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
movzx eax, cl
mov word [esi], ax
mov eax, ecx
shr eax, 8
lea esi, [esi + 8]
movzx eax, al
mov word [esi - 6], ax
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
inc ebp
mov word [esi - 4], ax
movzx eax, cl
mov word [esi - 2], ax
cmp ebp, edx
jb 0xf4f74e
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
xor eax, eax
mov word [ebx + ebp*2], ax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x14
ret
Function at 0xf55ea8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
push edi
push ebx
push edx
push ecx
call fcn.00f44535
mov dword [esp + 0x34], 0x643904
lea edi, [esp + 0x38]
xor eax, eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x18], 0x2237e7
shr dword [esp + 0x18], 0x10
xor dword [esp + 0x18], 0x23
mov dword [esp + 0x1c], 0x2def3a
or dword [esp + 0x1c], 0xe683bfef
xor dword [esp + 0x1c], 0xe6a82d75
mov dword [esp + 0x3c], 0x7fb4d8
xor dword [esp + 0x3c], 0xee952490
xor dword [esp + 0x3c], 0xd42bb050
or dword [esp + 0x3c], 0xdc0c79a9
xor dword [esp + 0x3c], 0xfec960b4
mov dword [esp + 0x14], 0xa4b368
add dword [esp + 0x14], 0x20da
add dword [esp + 0x14], 0x913
xor dword [esp + 0x14], 0xa7d35b
mov dword [esp + 0x24], 0x2b401a
imul eax, dword [esp + 0x24], 0x3f
mov dword [esp + 0x24], eax
xor dword [esp + 0x24], 0xaa8a3e2
mov dword [esp + 0x10], 0xa147c6
shl dword [esp + 0x10], 9
or dword [esp + 0x10], 0x8e2d7094
xor dword [esp + 0x10], 0xcea808f5
mov dword [esp + 0x20], 0x9c7317
add dword [esp + 0x20], 0xffff154d
xor dword [esp + 0x20], 0x9cbbcc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esp + 0x18]
add eax, ebx
mov edx, dword [eax + ecx*8 + 0x78]
test edx, edx
je 0xf56019
cmp dword [eax + ecx*8 + 0x7c], 0
je 0xf56019
lea esi, [edx + ebx]
jmp 0xf56012
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
lea edx, [eax + ebx]
call fcn.00f602dd
pop ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0xf56024
mov edi, dword [esi]
mov ebp, dword [esi + 0x10]
add edi, ebx
add ebp, ebx
jmp 0xf56009
jns 0xf55fd9
movzx eax, ax
jmp 0xf55fde
add eax, 2
add eax, ebx
push ecx
push dword [esp + 0x24]
push eax
push dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
call fcn.00f59e4e
add esp, 0x10
test eax, eax
je 0xf56024
mov ecx, dword [esp + 0x18]
add edi, 4
mov dword [ebp], eax
add ebp, 4
mov eax, dword [edi]
test eax, eax
jne 0xf55fd2
add esi, 0x14
mov eax, dword [esi + 0xc]
test eax, eax
jne 0xf55fac
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
xor eax, eax
jmp 0xf5601c
Function at 0xf565b6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
push ebx
push ebp
push edx
push ecx
call fcn.00f44535
and dword [esp + 0x28], 0
add esp, 0x14
and dword [esp + 0x18], 0
mov dword [esp + 0x10], 0x78f83b
mov dword [esp + 0x20], 0x33d138
imul eax, dword [esp + 0x20], 0x7c
mov dword [esp + 0x20], eax
add dword [esp + 0x20], 0xffff78a0
add dword [esp + 0x20], 0xffff50ec
xor dword [esp + 0x20], 0x191820a9
mov ecx, dword [ebx + 0x3c]
mov eax, dword [esp + 0x20]
add ecx, ebx
sub ebp, dword [ecx + 0x34]
mov edx, dword [ecx + eax*8 + 0x78]
mov dword [esp + 0x20], ebp
add edx, ebx
mov ebp, dword [ecx + eax*8 + 0x7c]
add ebp, edx
mov dword [esp + 0xc], ebp
cmp edx, ebp
jae 0xf5667d
push esi
push edi
mov edi, dword [edx + 4]
lea esi, [edx + 8]
add edi, edx
cmp esi, edi
jae 0xf56674
mov ebp, dword [esp + 0x28]
movzx eax, word [esi]
mov ecx, eax
mov dword [esp + 0x10], 0x3000
and ecx, 0xfff
and eax, 0xf000
add ecx, dword [edx]
add ecx, ebx
cmp ax, word [esp + 0x10]
jne 0xf56669
add dword [ecx], ebp
add esi, 2
cmp esi, edi
jb 0xf56644
mov ebp, dword [esp + 0x14]
add edx, dword [edx + 4]
cmp edx, ebp
jb 0xf56634
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0xf5ca06
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push dword [ebp + 0x10]
mov ebx, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push ebx
call fcn.00f44535
mov dword [ebp - 4], 0xd2534f
add esp, 0x14
or dword [ebp - 4], 0xf64f6668
xor dword [ebp - 4], 0xf6df776f
mov dword [ebp - 8], 0xfe3404
or dword [ebp - 8], 0xf7b521d6
xor dword [ebp - 8], 0xf7ff35d0
mov dword [ebp - 8], 0x71160c
add dword [ebp - 8], 0xe2f3
xor dword [ebp - 8], 0x6395b47
xor dword [ebp - 8], 0x648a3a8
cmp byte [ebx], 0
je 0xf5cac9
push esi
push edi
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 0xfe3404
or dword [ebp - 8], 0xf7b521d6
xor dword [ebp - 8], 0xf7ff35d0
mov cl, byte [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], 0x71160c
add dword [ebp - 8], 0xe2f3
xor dword [ebp - 8], 0x6395b47
xor dword [ebp - 8], 0x648a3a8
shl esi, cl
mov cl, byte [ebp - 8]
mov edx, dword [ebp - 4]
movsx eax, byte [ebx]
mov dword [ebp - 4], eax
add dword [ebp - 4], esi
shl edx, cl
add dword [ebp - 4], edx
sub dword [ebp - 4], edi
inc ebx
cmp byte [ebx], 0
jne 0xf5ca6e
pop edi
pop esi
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xf5e875
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
push dword [esp + 0x2c]
push edx
push ecx
call fcn.00f44535
and dword [esp + 0x30], 0
lea edi, [ecx + 4]
mov dword [esp + 0x2c], 0x2b26d7
xor edx, edx
mov dword [esp + 0x1c], 0xc1bec0
mov eax, dword [esp + 0x1c]
push 0x67
pop esi
div esi
push 0x1b
mov dword [esp + 0x20], eax
xor edx, edx
or dword [esp + 0x20], 0x7fd2f7f9
xor dword [esp + 0x20], 0x7fd7069a
mov dword [esp + 0x24], 0xefd37c
or dword [esp + 0x24], 0x9df38dfb
shr dword [esp + 0x24], 3
xor dword [esp + 0x24], 0x13ba49a0
mov dword [esp + 0x1c], 0xe72387
shl dword [esp + 0x1c], 2
shl dword [esp + 0x1c], 1
mov eax, dword [esp + 0x1c]
pop esi
div esi
mov dword [esp + 0x18], eax
xor dword [esp + 0x18], 0x49f470
mov edx, dword [ecx]
mov eax, dword [edi]
add edi, 4
xor eax, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
lea esi, [eax + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add esp, 8
mov eax, dword [esp + 0x14]
push esi
call fcn.00f4f79b
mov ebx, eax
mov dword [esp + 0x1c], ebx
pop ecx
pop ecx
test ebx, ebx
je 0xf5e99d
shr esi, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0xf5e994
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc ebp
mov byte [edx - 1], cl
cmp ebp, esi
jb 0xf5e96b
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
pop ebp
mov byte [ebx + eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x1c
ret
Function at 0xf5f4e1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push ecx
call fcn.00f44535
and dword [ebp - 8], 0
add esp, 0x14
mov dword [ebp - 0x10], 0x9ba7fb
mov dword [ebp - 0xc], 0x5c4027
mov dword [ebp - 4], 0x2880b7
shl dword [ebp - 4], 0x10
add dword [ebp - 4], 0xf84f
imul eax, dword [ebp - 4], 0x24
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0x19deea17
cmp dword [edx + 4], 0x40
jae 0xf5f536
xor eax, eax
jmp 0xf5f55f
mov ecx, dword [edx]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0xf5f532
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0xf5f532
movzx edx, word [eax + 0x18]
mov ecx, dword [ebp - 4]
push esi
xor esi, esi
cmp edx, ecx
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409ae6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4173d4]
jne 0x409af0
repz ret
jmp fcn.0040f7ec

Function at 0x413c0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040de93
and dword [ebp - 4], 0
cmp dword [0x42dbf4], 0
mov ebx, eax
jne 0x413cbc
push 0x403374
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413d6d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403368
push edi
call esi
test eax, eax
je 0x413d6d
push eax
call fcn.0040de21
mov dword [esp], 0x403358
push edi
mov dword [0x42dbf4], eax
call esi
push eax
call fcn.0040de21
mov dword [esp], 0x403344
push edi
mov dword [0x42dbf8], eax
call esi
push eax
call fcn.0040de21
mov dword [esp], 0x403328
push edi
mov dword [0x42dbfc], eax
call esi
push eax
call fcn.0040de21
pop ecx
mov dword [0x42dc04], eax
test eax, eax
je 0x413cbc
push 0x403310
push edi
call esi
push eax
call fcn.0040de21
pop ecx
mov dword [0x42dc00], eax
mov eax, dword [0x42dc00]
cmp eax, ebx
je 0x413d14
cmp dword [0x42dc04], ebx
je 0x413d14
push eax
call fcn.0040de9c
push dword [0x42dc04]
mov esi, eax
call fcn.0040de9c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413d14
test edi, edi
je 0x413d14
call esi
test eax, eax
je 0x413d0b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413d0b
test byte [ebp - 0xc], 1
jne 0x413d14
or dword [ebp + 0x10], 0x200000
jmp 0x413d4d
mov eax, dword [0x42dbf8]
cmp eax, ebx
je 0x413d4d
push eax
call fcn.0040de9c
pop ecx
test eax, eax
je 0x413d4d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413d4d
mov eax, dword [0x42dbfc]
cmp eax, ebx
je 0x413d4d
push eax
call fcn.0040de9c
pop ecx
test eax, eax
je 0x413d4d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42dbf4]
call fcn.0040de9c
pop ecx
test eax, eax
je 0x413d6d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413d6f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret