joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467df0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbd0b
mov eax, dword fs:[0]
push eax
sub esp, 0x8ac
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x90]
push 0x80
push eax
push dword [edi + 0x100]
call esi
push 0x800
lea eax, [ebp - 0x890]
push eax
push dword [edi + 0x104]
call esi
push 0x70
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x467f79
mov ecx, eax
call fcn.00460a70
mov esi, eax
test esi, esi
je 0x467f79
cmp byte [ebp - 0x90], 0
jne 0x467e7e
xor ecx, ecx
jmp 0x467e90
lea ecx, [ebp - 0x90]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x467e87
sub ecx, edx
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [esi + 0x50]
call fcn.0040f700
push 6
push str.000000
lea ecx, [ebp - 0x8a8]
mov dword [esi + 8], 2
mov dword [ebp - 0x894], 0xf
mov dword [ebp - 0x898], 0
mov byte [ebp - 0x8a8], 0
call fcn.0040f700
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x8a8]
cmp ecx, eax
je 0x467ef2
push 0xffffffffffffffff
push 0
push eax
call fcn.0040f5e0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x894], 0x10
jb 0x467f11
push dword [ebp - 0x8a8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esi + 0x24], 0x3e8
mov dword [esi + 0x28], 0x3c
cmp byte [ebp - 0x890], 0
jne 0x467f2c
xor ecx, ecx
jmp 0x467f3e
lea ecx, [ebp - 0x890]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x467f35
sub ecx, edx
push ecx
lea eax, [ebp - 0x890]
push eax
lea ecx, [esi + 0x38]
call fcn.0040f700
sub esp, 0x18
mov dword [ebp - 0x8b4], 0x467fa0
lea eax, [ebp - 0x8b4]
mov dword [ebp - 0x8ac], edi
mov ecx, esp
push eax
call fcn.00468370
mov ecx, esi
call fcn.00466380
add esp, 0x18
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
Function at 0x46b380
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push ebx
mov ebx, ecx
push edi
mov edi, edx
cmp eax, 0xffffffff
je 0x46b415
test ebx, ebx
je 0x46b415
test edi, edi
jle 0x46b415
push esi
mov esi, ebx
dec edi
je 0x46b3e8
nop
push 0
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push ecx
push 1
lea ecx, [ebp - 5]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46b3fe
cmp dword [ebp - 0xc], 0
je 0x46b3fe
mov al, byte [ebp - 5]
cmp al, 0xd
je 0x46b3e2
cmp al, 0xa
je 0x46b3e8
mov byte [esi], al
inc esi
mov eax, dword [ebp - 0x10]
dec edi
jne 0x46b3b0
mov byte [esi], 0
mov eax, ebx
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
cmp esi, ebx
jne 0x46b3e8
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret

Function at 0x46b430
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push ebx
mov ebx, ecx
push edi
mov edi, edx
cmp eax, 0xffffffff
je 0x46b4cf
test ebx, ebx
je 0x46b4cf
test edi, edi
jle 0x46b4cf
push esi
mov esi, ebx
dec edi
je 0x46b4a0
nop
push 0
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push ecx
push 2
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46b4b8
cmp dword [ebp - 0xc], 0
je 0x46b4b8
mov ax, word [ebp - 8]
cmp ax, 0xd
je 0x46b49a
cmp ax, 0xa
je 0x46b4a0
mov word [esi], ax
add esi, 2
mov eax, dword [ebp - 0x10]
dec edi
jne 0x46b460
xor eax, eax
mov word [esi], ax
mov eax, ebx
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
cmp esi, ebx
jne 0x46b4a0
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
Function at 0x46c230
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, 0xffffffff
je 0x46c2d3
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 8]
push 0
push eax
push 0x20
push esi
push edi
mov dword [ebp - 0xc], 0
call ebx
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push edi
call ebx
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x46c2d3
mov eax, dword [esi + 0x20]
test eax, eax
je 0x46c29b
push eax
call dword [sym.imp.MSVCR120.dll_free]
mov ebx, dword [ebp - 0xc]
add esp, 4
mov dword [esi + 0x20], 0
push ebx
call dword [sym.imp.MSVCR120.dll_malloc]
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
je 0x46c2bb
push 0
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4

Function at 0x46c550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
push edi
mov edi, ecx
cmp ebx, 0xffffffff
je 0x46c658
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0xc]
push 0
push eax
push 0x20
lea eax, [edi + 0x18]
mov dword [ebp - 8], 0
push eax
push ebx
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
push ebx
call esi
xor ebx, ebx
cmp dword [ebp - 8], ebx
jle 0x46c609
push 0x24
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
test esi, esi
je 0x46c603
push dword [ebp - 0x10]
xorps xmm0, xmm0
mov ecx, esi
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
movdqu xmmword [esi], xmm0
movdqu xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], 0
call fcn.0046c230
test eax, eax
je 0x46c621
mov ecx, edi
call fcn.00470750
test eax, eax
je 0x46c603
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x46c603
mov eax, dword [edi + 0x14]
mov dword [ecx + eax*4], esi
inc dword [edi + 0x14]
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x46c5a6
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x46c639
push eax
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4
Function at 0x46c7c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
push edi
mov edi, ecx
cmp ebx, 0xffffffff
je 0x46c902
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 8]
push 0
push eax
push 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push ebx
call esi
push 0
mov ecx, 4
lea eax, [ebp - 8]
cmp dword [ebp - 0xc], ecx
push eax
cmovb ecx, dword [ebp - 0xc]
lea eax, [edi + 0x18]
push ecx
push eax
push ebx
call esi
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
call esi
xor ebx, ebx
cmp dword [ebp - 0x10], ebx
jle 0x46c8ea
push 0x38
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
test esi, esi
je 0x46c8c3
push 0x38
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esi + 4], 0
xorps xmm0, xmm0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, esi
mov dword [esi + 0x10], 0x14
push dword [ebp - 0x18]
mov dword [esi + 0x14], 0
mov dword [esi], vtable.CIniSection.0
movdqu xmmword [esi + 0x18], xmm0
movdqu xmmword [esi + 0x28], xmm0
call fcn.0046c550
test eax, eax
jne 0x46c8c5
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4
xor esi, esi
mov ecx, edi
call fcn.00470750
test eax, eax
je 0x46c8e0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x46c8e0
mov eax, dword [edi + 0x14]
mov dword [ecx + eax*4], esi
inc dword [edi + 0x14]
inc ebx
cmp ebx, dword [ebp - 0x10]
jl 0x46c843
pop esi
pop edi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4

Function at 0x46c920
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
lea eax, [ebp - 0x10]
mov esi, ecx
push eax
push 5
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, 0x4e39c4
lea ecx, [ebp - 0xc]
pop esi
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x46c980
test dl, dl
je 0x46c97c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x46c980
add ecx, 2
add eax, 2
test dl, dl
jne 0x46c960
xor ecx, ecx
jmp 0x46c985
sbb ecx, ecx
or ecx, 1
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
Function at 0x46e9c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0x7c]
test edx, edx
je 0x46e9ff
mov eax, dword [ecx + 0xe0]
test eax, eax
je 0x46e9ea
mov eax, dword [eax + 4]
push eax
push dword [ebp + 8]
push dword [ecx + 0xd4]
call edx
add esp, 0xc
pop ebp
ret 4
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ecx + 0xd4]
call edx
add esp, 0xc
pop ebp
ret 4
cmp dword [ebp + 8], 0
jne 0x46ea19
push 0
push dword [ecx + 0xd4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop ebp
ret 4
push 1
push dword [ecx + 0xd4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop ebp
ret 4

Function at 0x470390
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x10]
cmp eax, 0xffffffff
jne 0x4703ba
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x4703a8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret

Function at 0x4703e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x10]
mov edx, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x47040d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 8
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
and eax, dword [ebp - 8]
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 8

Function at 0x470440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0x10]
cmp edx, 0xffffffff
jne 0x470474
mov dword [esi + 0x14], edx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
jne 0x470492
mov dword [esi + 0x14], 0xfffffffe
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4704b1
mov dword [esi + 0x14], 0xfffffffd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 8
push edi
push 0
lea edi, [ebp - 8]
push edi
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
test eax, eax
jne 0x4704e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4704e9
mov dword [esi + 0x14], eax
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 8
Function at 0x470500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ecx + 0x10]
cmp esi, 0xffffffff
je 0x47055e
test edx, edx
je 0x47055e
mov ecx, edx
push edi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x470526
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
sub ecx, edi
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
test eax, eax
je 0x47055e
mov eax, dword [ebp - 8]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
xor ecx, ebp
pop esi
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4

Function at 0x4705a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x804]
mov esi, ecx
push 0x4e3b20
push eax
call fcn.0046bd60
mov edx, dword [esi + 0x10]
add esp, 0xc
cmp edx, 0xffffffff
je 0x470618
lea eax, [ebp - 0x804]
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4705e0
sub eax, esi
mov dword [ebp - 0x808], 0
push 0
sar eax, 1
lea ecx, [ebp - 0x808]
push ecx
add eax, eax
push eax
lea eax, [ebp - 0x804]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 0xffffffff
jne 0x47061d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 4
Function at 0x472a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x506040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x14], 8
mov esi, 0xfffffffe
push edi
mov edi, ecx
mov dword [ebp - 8], 0
jb 0x472a4f
mov eax, dword [eax]
push 0x4e3d78
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.MSVCR120.dll__wfopen_s]
add esp, 0xc
mov dword [ebx], eax
test eax, eax
jne 0x472ab5
mov eax, dword [ebp - 8]
test eax, eax
je 0x472ab5
mov ecx, dword [edi + 0xa8]
test ecx, ecx
je 0x472aca
mov edx, dword [edi + 0xac]
test edx, edx
je 0x472aca
push eax
push 1
push edx
push ecx
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp eax, 1
jae 0x472aa7
call dword [sym.imp.MSVCR120.dll__errno]
mov esi, 1
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x472aa9
xor esi, esi
push dword [ebp - 8]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.MSVCR120.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 2
pop edi
pop esi
pop ebx
call fcn.004ba66b
mov esp, ebp
pop ebp
ret 8

Function at 0x47aff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cd4b1
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
jmp dword [eax*4 + 0x47bb20]

Function at 0x4822e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
push 0
je 0x482313
mov ecx, dword [edi + 4]
push 0
push dword [ebp + 0x1c]
call fcn.00440670
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x482335
mov ecx, dword [edi + 4]
push 0x2719
push dword [ebp + 0x1c]
call fcn.00440670
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov ebx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x18]
push ebx
push dword [ebp + 0x14]
mov dword [ebp + 0x18], 0
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x482389
cmp eax, 0x3e5
je 0x482389
push dword [ebp + 0x18]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.00440670
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.00440600
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x48d2b0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov dword [ebp - 4], edx
cmp dword [ebx], 0x40
mov dword [ebp - 0x10], ecx
jne 0x48d2d8
call fcn.004a8940
mov edx, dword [ebp - 4]
mov dword [ebx], 0x2745
mov dword [ebx + 4], eax
cmp dword [ebx], 0
jne 0x48d3b6
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x48d352
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x48d352
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp + 0x18], 0
push eax
mov eax, dword [ebp + 8]
push eax
push eax
push 0
push edx
call dword [sym.imp.MSWSOCK.dll_GetAcceptExSockaddrs]
mov eax, dword [ebp + 0x18]
cmp eax, dword [esi]
jbe 0x48d340
call fcn.004a8940
mov dword [ebx], 0x2726
mov dword [ebx + 4], eax
jmp 0x48d352
push eax
push dword [ebp - 4]
push edi
call sub.MSVCR120.dll_memcpy
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [esi], eax
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp esi, 0xffffffff
jne 0x48d375
call fcn.004a8940
mov dword [ebx], 0x2719
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
lea eax, [ebp - 0x14]
push eax
push 0x700b
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.004a8940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebx], eax
mov dword [ebx + 4], esi
test edi, edi
jne 0x48d3b6
call fcn.004a8940
mov dword [ebx], edi
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4914f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cf6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [edx + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x491552
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x38], 0
push eax
push ecx
push dword [ebp + 0xc]
lea ecx, [esi + 0x14]
push dword [ebp + 8]
call fcn.00491920
mov dword [esp + 0x38], 0xffffffff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4915a9
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x4915a9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x4915a9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4996e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d0650
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 0xc]
mov edx, 1
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 8]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
test esi, esi
je 0x49974c
lea ecx, [esi + 4]
mov eax, edx
lock xadd dword [ecx], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], esi
test esi, esi
je 0x499796
lea eax, [esi + 4]
lock xadd dword [eax], edx
mov byte [esp + 0x70], 1
mov dword [esp + 0x1c], 0
call fcn.004a8940
push 1
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x40]
push 0
lea eax, [esp + 0x24]
push eax
call fcn.0049a350
mov byte [esp + 0x70], 0
or ebx, 0xffffffff
mov edi, dword [esp + 0x60]
test edi, edi
je 0x4997f8
lea eax, [edi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x4997f8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
mov edx, ebx
lock xadd dword [eax], edx
cmp edx, 1
jne 0x4997f8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov dword [esp + 0x70], 0xffffffff
test esi, esi
je 0x49982c
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x49982c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], ebx
cmp ebx, 1
jne 0x49982c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x499990
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d06c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
mov esi, 1
mov eax, dword [edx]
mov ecx, dword [edx + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x4999ed
add ecx, 4
mov eax, esi
lock xadd dword [ecx], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x20], eax
test eax, eax
je 0x499a06
add eax, 4
lock xadd dword [eax], esi
lea eax, [esp + 0xc]
mov dword [esp + 0x38], 0
mov esi, dword [edi + 8]
push eax
push 0x38
call fcn.0042bc50
add esp, 8
test eax, eax
je 0x499a32
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call fcn.0049adb0
jmp 0x499a34
xor eax, eax
push ecx
push eax
mov ecx, esi
call fcn.0042bd10
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.00497fe0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4