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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d22ed
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100f0380]
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
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 8
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100c8350
lea ecx, [ebp - 0x2c]
xor edx, edx
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [eax], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], 1
mov edi, dword [esi + 4]
mov eax, dword [esi + 8]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], eax
cmp edi, eax
je 0x100965fb
nop dword [eax]
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x10096581
cmp dword [edi + 0x18], 0xf
lea eax, [edi + 4]
jbe 0x10096572
mov eax, dword [eax]
push dword [edi + 0x14]
lea ecx, [ebp - 0x2c]
push eax
call fcn.10028310
mov edx, dword [ebp - 0x18]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1009659c
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x100965a9
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10036310
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
xor eax, eax
test edx, edx
je 0x100965dc
mov edi, dword [ebp - 0x38]
movzx ecx, byte [edi + eax]
inc eax
xor ecx, esi
imul esi, ecx, 0x1000193
cmp eax, edx
jb 0x100965c8
mov edi, dword [ebp - 0x34]
cmp esi, dword [ebp + 8]
jne 0x100965ec
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x10096639
dec eax
mov dword [ebp - 0x30], eax
add edi, 0x20
mov dword [ebp - 0x34], edi
cmp edi, dword [ebp - 0x3c]
jne 0x10096560
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.10028230
mov ecx, dword [ebp - 0x2c]
push 8
push ecx
mov dword [ebp - 0x2c], 0
call fcn.100c8bb0
add esp, 8
mov eax, esi
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.100c8320
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [edi + 0x1c]
jmp 0x100965fd

Function at 0x10097ed0
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x10097f3d
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov ebx, dword [sym.imp.ucrtbased.dll___acrt_iob_func]
push 0
call ebx
push 0
mov esi, eax
call ebx
push esi
push 0x100df808
push str.CONIN_
push eax
call dword [sym.imp.ucrtbased.dll_freopen_s]
push 1
call ebx
push 1
mov esi, eax
call ebx
push esi
push 0x100df814
push str.CONOUT_
push eax
call dword [sym.imp.ucrtbased.dll_freopen_s]
add esp, 0x30
push str.skeetmacy
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call fcn.10044d70
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x100a9610
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100a97a1
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x280]
call eax
test al, al
je 0x100a97a1
mov eax, dword [0x101c64b0]
cmp dword [eax + 0x174], 0xffffffff
je 0x100a97a1
mov eax, dword [0x101c6770]
add eax, 0xffffff8b
xor eax, 0x9ad08915
cmp dword [eax + ebx], 0
mov eax, dword [0x101c6738]
setle cl
add eax, 0xffffff99
xor eax, 0x9ad08907
xor edi, edi
mov byte [eax + ebx], cl
mov eax, dword [0x101c672c]
add eax, 0xffffff9c
xor eax, 0x9ad08904
mov dword [eax + ebx + 0xc], 0
mov eax, dword [0x101c6730]
add eax, 0xffffff9b
xor eax, 0x9ad08905
mov dword [eax + ebx + 0xc], 0
mov ecx, dword [0x101c6734]
lea eax, [ecx - 0x66]
xor eax, 0x9ad08906
mov edx, dword [eax + ebx + 0xc]
mov dword [ebp - 4], edx
test edx, edx
je 0x100a96fe
lea eax, [ecx - 0x66]
xor eax, 0x9ad08906
mov eax, dword [eax + ebx]
mov esi, dword [eax + edi*4]
lea ebx, [eax + edi*4]
test esi, esi
je 0x100a96f6
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100a96ea
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x100a96e7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [ebp - 4]
mov dword [ebx], 0
mov ecx, dword [0x101c6734]
mov ebx, dword [ebp + 8]
inc edi
cmp edi, edx
jb 0x100a96b3
lea eax, [ecx - 0x66]
xor eax, 0x9ad08906
lea ecx, [ebx + 8]
push 0
mov dword [eax + ebx + 0xc], 0
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push 0
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [0x101c64c4]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x100a9792
nop dword [eax]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x100a9756
xor edx, edx
test ecx, ecx
je 0x100a977c
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a9763
cmp edi, 0x79705c5e
je 0x100a9787
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x100a9792
mov ecx, dword [ebp - 4]
jmp 0x100a9740
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + ebx*4]
jmp 0x100a9794
xor ecx, ecx
push 0
push dword [ebp + 8]
push 0
call dword [0x101c6598]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b20d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d36ed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100f0380]
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, dword [0x101c64b0]
mov edi, dword [esi + 0x174]
test edi, edi
setg byte [ebp - 0x14]
cmp dword [0x101651a8], 4
jne 0x100b2139
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x101c6454]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x14]
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x101cc878], 0
jne 0x100b21fa
push 0x22
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call fcn.100288d0
mov dword [ebp - 4], 0
mov eax, dword [0x101c6400]
test eax, eax
je 0x100b2186
mov edx, dword [eax + 0x50]
jmp 0x100b2188
xor edx, edx
mov eax, dword [0x101c63f8]
test eax, eax
je 0x100b2196
mov eax, dword [eax + 0x18]
jmp 0x100b2198
xor eax, eax
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.10070ca0
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
add esp, 8
inc edi
call fcn.10028230
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x34], 0
call fcn.100c8bb0
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x14], 0
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x101cc878], 1
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.100c8320
mov esp, ebp
pop ebp
ret
Function at 0x100c5450
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x100f0380]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100c55cc
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100c55b9
cmp dword [ebp - 0x28], 0x10
jb 0x100c559d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.100c9500
cmp dword [ebp - 0x1c], eax
jne 0x100c559d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.100c9500
cmp dword [ebp - 0x20], eax
je 0x100c559d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100c5524
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x10175974]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.100c9500
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100c5522
jmp 0x100c55b9
jmp 0x100c557d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100c557d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x10175974]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.100c9500
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100c5567
jmp 0x100c55b9
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100c54a3
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100c9500
push edx
mov ecx, ebp
push eax
lea edx, [0x100c55f8]
call fcn.100c94a0
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c8320
add esp, 0x30
cmp ebp, esp
call fcn.100c9500
mov esp, ebp
pop ebp
ret
Function at 0x100c5610
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.100c5450
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100c56db
mov dword [ebp - 4], 0
jmp 0x100c566c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x100c56db
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100c9500
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100c56d9
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.100c9500
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100c5270
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100c9500
jmp 0x100c5663
pop esi
add esp, 8
cmp ebp, esp
call fcn.100c9500
mov esp, ebp
pop ebp
ret

Function at 0x100c56f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100c579b
mov dword [ebp - 4], 0
jmp 0x100c5723
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x100c577e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.100c9500
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100c577c
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.100c9500
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100c9500
jmp 0x100c571a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x10175974]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.100c9500
pop esi
add esp, 8
cmp ebp, esp
call fcn.100c9500
mov esp, ebp
pop ebp
ret
Function at 0x100c57b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x10230310]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100c5813
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100c9500
test eax, eax
jne 0x100c583e
mov eax, 0xa
jmp 0x100c5940
cmp dword [ebp + 0xc], 0
je 0x100c588a
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100c5888
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x100c58c6
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100c58b1
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140D.dll_memcpy
add esp, 0xc
jmp 0x100c58c6
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140D.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.100c9500
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.100c9500
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.100c9500
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x100c5964]
call fcn.100c94a0
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.100c9500
mov esp, ebp
pop ebp
ret
Function at 0x100c6040
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x1023030c]
mov dword [ebp - 4], eax
jmp 0x100c6067
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100c6080
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100c607e
mov eax, dword [ebp - 4]
jmp 0x100c6104
jmp 0x100c605f
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.100c9500
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100c6101
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x100c60c3
mov edx, dword [ebp - 4]
mov eax, dword [0x1023030c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1023030c], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.100c9500
mov esp, ebp
pop ebp
ret

Function at 0x100c65f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100c6640
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100c6640
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100c6640
xor eax, eax
jmp 0x100c6681
mov dword [ebp - 4], 1
jmp 0x100c6652
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100c667c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100c667a
xor eax, eax
jmp 0x100c6681
jmp 0x100c6649
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x583a6a
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push 0x41e804
push ecx
call fcn.00585bf6
mov esi, eax
mov dword [esp + 0x20], esi
pop ecx
pop ecx
test esi, esi
je 0x583c0d
push 2
push 0
push esi
call fcn.005863d1
add esp, 0xc
test eax, eax
jne 0x583c0d
push esi
call fcn.005862d6
mov ebx, eax
pop ecx
test ebx, ebx
jle 0x583c0d
lea ecx, [ebx + 1]
push edi
push ecx
call fcn.0058512a
mov edi, eax
pop ecx
test edi, edi
jne 0x583ac6
push 0xa
jmp 0x583aea
push 0
push 0
push esi
call fcn.005863d1
add esp, 0xc
test eax, eax
jne 0x583ae8
push esi
push ebx
push 1
push edi
call fcn.00585e9a
add esp, 0x10
cmp eax, ebx
je 0x583af0
push 6
pop ebp
jmp 0x583c03
lea edx, [esp + 0x18]
mov byte [edi + ebx], 0
mov ecx, 0x41e81c
mov dword [esp + 0x18], edi
mov byte [esp + 0x13], 0
xor ebp, ebp
call fcn.005839b6
test eax, eax
je 0x583bfb
mov esi, dword [esp + 0x28]
mov cl, byte [eax]
cmp cl, 0x23
je 0x583be1
cmp cl, 0x3b
je 0x583be1
mov edx, eax
mov ecx, 0x41e820
call fcn.0058398e
mov ebx, eax
mov dword [esp + 0x14], ebx
mov al, byte [ebx]
test al, al
je 0x583be1
cmp al, 0x5b
jne 0x583b96
inc ebx
lea edx, [esp + 0x14]
mov ecx, 0x41e818
mov dword [esp + 0x14], ebx
call fcn.005839b6
test eax, eax
je 0x583b8f
lea edx, [esp + 0x14]
mov ecx, 0x41e820
call fcn.005839b6
test eax, eax
jne 0x583b8f
push 8
push 0x41e80c
push ebx
call fcn.0058fcef
add esp, 0xc
test eax, eax
sete byte [esp + 0x13]
jmp 0x583be1
mov byte [esp + 0x13], 0
jmp 0x583be1
cmp byte [esp + 0x13], 0
je 0x583be1
lea edx, [esp + 0x14]
mov ecx, 0x41e814
call fcn.005839b6
test eax, eax
je 0x583be1
mov edx, ebx
call fcn.00583a10
test eax, eax
js 0x583be1
cmp eax, 1
jae 0x583be1
imul ebx, eax, 0x258
push 0x257
push dword [esp + 0x18]
add ebx, esi
push ebx
call fcn.005851a1
add esp, 0xc
mov byte [ebx + 0x257], 0
inc ebp
lea edx, [esp + 0x18]
mov ecx, 0x41e81c
call fcn.005839b6
test eax, eax
jne 0x583b19
mov esi, dword [esp + 0x1c]
dec ebp
neg ebp
sbb ebp, ebp
and ebp, 5
push edi
call fcn.005850ff
pop ecx
pop edi
jmp 0x583c10
push 6
pop ebp
test esi, esi
je 0x583c1b
push esi
call fcn.005864c0
pop ecx
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x401073
Capabilities:
Read .ini file

Disassembly:
jmp 0x405c50
sub esp, 0x28
push ebx
push esi
push edi
push str.C:ThunderThunder.ini
lea eax, [esp + 0x24]
push 0x12
push eax
push str.192.168.0.201
push str.DataBaseServerIp
mov ebx, ecx
push str.MainServer
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [sym.imp.MSVCRT.dll_strstr]
lea ecx, [esp + 0x20]
push 0x432648
push ecx
call esi
inc eax
push 0x432648
push eax
call esi
inc eax
push 0x432648
push eax
call esi
lea edx, [esp + 0x38]
lea esi, [esp + 0x38]
sub eax, edx
lea edi, [ebx + 0x1e4]
mov ecx, eax
push 0x280
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x38], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x1c
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x10], 0x280
push ecx
push esi
mov dword [esp + 0x14], esi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x405d18
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov edx, dword [esp + 0x14]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], eax
push ecx
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x405dce
test esi, esi
je 0x405ddb
push ebp
jmp 0x405d2f
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x1ac]
shl eax, 4
mov dword [esp + 0x1c], edx
lea ebp, [eax + ebx + 0x1f99c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push edx
lea edi, [ecx + 4]
push eax
push edi
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x405d9e
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
add ebp, 0x10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 3
inc edx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x1f998]
mov esi, dword [esp + 0x10]
inc eax
mov dword [esp + 0x18], edx
mov dword [ebx + 0x1f998], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x405d47
mov esi, dword [esi]
test esi, esi
mov dword [esp + 0x10], esi
jne 0x405d2b
pop ebp
mov ecx, ebx
call fcn.004010f5
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret
test esi, esi
je 0x405ddb
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, ebx
call fcn.004010f5
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret