joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019650
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a3df8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x54]
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x40], eax
movzx eax, byte [esi + 0x44]
mov byte [edi + 0x44], al
movzx eax, byte [esi + 0x45]
mov byte [edi + 0x45], al
movzx eax, byte [esi + 0x46]
mov byte [edi + 0x46], al
movzx eax, byte [esi + 0x47]
mov byte [edi + 0x47], al
movzx eax, byte [esi + 0x48]
mov byte [edi + 0x48], al
movzx eax, byte [esi + 0x49]
mov byte [edi + 0x49], al
movzx eax, byte [esi + 0x4a]
mov byte [edi + 0x4a], al
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
lea eax, [esi + 0x54]
push eax
call fcn.10018220
mov dword [ebp - 4], 0
lea ebx, [edi + 0x70]
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
mov dword [ebp + 8], ebx
mov dword [ebx + 0x24], 0
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x94]
test ecx, ecx
je 0x1001975b
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100205a0
Capabilities:
Hash data using fnv

Disassembly:
mov edx, ecx
jmp 0x10021c90
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
ret
Function at 0x100216d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jns 0x100216e6
mov eax, 6
mov dword [esp + 4], eax
jmp 0x1001a970
cmp eax, 0x3b9aca00
jge 0x100216f6
mov dword [esp + 4], eax
jmp 0x1001a970
mov ecx, 0x84
mov eax, edx
mov edx, ecx
ret
Function at 0x100350e0
Capabilities:
Hash data using fnv

Disassembly:
mov edx, ecx
jmp 0x100350f0
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
imul eax, ecx, 0x1000193
ret

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

Disassembly:
push esi
xor esi, esi
push edi
mov edi, 0x811c9dc5
test edx, edx
je 0x10035831
nop dword [eax]
movzx eax, byte [esi + ecx]
inc esi
xor eax, edi
imul edi, eax, 0x1000193
cmp esi, edx
jb 0x10035820
mov eax, edi
pop edi
pop esi
ret
Function at 0x10043db0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x103362f4]
cmp eax, dword [ecx + 4]
jle 0x10043e47
push 0x103362f4
call fcn.1014be59
add esp, 4
cmp dword [0x103362f4], 0xffffffff
jne 0x10043e47
mov eax, dword [0x10335868]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x10043e32
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10043df8
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x10043e2b
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x10043e10
cmp ecx, 0xe586ee45
je 0x10043e34
mov esi, dword [esi + 4]
test esi, esi
jne 0x10043df0
xor esi, esi
push 0x103362f4
mov dword [0x103362f8], esi
call fcn.1014be08
add esp, 4
mov eax, dword [0x103362f8]
pop edi
pop esi
ret

Function at 0x10043e50
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x103362e4]
cmp eax, dword [ecx + 4]
jle 0x10043ee7
push 0x103362e4
call fcn.1014be59
add esp, 4
cmp dword [0x103362e4], 0xffffffff
jne 0x10043ee7
mov eax, dword [0x10335868]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x10043ed2
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10043e98
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x10043ecb
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x10043eb0
cmp ecx, 0xf3f59b2a
je 0x10043ed4
mov esi, dword [esi + 4]
test esi, esi
jne 0x10043e90
xor esi, esi
push 0x103362e4
mov dword [0x103362e8], esi
call fcn.1014be08
add esp, 4
mov eax, dword [0x103362e8]
pop edi
pop esi
ret
Function at 0x10044550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [edx + 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [edx + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [edx + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [edx + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [edx + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0x4c], eax
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x50], eax
mov eax, dword [edx + 0x54]
mov dword [ecx + 0x54], eax
mov eax, dword [edx + 0x58]
mov dword [ecx + 0x58], eax
mov eax, dword [edx + 0x5c]
mov dword [ecx + 0x5c], eax
mov eax, dword [edx + 0x60]
mov dword [ecx + 0x60], eax
mov eax, dword [edx + 0x64]
mov dword [ecx + 0x64], eax
mov eax, dword [edx + 0x68]
mov dword [ecx + 0x68], eax
mov eax, dword [edx + 0x6c]
mov dword [ecx + 0x6c], eax
mov eax, dword [edx + 0x70]
mov dword [ecx + 0x70], eax
mov eax, dword [edx + 0x74]
mov dword [ecx + 0x74], eax
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x78], eax
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x7c], eax
mov eax, dword [edx + 0x80]
mov dword [ecx + 0x80], eax
mov eax, dword [edx + 0x84]
mov dword [ecx + 0x84], eax
movzx eax, byte [edx + 0x88]
mov byte [ecx + 0x88], al
mov eax, dword [edx + 0x8c]
mov dword [ecx + 0x8c], eax
mov eax, dword [edx + 0x90]
mov dword [ecx + 0x90], eax
mov eax, dword [edx + 0x94]
mov dword [ecx + 0x94], eax
mov eax, dword [edx + 0x98]
mov dword [ecx + 0x98], eax
mov eax, dword [edx + 0x9c]
mov dword [ecx + 0x9c], eax
mov eax, dword [edx + 0xa0]
mov dword [ecx + 0xa0], eax
movzx eax, byte [edx + 0xa4]
mov byte [ecx + 0xa4], al
mov eax, ecx
ret 4
Function at 0x100492c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10337b6c]
cmp eax, dword [ecx + 4]
jle 0x10049357
push 0x10337b6c
call fcn.1014be59
add esp, 4
cmp dword [0x10337b6c], 0xffffffff
jne 0x10049357
mov eax, dword [0x10335868]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x10049342
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10049308
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x1004933b
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x10049320
cmp ecx, 0x89289ff
je 0x10049344
mov esi, dword [esi + 4]
test esi, esi
jne 0x10049300
xor esi, esi
push 0x10337b6c
mov dword [0x10336314], esi
call fcn.1014be08
add esp, 4
mov eax, dword [0x10336314]
pop edi
pop esi
ret
Function at 0x1004d3b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10337b90]
cmp eax, dword [ecx + 4]
jle 0x1004d447
push 0x10337b90
call fcn.1014be59
add esp, 4
cmp dword [0x10337b90], 0xffffffff
jne 0x1004d447
mov eax, dword [0x10335868]
mov esi, dword [eax + 0x30]
test esi, esi
je 0x1004d432
mov edx, dword [esi + 0xc]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1004d3f8
sub eax, edi
mov ecx, 0x4fa38bcd
lea edi, [eax + 1]
test edi, edi
je 0x1004d42b
nop dword [eax]
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
imul ecx, eax, 0xf1546419
sub edi, 1
jne 0x1004d410
cmp ecx, 0x2115be40
je 0x1004d434
mov esi, dword [esi + 4]
test esi, esi
jne 0x1004d3f0
xor esi, esi
push 0x10337b90
mov dword [0x10337bd4], esi
call fcn.1014be08
add esp, 4
mov eax, dword [0x10337bd4]
pop edi
pop esi
ret
Function at 0x1004d450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x100c
call fcn.101a25e0
mov eax, dword [0x10242040]
xor eax, esp
mov dword [esp + 0x1008], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103357d4]
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10337bd0]
cmp eax, dword [ecx + 4]
jle 0x1004d540
push 0x10337bd0
call fcn.1014be59
add esp, 4
cmp dword [0x10337bd0], 0xffffffff
jne 0x1004d540
xorps xmm0, xmm0
mov dword [0x10337bc0], 0
push 2
movlpd qword [0x10337ba8], xmm0
movlpd qword [0x10337bb0], xmm0
movlpd qword [0x10337bb8], xmm0
push 0x10337b9c
mov dword [0x10337b9c], 0
mov dword [0x10337ba0], 0
mov dword [0x10337ba4], 0
movups xmmword [0x10337ba8], xmm0
mov dword [0x10337bc0], 0
movq qword [0x10337bb8], xmm0
mov dword [0x10337bc4], 0
mov dword [0x10337bc8], 0
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
push 0x101bba30
call fcn.1014bd92
add esp, 0xc
push 0x10337bd0
call fcn.1014be08
add esp, 4
push 0x10337b9c
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1004d55a
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [0x10337bc8], 0x7fffffff
jne 0x1004d578
push 6
mov dword [0x10337bc8], 0x7ffffffe
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0x10209310
push str.C:Weavelog.txt
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
push 2
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
push 0x1000
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [esp + 0x14]
push 0x1000
push eax
call fcn.10035bd0
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf_s]
lea ecx, [esp + 0x24]
add esp, 0x1c
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004d5d8
push esi
sub ecx, edx
lea eax, [esp + 0xc]
push ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
push 0x10337b9c
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov ecx, dword [esp + 0x1010]
add esp, 4
pop esi
xor ecx, esp
call fcn.1014ba4f
mov esp, ebp
pop ebp
ret
Function at 0x1004e130
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, edx
mov eax, dword [ebx]
nop dword [eax]
cmp edi, 7
ja case.default.0x1004e145
jmp dword [edi*4 + 0x1004e2d8]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x1004e188
sub ecx, 1
je 0x1004e175
sub ecx, 1
jne 0x1004e19b
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x1004e21d
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x101f8750]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
sub edx, 1
jne 0x1004e1a4
and edi, 7
jmp 0x1004e140
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
mov dword [ebx], eax
pop ebx
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
ret
Function at 0x1004e25e
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, edx
mov eax, dword [ebx]
nop dword [eax]
cmp edi, 7
ja case.default.0x1004e145
jmp dword [edi*4 + 0x1004e2d8]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x1004e188
sub ecx, 1
je 0x1004e175
sub ecx, 1
jne 0x1004e19b
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x1004e21d
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x101f8750]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
sub edx, 1
jne 0x1004e1a4
and edi, 7
jmp 0x1004e140
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x101f8750]
mov dword [ebx], eax
pop ebx
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x101f8750]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
ret

Function at 0x100515d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x1033ac5c]
test eax, eax
je 0x100515ec
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1005163f
mov eax, dword [eax]
test eax, eax
jne 0x100515e0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x1005163d
push esi
push edi
xor edi, edi
mov dword [edx + 8], 0
lea ecx, [edx + 0x20]
lea esi, [edi + 0x20]
mov dword [ecx], edi
mov eax, ecx
mov dword [edx + 4], ecx
add esi, 0x20
add ecx, 0x20
mov edi, eax
cmp esi, 0xfe0
jbe 0x10051617
mov eax, dword [0x1033ac5c]
pop edi
pop esi
mov dword [edx], eax
mov dword [0x1033ac5c], edx
mov eax, edx
ret
Function at 0x10052110
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x20
mov eax, dword [0x10242040]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push 0
push 4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x10052200
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100521f9
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
nop dword [eax + eax]
cmp dword [esp + 0x10], 0x10
jb 0x100521db
call ebp
cmp dword [esp + 0x1c], eax
jne 0x100521db
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x18], eax
je 0x100521db
mov eax, dword [esi]
test eax, eax
jne 0x100521a5
push 0x200
push eax
push dword [0x10335904]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x100521f7
lea edi, [esi + 8]
jmp 0x100521d0
mov ecx, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], ecx
jb 0x100521d0
shl ecx, 3
push ecx
push eax
push 0
push dword [0x10335904]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x100521f7
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [edi]
mov ecx, dword [esp + 0x18]
mov dword [eax + edx*4], ecx
inc dword [edi]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10052160
pop edi
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
pop esi
pop ebx
xor ecx, esp
call fcn.1014ba4f
add esp, 0x20
ret

Function at 0x10052220
Capabilities:
Suspend thread

Disassembly:
push ecx
push edi
mov edi, ecx
mov dword [esp + 4], edx
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.10052110
cmp dword [edi], 0
je 0x1005228f
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1005228e
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10052286
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [esp + 0x10]
mov ecx, ebx
push ebp
call fcn.10052000
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10052254
pop ebp
pop ebx
pop esi
pop edi
pop ecx
ret

Function at 0x100522a0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x100522f0
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x100522df
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100522d7
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x100522b8
pop edi
pop ebp
push dword [ebx]
push 0
push dword [0x10335904]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x10052300
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push ebp
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x1033ac50]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebp, [eax*2 + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10052346
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
pop ecx
ret
test ebx, ebx
je 0x10052367
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10052388
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10052388
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10052382
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10052388
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
pop edi
mov byte [esi + 0x14], bl
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x100534c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0xc], edx
push esi
push edi
test ebp, ebp
je 0x10053550
xor ebx, ebx
cmp dword [ebp + 4], ebx
jle 0x10053549
xor edx, edx
mov dword [esp + 0x10], edx
nop
mov esi, dword [ebp]
add esi, edx
mov edx, dword [esi + 4]
test edx, edx
je 0x10053538
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100534f1
sub eax, edi
mov edi, 0x4fa38bcd
lea ecx, [eax + 1]
test ecx, ecx
je 0x10053519
movsx eax, byte [edx]
lea edx, [edx + 1]
xor eax, edi
imul edi, eax, 0xf1546419
sub ecx, 1
jne 0x10053506
mov eax, dword [esp + 0x14]
cmp edi, eax
je 0x1005355a
cmp dword [esi], 0xa
jne 0x10053538
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10053538
mov edx, eax
call fcn.100534c0
test eax, eax
jne 0x10053552
mov edx, dword [esp + 0x10]
inc ebx
add edx, 0x3c
mov dword [esp + 0x10], edx
cmp ebx, dword [ebp + 4]
jl 0x100534e0
mov ebp, dword [ebp + 0xc]
test ebp, ebp
jne 0x100534d1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret