joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1d8390
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x1d8398
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x1d858a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x1d85a0
mov eax, esi
call fcn.001d6120
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00104af4
lea ecx, [ebp - 0x10]
mov edx, 0x1d85b4
mov eax, esi
call fcn.001d6120
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00104af4
lea ecx, [ebp - 0x14]
mov edx, 0x1d85cc
mov eax, esi
call fcn.001d6120
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00104af4
lea ecx, [ebp - 0x18]
mov edx, 0x1d85e8
mov eax, esi
call fcn.001d6120
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00104af4
lea ecx, [ebp - 0x1c]
mov edx, 0x1d8604
mov eax, esi
call fcn.001d6120
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00104af4
lea ecx, [ebp - 0x24]
mov edx, 0x1d861c
mov eax, esi
call fcn.001d6120
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00109288
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.001097d0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x1d8634
mov eax, esi
call fcn.001d6120
mov eax, dword [ebp - 0x28]
call fcn.001d5238
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x1d8644
mov eax, esi
call fcn.001d6120
mov eax, dword [ebp - 0x2c]
call fcn.001d5238
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x1d865c
mov eax, esi
call fcn.001d6120
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.001097d0
inc eax
je 0x1d852d
lea ecx, [ebp - 0x34]
mov edx, 0x1d865c
mov eax, esi
call fcn.001d6120
mov eax, dword [ebp - 0x34]
call fcn.00109794
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0010b1b4
fstp qword [ebp - 0x3c]
wait
call fcn.0010b628
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x1d8548
lea ecx, [ebp - 0x40]
mov edx, 0x1d865c
mov eax, esi
call fcn.001d6120
mov eax, dword [ebp - 0x40]
call fcn.001d5238
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x1d866c
mov eax, esi
call fcn.001d6120
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00104af4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1d8591
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00104ac4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00104ac4
ret
Function at 0x1e4828
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x1e4882
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.001e4818
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.001d3ea4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.001d3aa4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1e4889
lea eax, [ebp - 4]
call fcn.00104aa0
ret

Function at 0x1f9498
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [ebp - 0x100]
call fcn.0017e738
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1f9c08
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
test dl, dl
je 0x1f9c19
add esp, 0xfffffff0
call fcn.00103f0c
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.00103b78
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x1f9bb0
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x24696c], eax
mov eax, esi
test bl, bl
je 0x1f9c54
call fcn.00103f64
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x202404
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
cmp word [ebx + 0x2d2], 0
je 0x202422
mov edx, ebx
mov eax, dword [ebx + 0x2d4]
call dword [ebx + 0x2d0]
mov edx, ebx
mov eax, ebx
call fcn.00202930
test eax, eax
jne 0x20243f
cmp dword [ebx + 0x290], 0
jne 0x20243f
mov byte [0x246960], 0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
jne 0x202459
push 0
mov eax, ebx
call fcn.0016d3b8
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.0016d3b8
push eax
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebx + 0x210], al
mov eax, dword [0x24695c]
cmp ebx, dword [eax + 0x10]
jne 0x202492
mov eax, dword [0x24695c]
mov edx, dword [ebx + 0x24c]
mov dword [eax + 0x10], edx
xor eax, eax
mov dword [ebx + 0x24c], eax
pop ebx
pop ebp
ret

Function at 0x206270
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov bl, byte [0x2062ac]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x206289
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x206298
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x2062a7
or bl, 2
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x2076c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x244ac0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x2076e9
push 0
mov eax, dword [0x244ac0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebp
ret
Function at 0x20df40
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a0], edx
mov esi, eax
xor eax, eax
push ebp
push 0x20e091
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x9c], 0x94
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x20df8c
cmp dword [ebp - 0x8c], 1
je 0x20df90
xor ebx, ebx
jmp 0x20df92
mov bl, 1
mov dl, 1
mov eax, dword [0x13eccc]
call fcn.0013edcc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x20e06c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 4]
call fcn.0013ee6c
test bl, bl
je 0x20dfcf
mov edx, 0x20e0a8
mov eax, dword [ebp - 4]
call fcn.0013eff4
jmp 0x20dfdc
mov edx, 0x20e0dc
mov eax, dword [ebp - 4]
call fcn.0013eff4
lea ecx, [ebp - 0x1a0]
mov edx, 0x20e114
mov eax, dword [ebp - 4]
call fcn.0013f250
mov edx, dword [ebp - 0x1a0]
lea eax, [esi + 0x1c]
call fcn.00104af4
lea ecx, [ebp - 0x1a4]
mov edx, 0x20e12c
mov eax, dword [ebp - 4]
call fcn.0013f250
mov edx, dword [ebp - 0x1a4]
lea eax, [esi + 0x20]
call fcn.00104af4
mov eax, dword [ebp - 4]
call fcn.0013ee3c
cmp dword [esi + 0x1c], 0
jne 0x20e056
mov dword [ebp - 8], 0xff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x19c]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [esi + 0x1c]
lea edx, [ebp - 0x19c]
mov ecx, pe_nt_image_headers32
call fcn.00104d10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x20e073
mov eax, dword [ebp - 4]
call fcn.00103ba8
ret

Function at 0x2119bc
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x211a45
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x246df0
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x211a2f
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0010cc40
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x211a5c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x244be0]
mov dl, 1
mov eax, dword [0x211144]
call fcn.0010d570
call fcn.00104438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x211a4c
lea eax, [ebp - 0x1c]
call fcn.00104aa0
ret

Function at 0x2120f8
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0021201c
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00103da4
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x21215c
call fcn.00211904
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x21214e
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00103da4
pop esi
pop ebx
ret
Function at 0x212180
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00104f7c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.001033ac
test ebx, ebx
je 0x2121cb
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x2122a8
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x2122d9
mov ecx, dword [0x244a40]
mov dl, 1
mov eax, dword [0x211144]
call fcn.0010d534
call fcn.00104438
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x212306
mov ecx, dword [0x24496c]
mov dl, 1
mov eax, dword [0x211144]
call fcn.0010d534
call fcn.00104438
xor eax, eax
push ebp
push 0x212382
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00103da4
cmp byte [ebp + 8], 0
je 0x21235e
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00212210
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.002120f8
jmp 0x212378
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00211bf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x21239f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x212580
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00211eb8
xor eax, eax
push ebp
push 0x2126f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x2126db
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x2125cb
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x2125d5
call fcn.001044e4
jmp 0x2126f8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0011e7c4
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x2126d0
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x212683
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x212670
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00103da4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00212538
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x212704]
cmp dl, byte [eax + 0x28]
je 0x2126d7
call fcn.0010d44c
jmp 0x2126d7
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0011e7e4
jmp 0x2126d7
cmp ecx, ebx
jge 0x21269f
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0011e7e4
jmp 0x2125d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0011e7c4
cmp edx, dword [esp + 4]
jne 0x2126bf
cmp eax, dword [esp]
pop edx
pop eax
jne 0x2125d5
push ebp
call fcn.00212538
pop ecx
jmp 0x2126d7
push ebp
call fcn.00212538
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2126f8
mov eax, dword [ebp - 4]
call fcn.00211ec4
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x212708
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x21282a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00211eb8
xor eax, eax
push ebp
push 0x21280d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x212758
call fcn.001044e4
jmp 0x212814
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x2127f7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x2127f7
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00103da4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x2127f7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0010cc40
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x212844
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x244be0]
mov dl, 1
mov eax, dword [0x211144]
call fcn.0010d570
call fcn.00104438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x212814
mov eax, dword [ebp - 4]
call fcn.00211ec4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x212831
lea eax, [ebp - 0x28]
call fcn.00104aa0
ret
Function at 0x212890
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x2129da
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00211eb8
xor eax, eax
push ebp
push 0x2129bd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x2128f5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x2128f5
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x2129a7
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x212908
call fcn.001044e4
jmp 0x2129c4
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x2129a7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x2129a7
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00103da4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x2129a7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0010cc40
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x2129f4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x244be0]
mov dl, 1
mov eax, dword [0x211144]
call fcn.0010d570
call fcn.00104438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2129c4
mov eax, dword [ebp - 4]
call fcn.00211ec4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2129e1
lea eax, [ebp - 0x28]
call fcn.00104aa0
ret

Function at 0x213094
Capabilities:
Get socket status

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ecx, edx
mov ebx, eax
mov eax, ecx
mov esi, 0x3e8
cdq
idiv esi
mov dword [esp], eax
mov eax, ecx
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [esp + 4], eax
lea eax, [esp + 8]
call fcn.001e7f74
lea edx, [esp + 8]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
call fcn.001e7f64
push esp
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
setg al
add esp, 0x10c
pop esi
pop ebx
ret
Function at 0x215eac
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x21605c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00106740
push eax
push 0x21606c
push 1
push 0
mov eax, dword [0x2445e0]
push eax
call sub.ole32.dll_CoCreateInstance
call fcn.001976d8
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, 0x21607c
call fcn.00106784
push 0
mov eax, esi
call fcn.00105324
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.001976d8
push 3
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
call fcn.001976d8
push 2
lea eax, [ebp - 0x148]
push eax
push 0x104
lea eax, [ebp - 0x24d]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.001976d8
mov eax, ebx
lea edx, [ebp - 0x24d]
mov ecx, 0x105
call fcn.00104d10
push 0x104
lea eax, [ebp - 0x24d]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
call fcn.001976d8
lea eax, [ebx + 4]
lea edx, [ebp - 0x24d]
mov ecx, 0x105
call fcn.00104d10
push 0x104
lea eax, [ebp - 0x24d]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.001976d8
lea eax, [ebx + 8]
lea edx, [ebp - 0x24d]
mov ecx, 0x105
call fcn.00104d10
push 0x104
lea eax, [ebp - 0x24d]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.001976d8
lea eax, [ebx + 0xc]
lea edx, [ebp - 0x24d]
mov ecx, 0x105
call fcn.00104d10
lea eax, [ebx + 0x14]
push eax
push 0x104
lea eax, [ebp - 0x24d]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
call fcn.001976d8
lea eax, [ebx + 0x10]
lea edx, [ebp - 0x24d]
mov ecx, 0x105
call fcn.00104d10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.001976d8
lea eax, [ebx + 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.001976d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x216063
lea eax, [ebp - 8]
call fcn.00106740
lea eax, [ebp - 4]
call fcn.00106740
ret
Function at 0x217660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00104d10
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x217694
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00104d10
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x2190f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
mov ebx, eax
call fcn.00102be8
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x105]
push eax
mov eax, 0xffff
call fcn.001033cc
push eax
push 0x219150
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov eax, ebx
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00104d10
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x21c484
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00104f6c
xor eax, eax
push ebp
push 0x21c6ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00104d7c
cmp eax, 2
jl 0x21c6b1
mov eax, dword [ebp - 4]
mov al, byte [eax]
xor edx, edx
mov dl, al
shl edx, 8
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + 1]
add edx, ecx
cmp edx, 0xc2e8
jge 0x21c59e
cmp edx, 0xb7a2
jge 0x21c538
cmp edx, 0xb2c1
jge 0x21c509
add edx, 0xffff4f5f
sub edx, 0x24
jb 0x21c651
sub edx, 0x1fc
jb 0x21c655
jmp 0x21c6ad
add edx, 0xffff4d3f
sub edx, 0x22d
jb 0x21c659
sub edx, 0x1fc
jb 0x21c65d
sub edx, 0xb8
jb 0x21c661
jmp 0x21c6ad
cmp edx, 0xbbf7
jge 0x21c56f
add edx, 0xffff485e
sub edx, 0x11f
jb 0x21c665
sub edx, 0x13d
jb 0x21c669
sub edx, 0x1f9
jb 0x21c66d
jmp 0x21c6ad
add edx, 0xffff4409
sub edx, 0x3af
jb 0x21c671
sub edx, 0x106
jb 0x21c675
sub edx, 0x23c
jb 0x21c679
jmp 0x21c6ad
cmp edx, 0xc8f6
jge 0x21c606
cmp edx, 0xc5be
jge 0x21c5da
add edx, 0xffff3d18
sub edx, 0x1db
jb 0x21c67d
sub edx, 0xf3
jb 0x21c681
sub edx, 8
jb 0x21c685
jmp 0x21c6ad
add edx, 0xffff3a42
sub edx, 0x11c
jb 0x21c689
sub edx, 0x1e1
jb 0x21c68d
sub edx, 0x3b
jb 0x21c691
jmp 0x21c6ad
cmp edx, 0xcef4
jge 0x21c62e
add edx, 0xffff370a
sub edx, 0x304
jb 0x21c695
sub edx, 0x1e0
jb 0x21c699
sub edx, 0x11a
jb 0x21c69d
jmp 0x21c6ad
add edx, 0xffff310c
sub edx, 0x295
jb 0x21c6a1
add edx, 0xffffffd0
sub edx, 0x318
jb 0x21c6a5
sub edx, 0x329
jb 0x21c6a9
jmp 0x21c6ad
mov bl, 0x41
jmp 0x21c6c5
mov bl, 0x42
jmp 0x21c6c5
mov bl, 0x43
jmp 0x21c6c5
mov bl, 0x44
jmp 0x21c6c5
mov bl, 0x45
jmp 0x21c6c5
mov bl, 0x46
jmp 0x21c6c5
mov bl, 0x47
jmp 0x21c6c5
mov bl, 0x48
jmp 0x21c6c5
mov bl, 0x4a
jmp 0x21c6c5
mov bl, 0x4b
jmp 0x21c6c5
mov bl, 0x4c
jmp 0x21c6c5
mov bl, 0x4d
jmp 0x21c6c5
mov bl, 0x4e
jmp 0x21c6c5
mov bl, 0x4f
jmp 0x21c6c5
mov bl, 0x50
jmp 0x21c6c5
mov bl, 0x51
jmp 0x21c6c5
mov bl, 0x52
jmp 0x21c6c5
mov bl, 0x53
jmp 0x21c6c5
mov bl, 0x54
jmp 0x21c6c5
mov bl, 0x57
jmp 0x21c6c5
mov bl, 0x58
jmp 0x21c6c5
mov bl, 0x59
jmp 0x21c6c5
mov bl, 0x5a
jmp 0x21c6c5
mov ebx, eax
jmp 0x21c6c5
mov eax, dword [ebp - 4]
call fcn.00104d7c
dec eax
jne 0x21c6c3
mov eax, dword [ebp - 4]
mov bl, byte [eax]
jmp 0x21c6c5
xor ebx, ebx
cmp byte [ebp - 5], 0
jne 0x21c6d4
xor eax, eax
mov al, bl
add eax, 0x20
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x21c6f1
lea eax, [ebp - 4]
call fcn.00104aa0
ret