joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011d90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x10011e01
cmp dword [ecx], edi
jne 0x10011df9
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x10011e09
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10011e09
cmp dword [ecx], edi
jne 0x10011e0c
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.10025ca0
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10011e40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a790
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100ca00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
mov edx, dword [ebx + 0x18]
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0xc]
and edx, eax
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx*8]
cmp eax, dword [ebx + 4]
jne 0x10011ec4
mov esi, dword [ebx + 4]
jmp 0x10011eca
mov esi, dword [ecx + edx*8 + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10011edd
mov eax, dword [edi]
mov esi, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10011f25
cmp esi, dword [ecx + edx*8]
jne 0x10011ed0
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x10011f0d
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
lea ecx, [eax + edx*8]
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x10011f60
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx*8 + 4], edi
jmp 0x10011f83
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.10025ca0
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x10011f68
mov dword [ecx], edi
jmp 0x10011f83
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x10011f83
mov eax, dword [ebx + 0xc]
lea ecx, [eax + edx*8]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.10011cf0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10013560
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10013571
xor ecx, ecx
cmp byte [eax], cl
cmove eax, ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x10013584
pop edi
pop ebp
ret 0xc
push esi
push dword [ebp + 8]
call fcn.10013910
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x100135b8
push dword [ebp + 8]
push dword [ebp + 0xc]
push str.failed_to_get_export_function:__s_module:__s
push 2
push dword [0x100d58e8]
call fcn.10014810
add esp, 0x14
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10013616
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x10013616
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x10013616
mov edx, dword [eax + 0x80]
add edx, edi
cmp edx, eax
je 0x10013616
add edx, 0xc
cmp dword [edx], 0
je 0x10013616
mov eax, dword [edx + 4]
add eax, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1001360e
nop dword [eax + eax]
cmp esi, ecx
je 0x10013618
mov ecx, dword [eax + 4]
add eax, 4
test ecx, ecx
jne 0x10013600
add edx, 0x14
cmp dword [edx], 0
jne 0x100135f0
xor eax, eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x10013860
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0x400
push 0x40
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x40
push 0x400
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esi + 0x50]
lea ecx, [ebp - 4]
cmp ecx, eax
jae 0x100138ca
mov ecx, dword [esi + 0x4c]
lea edx, [ebp - 4]
cmp ecx, edx
ja 0x100138ca
push edi
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 0x54]
jne 0x100138b8
push ecx
lea ecx, [esi + 0x4c]
call fcn.100145d0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x100138c7
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
pop edi
jmp 0x100138e1
cmp eax, dword [esi + 0x54]
jne 0x100138d8
push ecx
lea ecx, [esi + 0x4c]
call fcn.100145d0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x100138e1
mov dword [eax], ebx
add dword [esi + 0x50], 4
push 0x400
push ebx
push str.alloc_memory:__08x_size:__08x
push 2
push dword [0x100d58e8]
call fcn.10014810
add esp, 0x14
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10014fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009abc2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x100ca00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x100d58e4], 0
jne 0x10015009
push 0xd4
call fcn.1001a158
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1000f430
mov dword [ebp - 4], 0xffffffff
mov dword [0x100d58e4], eax
mov esi, dword [ebp + 8]
push esi
call fcn.1000fae0
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x10], 0
jb 0x10015021
mov esi, dword [esi]
push 0x100c1578
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.100821d5
push dword [ebp - 0x10]
push dword [ebp + 0x14]
push 1
push dword [ebp + 0x10]
call fcn.1008254a
push dword [ebp - 0x10]
call fcn.10082292
add esp, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10015bb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, 1
push esi
mov esi, dword [ebp + 8]
push edi
cmp byte [ebx + 4], 0
mov edi, dword [ebx]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0
jne 0x10015c28
push esi
call fcn.100157a0
mov dword [esp + 0x14], eax
test eax, eax
je 0x10015c16
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x1e4]
call fcn.10011aa0
mov eax, dword [edi + 0x1e8]
xor edx, edx
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x1c], eax
movzx ecx, cl
cmove ecx, edx
jmp 0x10015c1a
mov ecx, dword [esp + 0x18]
cmp byte [ebx + 4], 0
jne 0x10015c28
test cl, cl
jne 0x10015d71
cmp dword [esi + 0x14], 8
mov dword [esp + 0xc], 0
jb 0x10015c38
mov esi, dword [esi]
push 0x100c154c
lea eax, [esp + 0x10]
push esi
push eax
call fcn.10082177
mov eax, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x10015d71
push 2
push 0
push eax
call fcn.10082dc9
add esp, 0xc
push dword [esp + 0xc]
call fcn.10082b04
add esp, 4
mov esi, eax
push esi
call fcn.100825a2
add esp, 4
mov dword [esp + 0x1c], eax
push 0
push 0
push dword [esp + 0x14]
call fcn.10082dc9
add esp, 0xc
push dword [esp + 0xc]
push esi
push 1
push dword [esp + 0x28]
call fcn.10082fb0
push dword [esp + 0x1c]
call fcn.10082292
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0x18], 0
push ecx
push esi
mov esi, dword [esp + 0x24]
mov ecx, edi
push esi
call dword [eax + 0x10]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x10015d25
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [edi + 0x204]
call fcn.10011aa0
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 0x204]
cmp eax, dword [ecx + 4]
jne 0x10015d1a
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push ecx
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
call fcn.10016ca0
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
jmp 0x10015d1e
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x10015d38
push 1
push esi
call fcn.1001a18b
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x10015d71
cmp byte [ebx + 4], 0
je 0x10015d54
mov dword [edi + 0x224], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x14], 0
je 0x10015d71
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0x1e4]
call fcn.10016b50
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10016b90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
mov esi, dword [edi + 0xc]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx + ecx]
mov ecx, dword [edi + 4]
lea edi, [esi + edx*4]
mov ebx, dword [esi + edx*4]
mov esi, dword [ebp + 0xc]
cmp ebx, ecx
jne 0x10016bef
mov edx, ecx
jmp 0x10016bf4
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x10016c42
mov edx, dword [eax + 8]
cmp edx, dword [esi]
je 0x10016c03
mov eax, dword [eax]
jmp 0x10016be7
mov edx, dword [ebp + 0xc]
mov esi, eax
mov edx, dword [edx]
mov dword [ebp + 0xc], edx
nop dword [eax]
cmp ebx, ecx
jne 0x10016c18
mov edx, ecx
jmp 0x10016c1d
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp eax, edx
je 0x10016c2d
mov edx, dword [ebp + 0xc]
cmp edx, dword [eax + 8]
jne 0x10016c2d
mov eax, dword [eax]
jmp 0x10016c10
cmp esi, eax
je 0x10016c42
mov ecx, dword [ebp + 8]
pop edi
mov dword [ecx], esi
pop esi
mov dword [ecx + 4], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
pop ebp
ret 8
Function at 0x10017a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x14]
push esi
mov eax, dword [ebx + 0x4c]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
add eax, ecx
push 0x24
mov dword [ebp + 0x18], ecx
mov dword [ebp - 0xc], edi
lea esi, [edi*4]
mov dword [ebp - 8], eax
call fcn.1001a158
mov dword [ebp + 0x10], eax
mov ecx, esi
imul ecx, dword [ebp + 0x14]
add esp, 4
movups xmm0, xmmword [ebp - 0x14]
mov byte [eax], 0
mov dword [eax + 0x18], 0x20
movups xmmword [eax + 4], xmm0
add ecx, dword [ebp + 0xc]
mov dword [eax + 0x14], ecx
lea ecx, [ebx + 0xb8]
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], 0
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0xb8]
mov dword [ebp - 0xc], 0
call dword [eax]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebx + 0xdc]
call fcn.100188f0
mov eax, dword [ebx + 0xb8]
lea ecx, [ebx + 0xb8]
call dword [eax + 4]
mov esi, dword [ebx + 0x4c]
lea eax, [edi + 0xff]
cdq
and edx, 0xff
lea edi, [edx + eax]
mov eax, dword [ebp + 0x18]
add eax, 0xff
sar edi, 8
add eax, esi
shr esi, 8
shr eax, 8
mov dword [ebp + 0x10], eax
cmp esi, eax
jge 0x10017b60
nop dword [eax + eax]
xor eax, eax
test edi, edi
jle 0x10017b5a
nop word [eax + eax]
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x98]
imul edx, esi
add edx, eax
inc eax
mov dword [ecx + edx*4], 1
cmp eax, edi
jl 0x10017b40
inc esi
cmp esi, dword [ebp + 0x10]
jl 0x10017b30
mov edx, dword [ebx + 0x3c]
mov eax, edx
mov esi, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x98]
imul eax, esi
add eax, ecx
cmp dword [edi + eax*4], 0
je 0x10017b9e
nop dword [eax]
inc ecx
mov dword [ebx + 0x38], ecx
cmp ecx, esi
jb 0x10017b91
xor ecx, ecx
inc edx
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], edx
mov eax, esi
imul eax, edx
add eax, ecx
cmp dword [edi + eax*4], 0
jne 0x10017b80
cmp dword [ebp + 8], 0
je 0x10017be5
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebx + 0x78]
call fcn.10011aa0
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebx + 0x7c]
jne 0x10017bd6
lea eax, [ebp + 8]
push ecx
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push ecx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebx + 0x78]
call fcn.10016ca0
mov eax, dword [eax]
mov ecx, dword [ebx + 0x4c]
sub ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp + 0x18]
add dword [ebx + 0x4c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10017bf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b124
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100ca00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x100d589c], 0
jne 0x10017c4f
push 0xa8
call fcn.1001a158
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.1000ab00
mov dword [ebp - 4], 0xffffffff
mov dword [0x100d589c], eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000b690
mov esi, eax
mov dword [ebp - 4], 1
cmp dword [0x100d589c], 0
jne 0x10017c8e
push 0xa8
call fcn.1001a158
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000ab00
mov byte [ebp - 4], 1
mov dword [0x100d589c], eax
lea eax, [ebp - 0x40]
push eax
call fcn.1000b970
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.1000d820
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 0x10
jb 0x10017cbe
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10005d20
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x10017ce5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10005d20
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.size_adjust
push str.Font
call esi
cmp dword [ebp - 0x14], 0x10
mov dword [edi + 0xd4], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.yoffset_adjust
push str.Font
call esi
mov dword [edi + 0xd8], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10017d40
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10005d20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001a147
mov esp, ebp
pop ebp
ret
Function at 0x1004f030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
push ebx
movzx ebx, word [eax]
mov ecx, dword [ecx]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
cmp ecx, eax
jb 0x1004f053
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
sub eax, ecx
push esi
mov esi, dword [ebp + 0x14]
cmp esi, eax
cmova esi, eax
xor edx, edx
mov dword [ebp + 0x14], esi
test esi, esi
je 0x1004f0a4
push edi
mov edi, dword [ebp + 0x10]
sub ecx, edi
mov dword [ebp + 0xc], esi
mov esi, ecx
movzx eax, byte [esi + edi]
lea edi, [edi + 1]
mov edx, ebx
mov ecx, 0x58bf
shr edx, 8
xor edx, eax
add eax, ebx
imul eax, eax, 0x3193
mov byte [edi - 1], dl
sub ecx, eax
sub dword [ebp + 0xc], 1
movzx ebx, cx
jne 0x1004f072
mov esi, dword [ebp + 0x14]
mov edx, esi
mov ecx, dword [ebp - 8]
pop edi
mov eax, dword [ebp + 8]
add ecx, esi
pop esi
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov word [eax], bx
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10068229
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x1008fc66
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1008fae5

Function at 0x1009212a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10091dea
Function at 0x10017a20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0e54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx], 0xffffffff
mov dword [edx + 0x18], 0xf
mov dword [edx + 0x14], 0
mov byte [edx + 4], 0
mov dword [ebp - 4], 0
mov dword [edx + 0x30], 0xf
mov dword [edx + 0x2c], 0
mov byte [edx + 0x1c], 0
mov byte [ebp - 4], 1
lea ecx, [edx + 0x38]
lea eax, [ecx + 0x20]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov byte [eax], 0
mov byte [ebp - 4], 3
mov al, byte [ebp + 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 6
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x10], al
mov dword [ecx + 0x14], 0x201
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x18], 0
mov byte [ebp - 4], 4
mov dword [edx + 0x60], 0xffffffff
mov dword [edx + 0x64], closesocket
mov dword [edx + 0x68], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1001b390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x1001b3c1
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1001b3b0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10027c50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2882
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.100a7507
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10027d04
lea eax, [ebp + 8]
mov dword [ebp + 8], str.bad_locale_name
push eax
lea ecx, [ebp - 0x1c]
call fcn.100abd28
mov byte [ebp - 4], 7
mov dword [ebp - 0x1c], vtable.std::runtime_error.0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1c]
push 0x10121e00
push eax
call fcn.100b199b
push eax
push esi
call fcn.100a7301
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10029400
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.10029330
test al, al
je 0x100294cc
call fcn.10029530
push eax
lea ecx, [ebp - 0x34]
call fcn.10010a20
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10071130
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.10010b20
lea ecx, [ebp - 0x4c]
call fcn.1000fc10
mov byte [ebp - 4], 4
call fcn.10045ae0
mov dl, 1
mov ecx, 0x2718
call fcn.1002ae70
call fcn.1000f900
test al, al
je 0x1002949d
push 0
push 0x10056e40
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
call esi
push 0
push 0x10056e40
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100294a6
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.10046e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.10010b20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10029740
mov dword [ebp - 4], 0xffffffff
call fcn.1005dd10
mov eax, dword [0x100e7734]
test eax, eax
je 0x1002951b
push 0
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10029ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
cmp edx, 1
jne 0x10029ff5
mov dword [ebp - 4], 0
call fcn.1000f600
test al, al
jne 0x10029ee9
call fcn.10055890
test al, al
je 0x1002a08e
call fcn.10055890
test al, al
jne 0x10029ff5
mov dword [ebp - 4], 0xffffffff
mov dword [0x100e7734], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x100e7730], eax
mov ecx, edi
call fcn.10029c90
call fcn.1002a0b0
push eax
lea ecx, [ebp - 0x38]
call fcn.10010a20
mov esi, eax
mov dword [ebp - 4], 2
call fcn.1002a220
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov edx, esi
call fcn.1002ba30
add esp, 4
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
call fcn.10057400
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x24], 8
jb 0x10029f6c
push dword [ebp - 0x38]
call fcn.100ab3c9
add esp, 4
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
xor eax, eax
mov word [ebp - 0x38], ax
mov ecx, edi
call fcn.10057000
mov dword [ebp - 4], 4
call fcn.1000f8f0
test al, al
je 0x10029f9c
call fcn.10045ae0
call fcn.1000f920
test al, al
je 0x10029faa
call fcn.10045ae0
call fcn.1000f910
test al, al
je 0x1002a00b
call fcn.100551c0
test al, al
jne 0x1002a08e
call fcn.10045ae0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x100297b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x10029ff5
call fcn.10057480
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x100297b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.10072900
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x1002a04a
mov eax, dword [eax]
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x1002a05c
call fcn.10057480
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10012900
jmp 0x10029ff5
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret