joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10059cb0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e91ad
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1011b140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x20058], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
je 0x10059e38
cmp dword [ebx + 4], 0xffffffff
je 0x10059e38
cmp dword [ebx + 0x20028], 0
je 0x10059e38
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10045e60
call fcn.10059390
mov dword [ebp - 4], 0
cmp dword [0x10142608], 0
je 0x10059d98
mov eax, dword [0x10142604]
push esi
inc eax
push edi
push 0x1015c444
mov dword [0x10142604], eax
mov dword [0x1015c440], eax
call fcn.100c0860
add esp, 8
lea edx, [esi + 4]
mov ecx, 0x1015c440
call fcn.1005c870
add esp, 4
mov dword [esi + 0x1015c444], eax
lea eax, [esi + 8]
mov esi, eax
mov dword [ebp - 0x20], esi
push 0x1015c440
push 0x1015c440
push eax
call fcn.1005aa30
push esi
mov dword [ebp - 0x18], esi
call fcn.100bd8a9
push esi
mov edi, eax
mov dword [ebp - 0x24], eax
push 0x1015c440
push edi
mov dword [ebp - 0x14], edi
call fcn.100c0860
add esp, 0x10
lea eax, [esi + 6]
cmp eax, 0xc8
jg 0x10059e30
mov esi, dword [sym.imp.WSOCK32.dll_htons]
lea edi, [ebx + 0x28]
push 0xaa55
call esi
mov word [edi], ax
mov eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x24]
mov word [edi + 2], ax
add edi, 4
push edi
call fcn.100c0860
add esp, 0xc
push 0x55aa
call esi
mov ecx, dword [ebp - 0x20]
mov word [ecx + edi], ax
lea esi, [ecx + 6]
xor eax, eax
test esi, esi
jle 0x10059e2a
push 0
mov edi, eax
lea eax, [ebx + 0x28]
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.WSOCK32.dll_send]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x10059e0e
test ecx, ecx
lea eax, [ecx + edi]
cmove eax, edi
cmp eax, esi
jl 0x10059de7
jmp 0x10059e2a
push 0x182
push str.C:NEWSRCFASTBOTFASTBOTCSocketAPISocket.cpp
push str.socket_send_error_
push str.ERROR____s_n_s:__d_n_n
call fcn.10053b00
add esp, 0x10
add dword [ebx + 0x20040], esi
lea ecx, [ebp - 0x1c]
call fcn.100593b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bd374
mov esp, ebp
pop ebp
ret 8

Function at 0x1005a8a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax]
lea eax, [eax + 4]
xor edx, dword [eax - 8]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x1005a8b0
pop esi
ret
Function at 0x1005a8f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, 0xe3
mov ebx, dword [esi + 0x9c4]
push edi
lea edi, [esi + 0x9c4]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x1005a907
mov ebx, dword [esi + 0xd50]
lea edi, [esi + 0xd50]
mov ebp, 0x18c
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub ebp, 1
jne 0x1005a953
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
mov dword [esi], ebp
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
pop esi
pop ebp
pop ebx
ret

Function at 0x1005aa30
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
movzx eax, bl
imul eax, eax, 0x9d
push edi
mov edi, 0x86d
mov dword [esp + 0xc], eax
xor eax, eax
test ebx, ebx
jle 0x1005aa8f
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
sub ebp, ecx
nop word [eax + eax]
lea esi, [eax + ecx]
mov ecx, eax
and ecx, 7
inc eax
mov dl, byte [ecx + 0x101488e8]
mov ecx, edi
xor dl, byte [esi + ebp]
sar ecx, 8
xor dl, cl
imul edi, edi, 0x87b
xor dl, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov byte [esi], dl
cmp eax, ebx
jl 0x1005aa60
pop esi
pop ebp
pop edi
pop ebx
ret 0xc

Function at 0x1005c870
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
push edi
mov edi, ecx
test edx, edx
je 0x1005c898
nop dword [eax]
movzx ecx, byte [edi + esi]
inc esi
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1010b5f0]
cmp esi, edx
jb 0x1005c880
pop edi
pop esi
ret

Function at 0x1005cbc0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
movzx eax, bl
imul eax, eax, 0x9d
push edi
mov edi, 0x86d
mov dword [esp + 0xc], eax
xor eax, eax
test ebx, ebx
jle 0x1005cc1f
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
sub ebp, ecx
nop word [eax + eax]
lea esi, [eax + ecx]
mov ecx, eax
and ecx, 7
inc eax
mov dl, byte [ecx + 0x1014da98]
mov ecx, edi
xor dl, byte [esi + ebp]
sar ecx, 8
xor dl, cl
imul edi, edi, 0x87b
xor dl, byte [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov byte [esi], dl
cmp eax, ebx
jl 0x1005cbf0
pop esi
pop ebp
pop edi
pop ebx
ret 0xc
Function at 0x1005cdc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x1005cdfe
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1005ce02
cmp edx, esi
jne 0x1005cde7
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x1005ce22
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1005ce26
cmp edx, esi
jne 0x1005ce0b
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x1005ce46
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1005ce4a
cmp edx, esi
jne 0x1005ce2f
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1005ce60
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x20
mov eax, dword [0x1011b140]
xor eax, esp
mov dword [esp + 0x1c], eax
push edi
push 0x1c
lea eax, [esp + 8]
mov edi, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
lea eax, [esp + 0x18]
push eax
push 0x40
push dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x1000
push 0
push edi
call fcn.100bef40
add esp, 0xc
push 0
push dword [esp + 0x1c]
push dword [esp + 0x18]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [esp + 0x10]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ecx, dword [esp + 0x20]
pop edi
xor ecx, esp
call fcn.100bd374
add esp, 0x20
ret

Function at 0x1005cee0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 8
mov eax, dword [0x1011b140]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x1005cf48
push edi
mov edi, dword [esi + 0x3c]
lea eax, [esp + 8]
push eax
push 4
push 0x40
push esi
add edi, esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1005cf1c
push 0x40
push 0
push esi
call fcn.100bef40
add esp, 0xc
test edi, edi
je 0x1005cf47
lea eax, [esp + 8]
push eax
push 4
push 0xf8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1005cf47
push 0xf8
push 0
push edi
call fcn.100bef40
add esp, 0xc
pop edi
mov ecx, dword [esp + 8]
pop esi
xor ecx, esp
call fcn.100bd374
add esp, 8
ret
Function at 0x1005fdf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov esi, edx
mov edi, ecx
not eax
nop dword [eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1010bc30]
sub esi, 1
jne 0x1005fe00
pop edi
pop esi
not eax
ret

Function at 0x1005fe20
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1005fe7e
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1005fe62
cmp edi, 2
jb 0x1005fe62
cmp byte [esi], cl
jne 0x1005fe62
cmp byte [esi + 1], cl
jne 0x1005fe62
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1010bc30]
jmp 0x1005fe33
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1010bc30]
test edi, edi
jne 0x1005fe33
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1005fead
cmp cl, 0x23
jne 0x1005fe94
cmp byte [esi], cl
jne 0x1005fe94
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1010bc30]
test cl, cl
jne 0x1005fe85
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x10060010
Capabilities:
Read file on windows

Disassembly:
push edx
push dword [esp + 0x10]
push 1
push ecx
call fcn.100c8662
add esp, 0x10
xor edx, edx
ret
Function at 0x1007ee70
Capabilities:
Compute adler32 checksum

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, 0x5e6ea9af
push esi
mov esi, edx
mov ebx, ebp
mul ebp
push edi
shr edx, 0xb
xor edi, edi
imul eax, edx, 0x15b0
mov ecx, 1
sub ebx, eax
mov dword [esp + 0x10], ebx
test ebp, ebp
je 0x1007ef99
xor edx, edx
mov dword [esp + 0x14], edx
cmp ebx, 7
jbe 0x1007ef06
mov ebp, 7
sub ebp, esi
movzx eax, byte [esi]
add edx, 8
add ecx, eax
movzx eax, byte [esi + 1]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 2]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 3]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 4]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 5]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 6]
add edi, ecx
add ecx, eax
movzx eax, byte [esi + 7]
add esi, 8
add edi, ecx
add ecx, eax
add edi, ecx
lea eax, [esi + ebp]
cmp eax, ebx
jb 0x1007eeb6
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
xor ebx, ebx
xor ebp, ebp
cmp edx, eax
jae 0x1007ef5e
sub eax, edx
cmp eax, 2
jb 0x1007ef51
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
sub edx, eax
sub edx, 2
shr edx, 1
inc edx
lea eax, [eax + edx*2]
mov dword [esp + 0x14], eax
movzx eax, byte [esi]
add ecx, eax
movzx eax, byte [esi + 1]
add ebx, ecx
add esi, 2
add ecx, eax
add ebp, ecx
sub edx, 1
jne 0x1007ef30
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x10]
jae 0x1007ef59
movzx eax, byte [esi]
add ecx, eax
add edi, ecx
inc esi
lea eax, [ebx + ebp]
add edi, eax
mov eax, 0x80078071
mov ebx, dword [esp + 0x10]
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
sub dword [esp + 0x24], ebx
mov ebx, 0x15b0
mov dword [esp + 0x10], ebx
jne 0x1007eea4
shl edi, 0x10
lea eax, [ecx + edi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x1009fb00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x1009fb2a
mov edx, dword [esp + 0xc]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x1009fb14
pop edi
mov eax, edx
pop esi
ret
mov eax, dword [esp + 0xc]
pop edi
pop esi
ret

Function at 0x100a09c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [0x1011b140]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
push esi
call fcn.1005c680
push 0x10110dc4
push eax
call fcn.100c8472
mov esi, eax
add esp, 8
test esi, esi
jne 0x100a0a12
mov eax, 0x1010acff
pop esi
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.100bd374
add esp, 0x404
ret 4
push esi
push 0x400
lea eax, [esp + 0xc]
push 1
push eax
call fcn.100c8662
add esp, 0x10
test eax, eax
je 0x100a0a54
nop dword [eax + eax]
push eax
lea eax, [esp + 8]
push eax
call fcn.1005c6c0
push esi
push 0x400
lea eax, [esp + 0xc]
push 1
push eax
call fcn.100c8662
add esp, 0x10
test eax, eax
jne 0x100a0a30
call fcn.1005c780
push esi
call fcn.100c7641
mov ecx, dword [esp + 0x408]
add esp, 4
mov eax, 0x10150b88
pop esi
xor ecx, esp
call fcn.100bd374
add esp, 0x404
ret 4
Function at 0x100aa7a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x5c
mov eax, dword [0x1011b140]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
push dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x18]
call fcn.100b5b00
mov ecx, eax
call fcn.10045d20
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call edi
push 0xc
lea ecx, [esp + 0x4c]
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov esi, dword [esp + 0x48]
call edi
mov ebx, eax
mov dword [esp + 0x44], 0
push 0x1c
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
push esi
push ebx
movups xmmword [esp + 0x3c], xmm0
movq qword [esp + 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x100aa903
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x2c]
push 0x40
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x100aa903
push 0
push edi
push esi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x100aa903
sub esp, 0xc
mov dword [esp + 0x30], 0
lea eax, [esp + 0x64]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 0
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.100b9620
test eax, eax
jne 0x100aa903
mov edx, ebp
mov ecx, ebx
call fcn.100b9750
test eax, eax
jne 0x100aa903
sub esp, 0xc
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x34], ebp
xorps xmm0, xmm0
mov edx, ebx
movlpd qword [esp + 0x6c], xmm0
push eax
lea eax, [esp + 0x70]
push eax
push edi
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
call fcn.100b96b0
test eax, eax
jne 0x100aa903
push eax
push dword [esp + 0x58]
push esi
push dword [esp + 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x100aa903
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.100bd374
add esp, 0x5c
ret
mov ecx, dword [esp + 0x68]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100bd374
add esp, 0x5c
ret
Function at 0x100abbe0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x1011b140]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jg 0x100abc24
jl 0x100abc0c
test eax, eax
jne 0x100abc24
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.100bd374
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x100abc48
push ecx
push eax
push edi
mov ecx, ebx
call fcn.100ac360
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.100bd374
mov esp, ebp
pop ebp
ret 0xc
mov esi, eax
mov ecx, ebx
mov dword [esp + 0xc], esi
call fcn.100ae380
mov dword [esp + 0x10], eax
test eax, eax
je 0x100abc95
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.1004fba0
add esp, 8
mov ecx, ebx
mov esi, dword [eax]
push esi
call fcn.100ae440
push eax
push edi
call fcn.1004c9c0
sub dword [esp + 0x18], esi
add esp, 0xc
mov ecx, ebx
add edi, esi
push esi
call fcn.100ae400
mov esi, dword [esp + 0xc]
cmp dword [ebx + 0x4c], 0
je 0x100abcf3
mov ecx, ebx
call fcn.100adfd0
mov esi, dword [esp + 0xc]
cmp esi, 0xfff
jbe 0x100abcda
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push edi
call fcn.100c8662
mov esi, dword [esp + 0x1c]
add esp, 0x10
sub esi, eax
add edi, eax
mov dword [esp + 0xc], esi
cmp eax, 0xfff
jne 0x100abcf3
cmp esi, eax
ja 0x100abcb0
test esi, esi
je 0x100abcf3
push dword [ebx + 0x4c]
push esi
push 1
push edi
call fcn.100c8662
mov esi, dword [esp + 0x1c]
add esp, 0x10
sub esi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
sbb edx, 0
pop ebx
xor ecx, esp
call fcn.100bd374
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100b79a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb23d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1011b140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push ecx
lea ecx, [ebp - 0x14]
call fcn.100482c0
call fcn.100b8600
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
lea ecx, [ebp - 0x14]
call fcn.10045100
push eax
push 0x100b8630
push 0
push 0
call fcn.100cd9b8
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x100b7a34
lea ecx, [ebp - 0x14]
call fcn.100b8450
lea ecx, [ebp - 0x14]
call fcn.100b8470
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.100bd374
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.100bbf65
int3
Function at 0x100b7a50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb23d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1011b140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push ecx
lea ecx, [ebp - 0x14]
call fcn.100482c0
call fcn.100b8600
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
lea ecx, [ebp - 0x14]
call fcn.10045100
push eax
push 0x100b86a0
push 0
push 0
call fcn.100cd9b8
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x100b7ae4
lea ecx, [ebp - 0x14]
call fcn.100b8450
lea ecx, [ebp - 0x14]
call fcn.100b8470
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.100bd374
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.100bbf65
int3

Function at 0x100b7b00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100eb23d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1011b140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push ecx
lea ecx, [ebp - 0x14]
call fcn.100482c0
call fcn.100b8600
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
lea ecx, [ebp - 0x14]
call fcn.10045100
push eax
push 0x100b86f0
push 0
push 0
call fcn.100cd9b8
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x100b7b94
lea ecx, [ebp - 0x14]
call fcn.100b8450
lea ecx, [ebp - 0x14]
call fcn.100b8470
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.100bd374
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.100bbf65
int3
Function at 0x100b8a60
Capabilities:
Log keystrokes via polling

Disassembly:
jmp fcn.100a27d0
jmp 0x100aacb0

Function at 0x100bb9ba
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x100bb9e1
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100bb9e4
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100bb996
pop esi
leave
ret 8

Function at 0x100c6f1c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100be560
mov eax, dword [0x1011b140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100d4c54
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100c6f5e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100c70ba
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100e5660
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10142250]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.100d5645
mov ecx, dword [esi*4 + 0x10142250]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x100c70b3
cmp eax, dword [ecx + edi + 0x24]
jne 0x100c70b3
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100c70b3
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100d5645
add esp, 0x14
test edx, edx
jl 0x100c70b3
jg 0x100c7029
test eax, eax
jb 0x100c70b3
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100c70b3
jl 0x100c7043
cmp dword [ebp - 0x1008], eax
ja 0x100c70b3
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100c7061
test ebx, ebx
je 0x100c709a
cmp ecx, edi
jae 0x100c709a
mov al, byte [ecx]
cmp al, 0xd
jne 0x100c707b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100c7087
cmp byte [ecx + 1], 0xa
jne 0x100c7087
inc ecx
jmp 0x100c7087
movzx eax, al
movsx eax, byte [eax + 0x101250b8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100c7061
cmp edx, ebx
jne 0x100c7061
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100c70b8
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100bd374
leave
ret