joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475a40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b94a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004b159a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004753a0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004b14c8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004add91
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004add91
push 1
push 0
push 0
mov ecx, esi
call fcn.004add39
push 1
push 0
push 1
mov ecx, esi
call fcn.004add39
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b160c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x475bc0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b94c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004b159a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004753a0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004b14c8
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x475c84
cmp dword [esp + 0x40], 1
jne 0x475c82
cmp ecx, eax
jge 0x475c84
mov eax, ecx
cmp eax, 0xc8
jge 0x475c90
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00475a40
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b160c
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x476480
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b9573
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004ac1ad
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004b1842
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004b2da1
test eax, eax
je 0x47659c
mov ecx, dword [esp + 0x3c]
call fcn.004b186f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x476560
push edi
mov ecx, esi
call fcn.004aeedc
mov ecx, esi
call fcn.00476740
cmp dword [esp + 0x38], 1
jne 0x476595
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004af017
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x478780
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4787b3
push esi
call fcn.00486b40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4787ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x478839
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x478822
mov eax, dword [esi + 8]
test eax, eax
je 0x4787d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47881e
cmp eax, 2
je 0x478822
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4787ca
cmp eax, 3
je 0x4787fd
cmp eax, 1
jne 0x4787ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4787ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4787ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00478860
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x478848
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00478860
add esp, 4
pop esi
ret

Function at 0x4790e0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x479101
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x479101
mov eax, dword [eax + 0x44]
test eax, eax
je 0x479101
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x495180
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x495223
test eax, eax
jbe 0x495223
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x495223
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4951ce
xor esi, esi
jmp 0x4951d4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4951ff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00430c40
add esi, eax
push esi
mov ebx, esi
call fcn.00430c40
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4951e0
pop ebp
test edi, edi
pop edi
jne 0x495223
test ebx, ebx
je 0x495223
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0049b4e0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x495345
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x49545d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49545d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004ac5ff
mov esi, eax
test esi, esi
je 0x49545d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x49545d
mov ecx, esi
call fcn.004952d0
cmp edi, eax
jge 0x49545d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4953e3
mov dword [esp + 0x34], 1
jmp 0x49543e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x49545d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00493b70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4acfa2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4acfda
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ab02c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ab004
jmp 0x4acfe6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ae699
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ae6db
call fcn.004b418c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ae6db
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ae6d2
xor eax, eax
jmp 0x4ae6e3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ae6e9
pop edi
pop esi
pop ebx
ret 4
Function at 0x4b46bc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b46ea
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b4708
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b4622
jmp 0x4b4708
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b4708
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b4622
test edi, edi
mov eax, edi
jne 0x4b46f2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x76ef4fe4
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x76ef50c9
cmp eax, 0xffffffff
je 0x76ef50c9
mov dword [ebp - 0x108], eax
mov eax, dword [edi + 0x3c]
cmp eax, 0x10
mov dword [ebp - 0x10c], 1
ja 0x76efcff6
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10c]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebx
jle 0x76efd003
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 0x10]
push eax
push ebx
push 0x5c0
lea esi, [edi + 0x68]
push esi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
je 0x76efd01a
mov word [edi + 0x66], ax
mov ax, word [esi]
movzx cx, ah
mov ch, al
mov ax, word [esi + 4]
push ebx
push ebx
push edi
mov word [esi], cx
movzx cx, ah
mov ch, al
mov ax, word [esi + 6]
mov word [esi + 4], cx
movzx cx, ah
mov ch, al
mov ax, word [esi + 8]
mov word [esi + 6], cx
movzx cx, ah
mov ch, al
mov ax, word [esi + 0xa]
mov word [esi + 8], cx
movzx cx, ah
mov ch, al
mov word [esi + 0xa], cx
call fcn.76ef50d3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push 0x57
pop eax
jmp 0x76ef50c2
cmp eax, 0xe10
je 0x76ef502a
jmp 0x76efd010
jge 0x76efd010
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x76ef50c2
mov eax, 0x5b4
jmp 0x76ef50c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
push esi
push edi
call fcn.76ef50d3
mov eax, 0x2746
cmp esi, eax
je 0x76ef50c2
cmp esi, 0x2738
jne 0x76efd045
mov word [edi + 0x66], 0x5c0
mov eax, esi
jmp 0x76ef50c2
Function at 0x76ef520e
Capabilities:
Send data
Send data on socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
lea esi, [edi + 0x68]
and byte [esi + 3], 0x8f
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], ebx
je 0x76ef5237
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.76ef3eab
cmp dword [edi + 0x60], ebx
mov eax, dword [edi + 0x34]
mov dword [ebp + 0xc], eax
jne 0x76efd284
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x60]
sub ebx, esi
test eax, eax
jne 0x76efd2c0
xor eax, eax
mov byte [edi + 0x59], al
mov ax, word [esi]
movzx cx, ah
mov ch, al
mov ax, word [esi + 4]
mov word [esi], cx
movzx cx, ah
mov ch, al
mov ax, word [esi + 6]
mov word [esi + 4], cx
movzx cx, ah
mov ch, al
mov ax, word [esi + 8]
mov word [esi + 6], cx
movzx cx, ah
mov ch, al
mov ax, word [esi + 0xa]
mov word [esi + 8], cx
movzx cx, ah
mov ch, al
mov word [esi + 0xa], cx
cmp byte [edi + 0x54], 0
jne 0x76efd2d1
push dword [edi + 0xc]
lea eax, [edi + 0x10]
push eax
push 0
movzx eax, bx
push eax
push esi
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x76efd31a
xor ebx, ebx
mov ax, word [esi]
movzx cx, ah
mov ch, al
mov ax, word [esi + 4]
xor edx, edx
mov word [esi], cx
movzx cx, ah
mov ch, al
mov ax, word [esi + 6]
mov word [esi + 4], cx
movzx cx, ah
mov ch, al
mov ax, word [esi + 8]
mov word [esi + 6], cx
movzx cx, ah
mov ch, al
mov word [esi + 8], cx
mov cx, word [esi + 0xa]
movzx ax, ch
mov dh, cl
or eax, edx
cmp dword [ebp - 4], 0
mov word [esi + 0xa], ax
jne 0x76efd310
push ebx
push edi
call fcn.76ef5332
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10
cmp dword [ebp + 0x14], ebx
jne 0x76efd2aa
cmp dword [0x76f111ec], ebx
je 0x76efd2aa
mov al, byte [edi + 0x6a]
and al, 0x78
cmp al, 0x28
je 0x76efd2aa
push dword [edi + 0x14]
call fcn.76f07b10
test eax, eax
je 0x76ef5246
mov eax, dword [edi + 0x60]
dec word [esi + 0xa]
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 1
jmp 0x76ef5246
cmp dword [ebp + 0xc], eax
je 0x76ef5256
xor eax, eax
inc eax
jmp 0x76ef5258
push ebx
call dword [sym.imp.WS2_32.dll_htons]
lea ecx, [edi + 0x66]
inc ebx
mov word [ecx], ax
inc ebx
mov dword [ebp + 0xc], ecx
jmp 0x76efd305
push 0
movzx eax, bx
push eax
push dword [ebp + 0xc]
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
je 0x76efd31a
cmp eax, 0xffffffff
je 0x76efd31a
sub ebx, eax
add dword [ebp + 0xc], eax
test bx, bx
je 0x76ef52c9
jmp 0x76efd2e5
inc eax
mov word [esi + 0xa], ax
jmp 0x76ef531d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x76ef52cb
Function at 0x76ef7588
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x76f11860]
push ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], eax
call edi
cmp eax, ebx
jne 0x76ef76aa
mov eax, dword [ebp - 8]
cmp dword [ebp + 0x14], eax
jne 0x76efce08
cmp eax, ebx
push esi
jbe 0x76efce20
cmp eax, 3
ja 0x76efce12
push 4
pop eax
cmp dword [ebp - 4], eax
ja 0x76ef75f4
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.76ef3634
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0xc], esi
je 0x76efce30
mov dword [esi], ebx
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x76ef8276
cmp dword [ebp - 8], ebx
jbe 0x76ef7693
cmp dword [ebp - 8], 2
ja 0x76efce34
test byte [ebp + 0x10], 0x10
mov eax, dword [ebp - 4]
jne 0x76ef8263
cmp eax, ebx
je 0x76efce43
shr eax, 1
dec eax
js 0x76ef7655
mov word [esi + eax*2], bx
test byte [ebp + 0x10], 1
je 0x76ef7693
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.76ef3634
mov edi, eax
cmp edi, ebx
je 0x76efce4a
mov edx, dword [ebp - 4]
lea eax, [edx + edx]
push eax
push edi
shr edx, 1
mov ecx, esi
call fcn.76ef27f5
test eax, eax
je 0x76efce56
push dword [ebp - 0xc]
call fcn.76ef262e
mov esi, edi
cmp dword [ebp - 8], 4
je 0x76ef769e
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
leave
ret 0x18
cmp eax, ebx
je 0x76ef826f
cmp dword [esi], ebx
jne 0x76ef7644
mov dword [ebp + 8], 0xd
mov eax, dword [ebp + 0x18]
push dword [ebp - 0xc]
mov dword [eax], ebx
mov eax, dword [ebp + 0x1c]
mov dword [eax], ebx
call fcn.76ef262e
jmp 0x76ef76a6
mov eax, 0x3f2
jmp 0x76ef76aa
cmp eax, 4
je 0x76efce28
cmp eax, 7
je 0x76ef75e9
push 0x57
pop eax
jmp 0x76ef76a9
mov esi, dword [ebp + 0x18]
jmp 0x76ef760b
push 0xe
jmp 0x76efce22
cmp dword [ebp - 8], 7
je 0x76ef7637
jmp 0x76ef7693
mov dword [esi], ebx
jmp 0x76ef7655
mov dword [ebp + 8], 0xe
jmp 0x76ef8276
push edi
call fcn.76ef262e
jmp 0x76ef826f
Function at 0x76ef8a31
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x76f11244]
and dword [ebp - 0x128], 0
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
test eax, eax
jne 0x76efba1f
test edx, edx
push esi
push edi
je 0x76ef8a8c
push 6
mov edi, edx
mov esi, 0x76ef8b30
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x76ef8a8c
push 0xa
mov edi, edx
mov esi, 0x76ef8b24
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x76ef8aee
mov dword [ebp - 0x128], 1
push 0x104
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x124]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x76ef8aa5
cmp dword [ebp - 0x128], 0
mov esi, 0x76ef8b10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
je 0x76ef8ad8
lea edi, [ebp - 0x124]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x76ef8ac9
mov esi, 0x76ef8b08
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x124]
push 0x76ef8b04
push eax
call dword [sym.imp.msvcrt.dll_fopen]
pop ecx
pop ecx
mov dword [ebx], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebx], eax
pop ebx
setne al
call fcn.76ef2610
leave
ret 4
push eax
call dword [sym.imp.msvcrt.dll_rewind]
pop ecx
jmp 0x76ef8af0

Function at 0x76ef9205
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor edx, edx
mov eax, 0x76f11e80
xor ecx, ecx
push esi
mov esi, dword [eax]
cmp esi, dword [ebp + 8]
je 0x76ef922e
add ecx, 0xc
add eax, 0xc
cmp ecx, 0xcc
jb 0x76ef9214
jmp 0x76efb86d
cmp dword [ebp + 0x10], edx
je 0x76ef9241
cmp dword [ebp + 0xc], edx
je 0x76ef9246
cmp byte [eax + 8], dl
je 0x76efb86d
pop esi
pop ebp
ret 0xc
cmp byte [eax + 9], dl
je 0x76ef9241
jmp 0x76efb86d
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x76ef9241
Function at 0x76ef9fd7
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x76f11244]
push esi
push edi
xor edi, edi
push 0x76efa07c
mov esi, 0x76ef905c
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x114], 0x103
mov dword [ebp - 0x118], edi
call fcn.76ef906e
push 0x76ef905b
push esi
call fcn.76ef906e
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x10
mov dword [ebp - 0x110], edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
mov dword [ebp - 0x114], 0x103
push dword [0x76f11f50]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, edi
je 0x76efb15a
cmp dword [ebp - 0x10c], edi
jne 0x76efb1c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.76ef2610
leave
ret
lea eax, [ebp - 0x10c]
push eax
push 0xf003f
push edi
lea eax, [ebp - 0x108]
push eax
push dword [0x76f11f50]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x76efa064
push 4
lea eax, [ebp - 0x118]
push eax
push 4
push edi
push 0x76efe638
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x76efa064
push dword [ebp - 0x10c]
call esi
inc dword [ebp - 0x110]
mov dword [ebp - 0x10c], edi
jmp 0x76efa02e
push dword [ebp - 0x10c]
call esi
jmp 0x76efa070
Function at 0x76efab93
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x76f11244]
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSASocketA]
push edi
push dword [ebp + 0x18]
xor edi, edi
push edi
push edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [ebp + 8]
mov dword [ebp - 0x2c], edi
call esi
or ebx, 0xffffffff
cmp eax, ebx
mov dword [ebp - 0x24], eax
jne 0x76efd75f
jmp 0x76efd71e
push 4
lea eax, [ebp - 0x28]
push eax
push 0xfffffffffffffffb
push ebx
push dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
call esi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
mov dx, word [ebp + 0x14]
jne 0x76efd7b8
test dx, dx
jne 0x76efd7b8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.76ef2610
leave
ret 0x14
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x276d
jne 0x76efd84f
cmp dword [ebp - 0x2c], edi
jne 0x76efd84f
mov dword [ebp - 0x2c], 1
call sym.DNSAPI.dll_Dns_InitializeWinsock
test eax, eax
jne 0x76efd84f
push dword [ebp + 0x18]
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
jmp 0x76efabc2
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 0x28]
push eax
push 0x3005
mov ebx, 0xffff
push ebx
push dword [ebp - 0x24]
xor edi, edi
inc edi
mov dword [ebp - 0x28], edi
call esi
cmp eax, 0xffffffff
jne 0x76efabd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x24], 0
mov esi, eax
je 0x76efd7a1
push dword [ebp - 0x24]
call dword [sym.imp.WS2_32.dll_closesocket]
test esi, esi
je 0x76efd7aa
mov esi, 0x267b
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x76efabfe
xor eax, eax
cmp dword [ebp + 8], 2
lea edi, [ebp - 0x20]
jne 0x76efd7d9
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0x10
mov word [ebp - 0x20], 2
mov dword [ebp - 0x1c], ecx
jmp 0x76efd7eb
push 7
pop ecx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0x1c
mov word [ebp - 0x20], 0x17
mov edi, dword [sym.imp.WS2_32.dll_bind]
mov word [ebp - 0x1e], dx
jmp 0x76efd82e
xor eax, eax
cmp dword [ebp - 0x28], eax
je 0x76efd844
cmp word [ebp + 0x14], ax
je 0x76efd844
push 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0xfffffffffffffffb
push ebx
push dword [ebp - 0x24]
call esi
push 4
lea eax, [ebp - 0x28]
push eax
push 4
push ebx
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 1
call esi
and dword [ebp - 0x28], 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
call edi
test eax, eax
je 0x76efabfb
jmp 0x76efd7f7
push dword [ebp - 0x24]
call dword [sym.imp.WS2_32.dll_closesocket]
xor ebx, ebx
push 0x267b
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x76efabfe