joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100036f0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100291b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0x11
push 2
xor edi, edi
push 2
mov dword [ebp - 0x18], edi
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0x40], eax
cmp eax, 0xffffffff
jne 0x10003732
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e6f5
mov esp, ebp
pop ebp
ret 8
push edi
push edi
lea ecx, [ebp - 0x24]
push ecx
push edi
push edi
push 4
lea edx, [ebp - 0x1c]
push edx
push 0x9800000c
push eax
mov dword [ebp - 0x1c], edi
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov ecx, dword [esi + 0x40]
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 0x1c]
push eax
push 0xfffffffffffffffb
push 0xffff
push ecx
call edi
mov eax, dword [esi + 0x40]
push 4
lea edx, [ebp - 0x1c]
push edx
push 4
push 0xffff
push eax
call edi
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
push 0
push 0
push 0
push 0
push ebx
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x20], eax
inc eax
push eax
call fcn.1000e6df
mov ecx, dword [ebp - 0x20]
add esp, 4
push 0
push 0
push ecx
mov edi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0x20]
push edi
mov byte [edi + edx], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
push edi
mov ebx, eax
call fcn.1000e6ea
add esp, 4
test ebx, ebx
je 0x1000371e
mov ecx, dword [ebp + 0xc]
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov edx, dword [ebx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
push 0x30
push edx
push eax
mov dword [ebp - 0x10], ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x10003857
mov edx, dword [esi + 0x40]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x10003850
cmp eax, 0xffffffff
jne 0x10003847
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10003850
mov dword [ebp - 0x18], 0
jmp 0x10003857
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop edi
xor ecx, ebp
pop ebx
call fcn.1000e6f5
mov esp, ebp
pop ebp
ret 8
Function at 0x10003bf0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [eax + 0x14]
push ebx
test eax, eax
jne 0x10003c13
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
push 0x23
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x10003c2c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], 2
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
xor eax, eax
pop ebx
ret
push edi
lea eax, [esi + 0x19c]
push eax
lea ecx, [esi + 0x1d8]
mov ebx, 1
push ecx
mov dword [esi + 0x60], ebx
mov ecx, esi
mov eax, esi
mov dword [esi + 0x64], ebx
call fcn.10004af0
mov edx, dword [esi + 0x40]
xor edi, edi
push edi
push edi
push edi
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10003c75
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
jne 0x10003c75
xor edi, edi
mov eax, dword [esi + 0x48]
push eax
call fcn.10007030
add esp, 4
test edi, edi
pop edi
je 0x10003c90
mov eax, 0x80004005
call fcn.10001280
mov eax, ebx
pop ebx
ret

Function at 0x10003ca0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea esp, [esp]
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x40]
push 0
push 0x598
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x10003d72
cmp edi, 0x10
jne 0x10003cf8
mov edx, dword [ebx + 0x70]
mov ecx, eax
mov eax, 0x10020438
sub edx, eax
cmp ecx, 4
jb 0x10003daa
mov esi, dword [edx + eax]
cmp esi, dword [eax]
jne 0x10003cf8
sub ecx, 4
add eax, 4
jmp 0x10003ce0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebx + 0x1c0]
mov edx, dword [ebx + 0x1c8]
mov eax, dword [ebx + 0x70]
lea esi, [ebx + 0x1d8]
cmp edi, 0x18
jl 0x10003d26
push ecx
push edi
push eax
mov edi, edx
call fcn.10005070
jmp 0x10003d30
cmp edi, 0xc
jne 0x10003da0
call fcn.10004f20
cmp eax, 2
jne 0x10003cb0
mov edx, dword [ebx + 0x48]
push edx
call fcn.10007030
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10003d54
mov eax, 0x4c7
mov ecx, 1
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x34], 4
pop edi
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x38], eax
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
cmp edi, 0xffffffff
jne 0x10003cb0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10003dc7
cmp eax, 0x2744
je 0x10003cb0
cmp eax, 0x2746
je 0x10003cb0
jmp 0x10003d54
push 0xd
call dword [sym.imp.WS2_32.dll_WSASetLastError]
jmp 0x10003d39
xor eax, eax
pop edi
mov dword [ebx + 0x30], 1
mov dword [ebx + 0x34], 5
mov dword [ebx + 0x3c], eax
pop esi
mov dword [ebx + 0x38], eax
pop ebx
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4
Function at 0x10003de0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push edi
jmp 0x10003df0
mov eax, dword [esi + 0x194]
test eax, eax
jle 0x10003f1a
lea edi, [esi + 0x160]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [esi + 0x17c]
cmp ebx, dword [esi + 0x180]
je 0x10003e2b
mov eax, dword [ebx + 4]
mov dword [esi + 0x17c], eax
mov dword [eax + 8], 0
jmp 0x10003e3d
test ebx, ebx
je 0x10003e3d
xor eax, eax
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], eax
xor eax, eax
cmp ebx, eax
je 0x10003e4f
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
dec dword [esi + 0x178]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x10003f1a
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
push 0
sub eax, ecx
push eax
push ecx
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jle 0x10003e9c
lea eax, [esi + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [esi + 0x194], edi
lea eax, [esi + 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10003ea1
cmp edi, 0xffffffff
je 0x10003ec7
push ebx
lea edi, [esi + 0x98]
call fcn.10001480
test eax, eax
jne 0x10003df0
mov edx, dword [ebx]
push ebx
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10003df0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x10003f25
lea edi, [esi + 0x160]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x17c]
xor ecx, ecx
cmp eax, ecx
je 0x10003efb
mov dword [eax + 8], ebx
mov ecx, dword [esi + 0x17c]
mov dword [ebx + 4], ecx
jmp 0x10003f07
mov dword [ebx + 8], ecx
mov dword [ebx + 4], ecx
mov dword [esi + 0x180], ebx
inc dword [esi + 0x178]
push edi
mov dword [esi + 0x17c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 1
push ebx
lea edi, [esi + 0x98]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], 3
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
call fcn.10001480
test eax, eax
jne 0x10003f57
mov edx, dword [ebx]
push ebx
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003f60
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push esi
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
mov eax, dword [esi + 0x64]
cmp eax, 3
je 0x10004048
lea edi, [esi + 0x15c]
push edi
call fcn.10002ba0
mov ecx, dword [esi + 0x64]
cmp ecx, 1
je 0x10003f98
mov edx, dword [esi + 0x64]
test edx, edx
jne 0x10004042
mov dword [esi + 0x64], 2
mov dword [edi], 0
mov eax, ebx
call fcn.10004160
mov eax, dword [esi + 0x60]
test eax, eax
je 0x10003fd3
cmp dword [esi + 0x3c], 0
je 0x10003fcc
mov ecx, dword [esi + 0x40]
push 0
push 0x10
push 0x10020438
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [esi + 0x60], 0
cmp dword [esi + 0x30], 0
je 0x10003ffb
mov edx, dword [esi + 0x48]
push edx
call fcn.10007030
mov eax, dword [esi + 4]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
lea ecx, [esi + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10004010
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x40]
cmp eax, 0xffffffff
je 0x10004032
push 1
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x40], 0xffffffff
mov edi, esi
call fcn.10004060
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov dword [edi], 0
push 0x139f
mov dword [esi + 0x5c], 1
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x10004430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
call edi
mov ecx, dword [esi + 0x264]
push ecx
call edi
call dword [sym.imp.WINMM.dll_timeGetTime]
push 0
lea ebx, [esi + 0x18]
push ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov word [esi + 0x28], ax
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
mov word [esi + 0x28], 0xca
cmp ecx, 3
je 0x10004490
mov eax, esi
call fcn.10003f60
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
mov eax, esi
call fcn.10003500
mov ecx, dword [esi + 0x264]
push 0x1770
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100044e9
cmp eax, 0x102
je 0x100044d5
cmp eax, 0xffffffff
jne 0x100044de
mov edx, dword [esi + 0x264]
push edx
call edi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x264]
push eax
call edi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi + 0x264]
push ecx
call edi
lea edx, [ebp - 4]
push edx
push 0
push esi
push 0x10004530
push 0
push 0
call fcn.1000f0fb
add esp, 0x18
pop edi
mov dword [esi + 0x268], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10005430
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d643
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100291b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [edi], vtable.CManager.0
mov dword [edi + 4], ebx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push edi
mov ecx, ebx
call edx
xor esi, esi
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0xc], eax
mov dword [edi + 8], esi
mov dword [ebp - 4], esi
fldz
fst qword [0x100321a0]
sub esp, 8
fst qword [0x100321a8]
mov dword [edi], vtable.CAudioManager.0
fst qword [0x10032198]
lea esi, [edi + 0x18]
fst qword [0x10032190]
mov dword [esi], vtable.CAudioCode.0
fstp qword [esp]
push str.x0_is:_d_n
call fcn.10015148
add esp, 0xc
call fcn.10008880
call fcn.10007130
mov byte [ebp - 4], 1
push edi
mov dword [edi + 0x14], 0
call fcn.100057c0
push 0x1905c
call fcn.1000edf7
add esp, 4
test eax, eax
je 0x100054f6
push esi
mov esi, eax
call fcn.10006380
jmp 0x100054f8
xor eax, eax
mov dword [edi + 0x20], eax
push 0x1904c
mov dword [eax + 0x1903c], ebx
call fcn.1000edf7
add esp, 4
test eax, eax
je 0x10005521
lea ecx, [edi + 0x18]
push ecx
mov esi, eax
call fcn.100061f0
mov esi, eax
jmp 0x10005523
xor esi, esi
mov dword [edi + 0x1c], esi
cmp dword [esi + 0x3c], 0
je 0x1000553a
call fcn.10007030
mov dword [edi + 0x14], 1
jmp 0x10005570
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x10005ed0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x18], eax
test eax, eax
je 0x1000552c
mov ebx, 1
mov dword [esi + 0x3c], ebx
call fcn.10005fe0
test eax, eax
jne 0x1000556d
call fcn.10005f60
mov dword [edi + 0x14], ebx
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 8
Function at 0x10005a50
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100291b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 0x28], 0
je 0x10005a76
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e6f5
mov esp, ebp
pop ebp
ret
movzx ecx, word [esi + 4]
mov edx, dword [esi + 8]
push edi
movzx edi, word [esi + 0xc]
mov eax, 1
mov word [ebp - 0x18], ax
mov eax, edi
imul eax, ecx
mov word [ebp - 0x16], cx
mov ecx, eax
imul ecx, edx
mov dword [ebp - 0x14], edx
cdq
and edx, 7
push 1
add eax, edx
xor edx, edx
push edx
sar eax, 3
push edx
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x18]
push eax
push 0xffffffffffffffff
shr ecx, 3
mov word [ebp - 0xa], di
mov edi, dword [sym.imp.WINMM.dll_waveInOpen]
push edx
mov dword [ebp - 0x10], ecx
mov word [ebp - 8], dx
call edi
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10005af6
mov ecx, dword [0x100324b0]
mov edx, dword [esi + 0x18]
push 0x20000
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
push 0xffffffffffffffff
lea ecx, [esi + 0x10]
push ecx
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x10005b07
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000e6f5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [esi + 0x28], 1
mov eax, 1
pop edi
call fcn.1000e6f5
mov esp, ebp
pop ebp
ret

Function at 0x10005b30
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 0x24], 0
jne 0x10005b40
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1c], 0
je 0x10005b95
mov eax, dword [esi + 0x18]
push ebx
push edi
push 0
push 0
push 0x12
push eax
mov edi, 0x32
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 0x1c]
lea ecx, [ebp - 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x10005b8c
push 0xa
call ebx
dec edi
jne 0x10005b63
mov eax, dword [esi + 0x1c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
mov dword [esi + 0x1c], 0
pop ebx
mov dword [esi + 0x24], 0
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10005bb0
Capabilities:
Capture microphone audio
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x24], edi
je 0x10005bc9
call fcn.10007030
pop edi
pop esi
mov eax, ebx
pop ebx
ret
lea eax, [esi + 0x18]
push eax
push edi
push esi
push 0x10005930
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1c], eax
cmp eax, edi
je 0x10005bbe
mov ebx, 1
mov dword [esi + 0x24], ebx
call fcn.10005a50
test eax, eax
je 0x10005c56
call fcn.10005d00
test eax, eax
je 0x10005c2a
cmp dword [esi + 0x30], edi
jne 0x10005c20
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x10005c20
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
mov dword [esi + 0x14], eax
cmp eax, edi
jne 0x10005c20
pop edi
mov dword [esi + 0x30], ebx
pop esi
mov eax, ebx
pop ebx
ret
call fcn.10007030
call fcn.10005dc0
cmp dword [esi + 0x28], edi
jne 0x10005c3f
call fcn.10007030
call fcn.10005b30
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x10005c2f
push eax
call dword [sym.imp.WINMM.dll_waveInClose]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edi
mov dword [esi + 0x28], edi
call fcn.10005b30
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x10005d00
Capabilities:
Capture microphone audio

Disassembly:
cmp dword [esi + 0x2c], 0
je 0x10005d09
xor eax, eax
ret
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.WINMM.dll_waveInReset]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10005d06
push ebx
push edi
push 0x140
call fcn.1000e6df
mov ebx, dword [sym.imp.WINMM.dll_waveInPrepareHeader]
add esp, 4
mov dword [esi + 0x20], eax
xor edi, edi
mov eax, dword [esi + 0x20]
xor ecx, ecx
add eax, edi
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
push 0x3c0
mov dword [eax + 0x1c], ecx
call fcn.1000e6df
mov ecx, dword [esi + 0x20]
mov dword [edi + ecx], eax
mov edx, dword [esi + 0x20]
add esp, 4
mov dword [edx + edi + 4], 0x3c0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x10]
push 0x20
add eax, edi
push eax
push ecx
call ebx
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10005db4
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x10]
push 0x20
add edx, edi
push edx
push eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10005db4
add edi, 0x20
cmp edi, 0x140
jb 0x10005d34
mov eax, 1
pop edi
mov dword [esi + 0x2c], eax
pop ebx
ret
pop edi
xor eax, eax
pop ebx
ret
Function at 0x10005f60
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 0x3c], 0
jne 0x10005f70
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x18], 0
je 0x10005fc5
mov eax, dword [esi + 0x1c]
push ebx
push edi
push 0
push 0
push 0x12
push eax
mov edi, 0x32
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 0x18]
lea ecx, [ebp - 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x10005fbc
push 0xa
call ebx
dec edi
jne 0x10005f93
mov eax, dword [esi + 0x18]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
mov dword [esi + 0x18], 0
pop ebx
mov dword [esi + 0x3c], 0
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10006e30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10006e67
cmp dword [0x1002eabc], eax
je 0x10006e67
cmp dword [0x100324b8], eax
jne 0x10006e67
push eax
push eax
push eax
push 0x10006d40
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x100324b8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10006e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push 0xff
push str.iamasbcx.asuscomm.com
call fcn.1000ef48
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add esp, 0xc
push 0
push 0
push 0
push 0x10006d40
push 0
push 0
mov dword [0x1002eab4], ecx
mov dword [0x1002eab8], edx
mov dword [0x1002eabc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x100324b8], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
pop ebp
ret

Function at 0x10006ee0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10006d40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
xor al, al
ret

Function at 0x1000e6f5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100291b0]
jne 0x1000e6ff
repz ret
jmp fcn.1000f61e
Function at 0x100134fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100291b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100114f5
and dword [ebp - 0x14], 0
cmp dword [0x1002f83c], 0
mov dword [ebp - 0x18], eax
jne 0x100135af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10013657
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10013657
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1002f83c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1002f840], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1002f844], eax
call edi
push eax
call esi
mov dword [0x1002f84c], eax
test eax, eax
je 0x100135af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1002f848], eax
mov eax, dword [0x1002f848]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10013608
cmp dword [0x1002f84c], ecx
je 0x10013608
push eax
call esi
push dword [0x1002f84c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10013608
test ebx, ebx
je 0x10013608
call edi
test eax, eax
je 0x100135ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100135ff
test byte [ebp - 8], 1
jne 0x10013608
or dword [ebp + 0x10], 0x200000
jmp 0x1001363b
mov eax, dword [0x1002f840]
cmp eax, dword [ebp - 0x18]
je 0x1001363b
push eax
call esi
test eax, eax
je 0x1001363b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001363b
mov eax, dword [0x1002f844]
cmp eax, dword [ebp - 0x18]
je 0x1001363b
push eax
call esi
test eax, eax
je 0x1001363b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1002f83c]
call esi
test eax, eax
je 0x10013657
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10013659
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000e6f5
leave
ret