joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100017c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x100d4710]
xor eax, ebp
mov dword [esp + 0x48], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
cmp edx, eax
je 0x10001888
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 8], esi
lea eax, [esi + 4]
mov dword [esp + 0xc], eax
jmp 0x1000181d
mov edx, dword [esp + 0x18]
add edx, 4
cmp edx, dword [esp + 0x14]
je 0x10001888
mov dword [esp + 0x18], edx
mov eax, dword [edx]
cmp dword [eax + 4], ebx
jb 0x10001810
mov edx, dword [eax + 8]
jmp 0x1000183a
cmp eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
jbe 0x1000187e
mov edx, dword [edx]
test edx, edx
je 0x10001810
mov edi, dword [edx + 4]
mov eax, dword [edx + 8]
sub eax, edi
cmp eax, ebx
jb 0x10001838
cmp dword [esp + 8], ecx
je 0x1000187e
mov ebx, dword [esp + 0xc]
nop word cs:[eax + eax]
mov eax, dword [ebx - 4]
mov esi, eax
sub esi, edi
neg esi
sub eax, edi
cmovb eax, esi
cmp eax, dword [ebp + 0x10]
ja 0x10001830
lea esi, [ebx + 4]
cmp ebx, ecx
mov ebx, esi
jne 0x10001860
jmp 0x10001830
add ebx, edi
mov dword [edx + 4], ebx
jmp 0x1000197d
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x40], 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x3c]
lea eax, [ebx + edx]
dec eax
neg edx
and edx, eax
mov esi, dword [esp + 0x10]
mov ecx, esi
push dword [ebp + 0x10]
mov dword [esp + 0xc], edx
push edx
push dword [ebp + 8]
call fcn.100019f0
mov edi, eax
test eax, eax
je 0x1000197d
push 0xc
call fcn.10052088
add esp, 4
xorps xmm0, xmm0
movlps qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [esp + 0x1c], eax
mov edx, dword [esi + 0xc]
cmp edx, dword [esi + 0x10]
mov ecx, esi
je 0x10001906
mov dword [edx], eax
mov esi, dword [ecx + 0xc]
lea eax, [esi + 4]
mov dword [ecx + 0xc], eax
jmp 0x10001916
add ecx, 8
lea eax, [esp + 0x1c]
push eax
push edx
call fcn.10001d30
mov esi, eax
mov eax, dword [esi]
mov dword [eax], edi
mov eax, dword [esi]
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
push 0xc
call fcn.10052088
add esp, 4
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [esp + 0xc], esi
mov ecx, dword [esi]
mov esi, dword [ecx + 8]
mov dword [ecx + 8], eax
test esi, esi
je 0x10001961
mov ecx, esi
call fcn.100022e0
push esi
call fcn.10052d9f
add esp, 4
add ebx, edi
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
mov eax, dword [eax + 8]
mov dword [eax + 4], ebx
mov ecx, dword [esp + 8]
add ecx, edi
mov eax, dword [edx]
mov eax, dword [eax + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.100525c5
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x100019f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, dword [ebp + 8]
mov eax, dword [0x100d4710]
xor eax, ebp
mov dword [esp + 0x58], eax
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x10001bba
mov ebx, dword [ebp + 0x10]
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x50], 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi]
mov edi, dword [eax]
xor edx, edx
mov ecx, edi
mov eax, edi
sub eax, ebx
cmovb eax, edx
add ecx, ebx
mov edx, 0xffffffff
cmovae edx, ecx
mov ecx, dword [esp + 0x38]
cmp eax, ecx
cmovbe eax, ecx
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
cmovae edx, ecx
mov dword [esp + 8], edx
mov esi, dword [esp + 0x4c]
lea ecx, [edi + esi]
dec ecx
mov edi, dword [ebp + 0xc]
neg esi
and esi, ecx
xorps xmm0, xmm0
movups xmmword [esp + 0x1c], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], eax
cmp esi, eax
jbe 0x10001b2a
mov ebx, esi
jmp 0x10001aca
push 0x40
push 0x3000
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10001bcc
mov eax, dword [esp + 0x10]
dec eax
xor ebx, ebx
sub ebx, dword [esp + 0x4c]
and ebx, eax
cmp ebx, dword [esp + 0xc]
jbe 0x10001b2a
push 0x1c
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10001b2a
cmp dword [esp + 0x20], 0x10000
jne 0x10001ab7
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, eax
je 0x10001aa0
add ecx, 4
nop word cs:[eax + eax]
mov edx, dword [ecx - 4]
mov edi, edx
sub edi, ebx
neg edi
sub edx, ebx
cmovb edx, edi
cmp edx, dword [ebp + 0x10]
ja 0x10001b1c
lea edi, [ecx + 4]
cmp ecx, eax
mov ecx, edi
jne 0x10001b00
cmp edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
jbe 0x10001aa0
jmp 0x10001ab7
cmp esi, dword [esp + 8]
jae 0x10001bb6
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
jmp 0x10001b5d
push 0x40
push 0x3000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x10001bcc
add esi, dword [esp + 0x1c]
cmp esi, dword [esp + 8]
jae 0x10001bb6
push 0x1c
lea eax, [esp + 0x14]
push eax
push esi
call ebx
test eax, eax
je 0x10001bb6
cmp dword [esp + 0x20], 0x10000
jne 0x10001b53
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, eax
je 0x10001b40
add ecx, 4
nop word cs:[eax + eax]
mov edx, dword [ecx - 4]
mov edi, edx
sub edi, esi
neg edi
sub edx, esi
cmovb edx, edi
cmp edx, dword [ebp + 0x10]
ja 0x10001bac
lea edi, [ecx + 4]
cmp ecx, eax
mov ecx, edi
jne 0x10001b90
cmp edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
jbe 0x10001b40
jmp 0x10001b53
xor esi, esi
jmp 0x10001bce
push 0x40
push 0x3000
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.100525c5
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x10002340
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10002ce0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
cmp dword [esi + 0x10], 0
je 0x10002435
mov dword [ebp - 0x20], esi
mov ecx, dword [esi]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x48]
push eax
call fcn.10001690
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
push 0x40
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
sub ecx, eax
je 0x100023c9
push ecx
push eax
push dword [esi + 8]
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x100023f7
add eax, ecx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x30], ecx
add edx, ecx
lea ecx, [ebp - 0x3c]
push eax
push edx
call fcn.10002f80
mov ecx, dword [ebp - 0x30]
inc ecx
mov esi, dword [ebp - 0x20]
jmp 0x100023d0
add eax, edx
add edx, dword [esi + 0x10]
lea ecx, [ebp - 0x3c]
push eax
push edx
call fcn.10002f80
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x20]
push dword [eax + 0x18]
push dword [eax + 0x10]
call fcn.10001bf0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x48]
call fcn.100012e0
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x10002472
mov eax, dword [esi + 0x24]
sub eax, ecx
cmp eax, 0x1000
jb 0x1000245a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x100024a3
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.100520b8
add esp, 8
xorps xmm0, xmm0
movlps qword [esi + 0x1c], xmm0
mov dword [esi + 0x24], 0
mov esi, dword [esi + 4]
test esi, esi
je 0x10002492
lock dec dword [esi + 4]
jne 0x10002492
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock dec dword [esi + 8]
jne 0x10002492
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call sub.VCRUNTIME140.dll___std_terminate
int3
Function at 0x10002d10
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x310
mov esi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10003110
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
xorps xmm0, xmm0
movlps qword [esi], xmm0
mov dword [esi + 8], 0
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x10002e8e
mov edi, eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x2c], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x48], 0x1c
lea eax, [ebp - 0x48]
push eax
push edi
call sub.KERNEL32.dll_Thread32First
jmp 0x10002dba
push dword [ebp - 0x318]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [eax + eax]
lea eax, [ebp - 0x48]
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
je 0x10002e84
cmp dword [ebp - 0x3c], ebx
jne 0x10002db0
mov esi, dword [ebp - 0x40]
cmp esi, dword [ebp - 0x2c]
je 0x10002db0
push 0x2d0
push 0
lea eax, [ebp - 0x318]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x31c], esi
push esi
push 0
push 0x1a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x318], eax
test eax, eax
je 0x10002db0
mov dword [ebp - 0x314], 0x10007
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10002d9f
lea eax, [ebp - 0x314]
push eax
push dword [ebp - 0x318]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10002d9f
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10002e5d
push 0x2d4
lea ecx, [ebp - 0x31c]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add dword [esi + 4], 0x2d4
jmp 0x10002db0
mov dword [ebp - 0x10], 0
mov ecx, esi
lea edx, [ebp - 0x31c]
push edx
push eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], ebx
call fcn.10002fc0
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
jmp 0x10002db0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x310
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10002ed0
Capabilities:
Resume thread

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
cmp edi, ebx
je 0x10002f2b
mov dword [esp], esi
add edi, 8
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop word cs:[eax + eax]
push edi
push dword [edi - 4]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [edi - 4]
call esi
push dword [edi - 4]
call ebp
lea eax, [edi + 0x2d4]
add edi, 0x2cc
cmp edi, ebx
mov edi, eax
jne 0x10002f00
mov esi, dword [esp]
mov edi, dword [esi]
test edi, edi
je 0x10002f64
mov eax, dword [esi + 8]
sub eax, edi
cmp eax, 0x1000
jb 0x10002f4d
mov ecx, dword [edi - 4]
add edi, 0xfffffffc
sub edi, ecx
cmp edi, 0x20
jae 0x10002f6c
add eax, 0x23
mov edi, ecx
push eax
push edi
call fcn.100520b8
add esp, 8
xorps xmm0, xmm0
movlps qword [esi], xmm0
mov dword [esi + 8], 0
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x10006380
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push edi
push esi
push eax
movzx esi, byte [esp + 0x14]
lea edi, [esi + 2]
mov eax, 0x80000001
cmp edi, dword [esp + 0x18]
ja 0x10006441
movzx eax, byte [ecx]
and al, 0xf
cmp al, 2
je 0x100063af
cmp byte [esi + edx + 1], 0xc0
jb 0x1000643f
mov bh, byte [ecx + 7]
mov eax, 0x80000007
test bh, 0x32
jne 0x10006441
mov bl, byte [ecx + 6]
mov byte [esp + 3], bl
and bl, 0x10
and bh, 8
or bh, bl
jne 0x10006441
movzx eax, byte [esp + 3]
or al, 0x20
mov byte [ecx + 6], al
mov byte [ecx + 3], 2
movzx eax, byte [edx + esi]
mov byte [ecx + 0x20], al
movzx eax, byte [edx + esi + 1]
mov byte [ecx + 0x21], al
mov edx, eax
not dl
shr dl, 6
and dl, 2
movzx edx, dl
mov esi, 0xfffc001d
and esi, dword [ecx + 0x24]
or esi, edx
mov edx, eax
not edx
and edx, 0x78
shl edx, 0xb
or edx, esi
mov esi, eax
and esi, 4
shl esi, 0xa
or esi, edx
shl al, 5
movzx eax, al
or eax, esi
or eax, 0x80
mov dword [ecx + 0x24], eax
movzx edx, byte [ecx + 0xc]
add dl, 2
mov byte [ecx + 0xc], dl
mov eax, 0x80000003
cmp dl, 0xf
ja 0x10006441
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
ret

Function at 0x10006c30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10006ca1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10006ca1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x10006c8a
jmp 0x10006ca1
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x10011ce0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x1012e468], 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
jne 0x10011d0f
push 0xffffffffffffffff
push str.B8_________E8_________A1_________56_57_8B_F9_B9
push str.server.dll
call fcn.1000ca70
add esp, 0xc
sub eax, 6
mov dword [0x1012e468], eax
pushal
pushfd
mov ecx, dword [ebp - 4]
push dword [ebp + 0x20]
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 [0x1012e468]
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x10014140
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x1012e470], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x1001416d
push 0xffffffffffffffff
push str.55_8B_EC_83_E4_F8_81_EC_________8B_C1_89
push str.server.dll
call fcn.1000ca70
add esp, 0xc
mov dword [0x1012e470], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
pushal
pushfd
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [0x1012e470]
add esp, 0xc
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100142b0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x1012e464], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x100142dd
push 0xffffffffffffffff
push str.55_8B_EC_83_EC_10_53_8B_D9_89_55
push str.server.dll
call fcn.1000ca70
add esp, 0xc
mov dword [0x1012e464], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
pushal
pushfd
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
push dword [ebp - 8]
push dword [ebp + 0xc]
call dword [0x1012e464]
add esp, 8
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001b950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1001b98f
sub eax, 1
jne 0x1001b999
push eax
push eax
push dword [ebp + 8]
push 0x1001b7a0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1001b999
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
mov ecx, 0x100d5440
call fcn.10023be0
mov eax, 1
pop ebp
ret 0xc
Function at 0x100204f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1012e2b8
pop ebp
jmp fcn.1004b200

Function at 0x100231c0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, ecx
push str.RandomSeed
push str.vstdlib.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.RandomInt
push str.vstdlib.dll
mov dword [ebx + 0x1724], eax
call edi
push eax
call esi
push str.RandomFloat
push str.vstdlib.dll
mov dword [ebx + 0x1728], eax
call edi
push eax
call esi
mov dword [ebx + 0x172c], eax
call fcn.100207b0
mov ecx, 0x100d2328
call fcn.10033c00
pop edi
pop esi
pop ebx
jmp fcn.10051a10
Function at 0x10023340
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x1002355c
push dword [ebp + 8]
call fcn.10048810
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 0x94]
cmp ecx, dword [eax + 0x98]
je 0x10023374
mov dword [eax + 0x98], ecx
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 0xa0]
cmp ecx, dword [eax + 0xa4]
je 0x1002338b
mov dword [eax + 0xa4], ecx
mov ecx, dword [edi + 0x18]
push esi
call fcn.10048930
xor esi, esi
nop word [eax + eax]
mov al, byte [esi + 0x100d246c]
push esi
mov byte [esi + 0x100d256c], al
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [esi + 0x100d236c], al
mov byte [esi + 0x100d246c], al
inc esi
cmp esi, 0x100
jl 0x100233a0
mov eax, dword [0x100d2344]
mov esi, dword [0x100d2340]
cmp esi, eax
je 0x100233f1
mov edi, eax
nop
mov ecx, dword [esi]
call fcn.100392e0
add esi, 4
cmp esi, edi
jne 0x100233e0
mov edi, dword [ebp - 4]
mov ecx, 0x100d2328
call fcn.10038e00
mov eax, dword [edi]
mov ecx, dword [eax + 0x88]
mov esi, dword [eax + 0xe8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [esi]
mov ecx, esi
push eax
mov edx, dword [edx + 0xc]
call edx
mov ecx, 0x100d22c0
mov dword [edi + 0x20], eax
call fcn.1003b7e0
call fcn.100200a0
mov ecx, 0x1012e28c
call fcn.10010ad0
mov ecx, 0x100d2aa8
call fcn.10024b20
cmp byte [0x100d2aa4], 0
pop esi
je 0x10023540
mov ecx, dword [0x100d5460]
test ecx, ecx
je 0x10023540
mov eax, dword [0x100d5448]
mov eax, dword [eax + 0x4c]
cmp byte [ecx + eax], 0
je 0x10023540
mov ecx, dword [edi + 0x18]
push 1
push 0xff000000
sub esp, 0x10
mov eax, dword [ecx + 0x80]
shr eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100555f0]
mov eax, dword [ecx + 0x84]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100555f0]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movss dword [esp + 8], xmm1
mov dword [esp + 4], 0
movss dword [esp], xmm1
call fcn.100484f0
mov ecx, dword [edi + 0x18]
push 1
push 0xff000000
sub esp, 0x10
mov eax, dword [ecx + 0x84]
shr eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100555f0]
mov eax, dword [ecx + 0x80]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movss dword [esp + 0xc], xmm1
addsd xmm0, qword [eax*8 + 0x100555f0]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
mov dword [esp], 0
call fcn.100484f0
mov ecx, 0x1012e544
call fcn.1003f420
mov ecx, 0x100d2328
call fcn.10032fb0
mov ecx, dword [edi + 0x18]
call fcn.100481b0
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x100293b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100d4710]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002946c
cmp byte [esi + 0x3d], 0
je 0x1002946c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002945a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10029421
sub eax, 1
je 0x10029425
sub eax, 2
jne 0x1002945a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100525c5
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10029443
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1002945a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100525c5
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100525c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100525c5
mov esp, ebp
pop ebp
ret