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

Disassembly:
push 0xffffffffffffffff
push 0x4a50e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dl, byte [esp + 0x28]
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
mov dword [eax + 0xc], 1
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov dword [eax], vtable.Blizzard::IOVerifyUnitInternal.0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 0x30], edx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c

Function at 0x45dcd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a5609
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov eax, dword [esp + 0x34]
mov dword [esi + 0x14], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x3c], edi
lea ebp, [esi + 0x54]
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], eax
mov dword [esp + 0x2c], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
lea ecx, [esi + 0x64]
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
lea ebx, [esi + 0x74]
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov eax, dword [esp + 0x38]
test al, al
mov byte [esp + 0x2c], 3
mov dword [esi + 0x84], eax
jns 0x45dd79
mov edx, dword [esi + 0x50]
push edi
push edx
call fcn.0042f3b0
test byte [esi + 0x84], 0x40
je 0x45ddad
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x50]
push eax
mov ecx, ebx
call fcn.0045a760
test dword [esi + 0x84], 0x100
je 0x45ddc6
mov ecx, dword [esi + 0x50]
push edi
push edi
push ecx
mov ecx, ebp
call fcn.0045a6b0
mov ecx, dword [esp + 0x24]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8
Function at 0x460e40
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, 0x4a8994
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x460778
push esi
sub eax, edx
push edi
mov edi, eax
lea eax, [edi + 0x41]
push eax
call fcn.0048e680
push 0x40
mov esi, eax
push 0
push esi
call fcn.0048cb00
add esp, 0x10
add edi, 1
push edi
lea ecx, [esi + 0x38]
mov edx, 0x4a8994
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 2
call fcn.00444b20
mov ecx, esi
call fcn.0045e7f0
mov edx, esi
mov ecx, 0x4e8c98
mov dword [0x4e43c0], esi
call fcn.00463b10
mov ecx, dword [0x4e43c0]
mov eax, 1
mov dword [ecx + 0x14], eax
mov edx, dword [0x4e43c0]
pop edi
mov dword [edx + 0x18], eax
pop esi
ret
cmp byte [0x4e43c7], 0
jne 0x460f0f
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push edi
push 0x4e43c8
mov byte [0x4e43c7], 1
call esi
push 0x4e45e0
call esi
call fcn.00460e40
mov ebp, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
not eax
mov dword [0x4e8c98], eax
not eax
cmp eax, 0xffffffff
je 0x460ec2
push 0x4e43c8
mov dword [0x4e8c9c], 0
call esi
mov eax, dword [0x4e45f8]
mov dword [eax*4 + 0x4e43e0], 0x4e8c98
add eax, 1
push 0x4e43c8
mov dword [0x4e45f8], eax
call edi
call fcn.00460e40
call ebp
not eax
mov dword [0x4e8c84], eax
not eax
cmp eax, 0xffffffff
je 0x460f07
push 0x4e43c8
mov dword [0x4e8c88], 0
call esi
mov eax, dword [0x4e45f8]
mov dword [eax*4 + 0x4e43e0], 0x4e8c84
add eax, 1
push 0x4e43c8
mov dword [0x4e45f8], eax
call edi
pop edi
pop esi
pop ebp
jmp 0x460770
ret

Function at 0x460f70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.00460e40
mov edx, esi
mov ecx, 0x4e8c84
pop esi
jmp fcn.00463b10

Function at 0x461149
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a58f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x158]
mov dword [esp + 0x1c], 2
call fcn.00460ac0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea edi, [esi + 0x140]
push edi
call ebx
mov dword [edi], 0
lea edi, [esi + 0xc]
push edi
call ebx
mov dword [edi], 0
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.00457970
mov ecx, dword [esi + 4]
push ecx
call fcn.00409f10
mov ecx, dword [esp + 0x18]
add esp, 4
pop edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4629e0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00460e40
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov ecx, edi
call fcn.0045fe60
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov esi, eax
mov eax, edi
and eax, 1
add eax, eax
add eax, eax
test ecx, ecx
mov dword [ebx], esi
jne 0x462a25
mov edx, dword [0x4e8adc]
test edx, edx
je 0x462a2c
mov ecx, edx
test ecx, ecx
jle 0x462a2c
or eax, 0x10000
lea edx, [esi + 4]
push edx
push eax
push esi
push 0x461dd0
push ecx
push 0
call fcn.0048fd00
mov dword [esi], eax
mov eax, dword [ebx]
not edi
add esp, 0x18
and edi, 1
mov dword [eax + 0x14], edi
pop edi
pop esi
mov al, 1
pop ebx
ret 0x10

Function at 0x462a60
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00460e40
mov eax, dword [esp + 0xc]
push eax
mov edx, esi
mov ecx, edi
call fcn.0045fe60
mov ecx, dword [0x4e8adc]
mov esi, eax
xor eax, eax
xor edx, edx
test ecx, ecx
je 0x462a92
mov eax, ecx
jle 0x462a92
mov edx, 0x10000
lea ecx, [esi + 4]
push ecx
push edx
push esi
push 0x461dd0
push eax
push 0
call fcn.0048fd00
add esp, 0x18
lea ecx, [esi + 0x18]
mov dword [esi], eax
mov dword [esi + 0x14], 1
call fcn.004445f0
test eax, eax
jg 0x462ae0
mov eax, dword [esi]
test eax, eax
je 0x462ad0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov ecx, esi
call fcn.0045cd20
push esi
call fcn.0048d2d5
add esp, 4
pop edi
mov al, 1
pop esi
ret 4
Function at 0x462cc0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4a5acf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebx, ecx
push esi
lea esi, [ebx + 8]
push esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [ebx + 0x24], ebp
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x34], ebp
mov dword [ebx + 0x38], ebp
mov dword [ebx + 0x3c], ebp
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x24], 3
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [esp + 0x10], ebp
jbe 0x462e1d
push edi
lea ecx, [ecx]
push 0x24
call fcn.00409fa0
add esp, 4
mov esi, eax
cmp esi, ebp
je 0x462d68
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebp
push ebp
push ebp
push ebp
call edi
mov dword [esi + 8], eax
push ebp
push ebp
push ebp
push ebp
call edi
mov dword [esi + 0xc], eax
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
jmp 0x462d6a
xor esi, esi
cmp esi, ebp
mov byte [esp + 0x28], 3
mov dword [esp + 0x34], esi
je 0x462e1c
call fcn.00460e40
push str.Blizzard_Thread_Pool_Worker
mov edx, esi
mov ecx, 0x45e9a0
call fcn.0045fe60
mov edx, dword [0x4e8adc]
mov edi, eax
xor eax, eax
xor ecx, ecx
cmp edx, ebp
mov dword [esi], edi
je 0x462dac
mov eax, edx
jle 0x462dac
mov ecx, 0x10000
lea edx, [edi + 4]
push edx
push ecx
push edi
push 0x461dd0
push eax
push ebp
call fcn.0048fd00
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax + 0x14], 1
mov ecx, dword [esi]
add esp, 0x18
cmp ecx, ebp
je 0x462dda
lea edx, [esi + 0x1c]
call fcn.00444e00
mov eax, dword [esi]
cmp eax, ebp
je 0x462dea
mov eax, dword [eax + 8]
cmp eax, ebp
jl 0x462dea
mov dword [esi + 0x20], eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [ebx + 0x30]
mov dword [esi + 4], ebx
call fcn.004167a0
lea edx, [esp + 0x34]
push edx
lea ecx, [ebx + 0x20]
call fcn.004167a0
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
jb 0x462d30
pop edi
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x4630a0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4a5b16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
mov esi, ecx
push 0
mov dword [esp + 0x18], esi
call edi
mov dword [esi + 4], eax
push 0
push 0
push 0
push 0
mov dword [esp + 0x24], 0
call edi
mov dword [esi + 8], eax
mov byte [esp + 0x14], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00460e40
push 0x4a8994
mov edx, esi
mov ecx, 0x446f80
call fcn.0045fe60
mov edi, eax
lea eax, [edi + 4]
push eax
push 0x10000
push edi
push 0x461dd0
push 0x40000
push 0
mov dword [esi], edi
call fcn.0048fd00
mov dword [edi], eax
mov ecx, dword [esi]
add esp, 0x18
mov dword [ecx + 0x14], 1
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x463a10
Capabilities:
Create thread

Disassembly:
push ebp
push esi
mov esi, dword [0x4e8c18]
test esi, esi
mov ebp, ecx
jne 0x463a4b
push 0x200
call fcn.0048e680
mov esi, eax
add esp, 4
test esi, esi
je 0x463a43
push 0x200
push 0
push esi
call fcn.0048cb00
add esp, 0xc
jmp 0x463a45
xor esi, esi
mov dword [0x4e8c18], esi
mov eax, dword [esi]
test eax, eax
jge 0x463a56
pop esi
xor al, al
pop ebp
ret
jne 0x463af4
push edi
call fcn.00451a60
mov ecx, dword [0x4e8c18]
mov dword [ecx + 8], eax
mov eax, dword [0x4e8c18]
mov dword [eax + 0xc], edx
mov ecx, dword [0x4e8c18]
add ecx, 0x1e0
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edx, dword [0x4e8c18]
mov dword [edx], 1
mov eax, dword [0x4e8c18]
mov byte [eax + 0x1fc], 1
mov edi, dword [0x4e8c18]
add edi, 0x1f8
call fcn.00460e40
push 0x4a8994
xor edx, edx
mov ecx, 0x453b90
call fcn.0045fe60
mov esi, eax
lea ecx, [esi + 4]
push ecx
push 0x10000
push esi
push 0x461dd0
push 0x10000
push 0
mov dword [edi], esi
call fcn.0048fd00
mov dword [esi], eax
mov edx, dword [edi]
add esp, 0x18
mov dword [edx + 0x14], 1
mov esi, dword [0x4e8c18]
pop edi
add esi, 0x1e0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebp
call fcn.00453c70
pop esi
mov al, 1
pop ebp
ret

Function at 0x463b10
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov esi, edx
push esi
not eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [edi + 4], 0
je 0x463b5d
test esi, esi
je 0x463b5d
call fcn.00460e40
mov eax, dword [0x4e8c98]
not eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x463b51
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x463b4d
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x463b5d
mov edx, dword [edi + 4]
pop edi
mov ecx, esi
pop esi
jmp fcn.00462af0
pop edi
pop esi
ret
Function at 0x465100
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
not eax
cmp eax, 0xffffffff
jne 0x465120
mov edx, 0x445670
call fcn.00460f90
test al, al
jne 0x46512d
pop edi
xor eax, eax
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x465159
push 1
call fcn.00409fa0
add esp, 4
test eax, eax
je 0x46514e
mov edx, eax
mov ecx, edi
mov byte [eax], 0
mov esi, edx
call fcn.00463b10
pop edi
mov eax, esi
pop esi
ret
xor edx, edx
mov ecx, edi
mov esi, edx
call fcn.00463b10
pop edi
mov eax, esi
pop esi
ret

Function at 0x465160
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
not eax
cmp eax, 0xffffffff
jne 0x465180
mov edx, 0x451e10
call fcn.00460f90
test al, al
jne 0x46518d
pop edi
xor eax, eax
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4651cc
push 0xc
call fcn.00409fa0
add esp, 4
test eax, eax
je 0x4651bf
mov edx, eax
mov ecx, edi
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov esi, eax
call fcn.00463b10
pop edi
mov eax, esi
pop esi
ret
xor eax, eax
mov edx, eax
mov ecx, edi
mov esi, eax
call fcn.00463b10
pop edi
mov eax, esi
pop esi
ret

Function at 0x465290
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x4e8c8c]
push esi
not eax
cmp eax, 0xffffffff
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
jne 0x4652bc
mov edx, 0x445670
mov ecx, 0x4e8c8c
call fcn.00460f90
test al, al
jne 0x4652c5
pop edi
xor eax, eax
pop esi
ret
push eax
call edi
mov esi, eax
test esi, esi
jne 0x46531e
push 0x493e4
call fcn.00409fa0
mov esi, eax
mov eax, dword [0x4e8c8c]
add esp, 4
push esi
not eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [0x4e8c90], 0
je 0x46531e
test esi, esi
je 0x46531e
call fcn.00460e40
mov eax, dword [0x4e8c98]
not eax
push eax
call edi
test eax, eax
je 0x465311
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x46530d
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x46531e
mov edx, dword [0x4e8c90]
mov ecx, esi
call fcn.00462af0
pop edi
mov eax, esi
pop esi
ret

Function at 0x465fe0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x404
push edi
mov edi, ecx
mov ecx, dword [edi]
cmp ecx, 0xffffffff
jne 0x46600c
mov ecx, 0x4e8c7c
call fcn.00465160
mov dword [eax], 8
xor al, al
pop edi
add esp, 0x404
ret 8
push esi
mov esi, dword [esp + 0x414]
mov eax, dword [esi]
test eax, eax
je 0x46607d
push ebx
mov ebx, dword [esp + 0x414]
push ebx
lea ebx, [esp + 0x10]
push ebx
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
pop ebx
jne 0x46607d
mov ecx, 0x4e8c7c
call fcn.00465160
mov dword [eax], 5
mov edx, dword [edi + 0x4c]
push edx
lea eax, [esp + 0x10]
push str.Win32_Read____s
push eax
call fcn.0044aaf0
add esp, 0xc
push 1
mov edx, eax
mov ecx, 5
call fcn.00465f80
pop esi
xor al, al
pop edi
add esp, 0x404
ret 8
pop esi
mov al, 1
pop edi
add esp, 0x404
ret 8
Function at 0x466090
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x404
push edi
mov edi, ecx
mov ecx, dword [edi]
cmp ecx, 0xffffffff
jne 0x4660bc
mov ecx, 0x4e8c7c
call fcn.00465160
mov dword [eax], 8
xor al, al
pop edi
add esp, 0x404
ret 8
push esi
mov esi, dword [esp + 0x414]
cmp dword [esi], 0
je 0x466132
push ebx
mov ebx, dword [esp + 0x414]
push ebx
mov byte [edi + 8], 0
mov eax, dword [esi]
lea ebx, [esp + 0x10]
push ebx
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
pop ebx
jne 0x466132
mov ecx, 0x4e8c7c
call fcn.00465160
mov dword [eax], 6
mov edx, dword [edi + 0x4c]
push edx
lea eax, [esp + 0x10]
push str.Win32_Write____s
push eax
call fcn.0044aaf0
add esp, 0xc
push 1
mov edx, eax
mov ecx, 6
call fcn.00465f80
pop esi
xor al, al
pop edi
add esp, 0x404
ret 8
pop esi
mov al, 1
pop edi
add esp, 0x404
ret 8
Function at 0x4697e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push 0x90
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x94
call fcn.0048cb00
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x469832
cmp dword [esp + 4], 5
jb 0x469832
mov dword [0x4df3a4], fcn.00465fe0
mov dword [0x4df3a8], 0x466090
add esp, 0x94
ret
push 0x4e3f60
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4e3f54], 0x4e3f60
mov dword [0x4df3a4], 0x467170
mov dword [0x4df3a8], 0x467260
add esp, 0x94
ret
Function at 0x471160
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, 0x2010
call fcn.0048c610
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x1c]
xor ebp, ebp
push ebp
push 0x2000
lea eax, [esp + 0x24]
lea ebx, [edi + 0x1c]
push eax
push ecx
call sub.WS2_32.dll_recv
mov esi, eax
call fcn.00451bf0
cmp esi, ebp
mov dword [edi + 0x8c], eax
jg 0x4711c6
cmp esi, 0xffffffff
jne 0x4711b0
mov ecx, 0x1b5a
call fcn.004448d0
cmp eax, 0x2329
je 0x4711c4
xor dl, dl
mov ecx, ebx
call fcn.00449db0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2010
ret
xor esi, esi
mov eax, dword [edi + 0x70]
cmp eax, ebp
lea edx, [esp + 0x1c]
mov dword [esp + 0x10], edx
je 0x471237
cmp esi, ebp
jne 0x4711df
mov dword [esp + 0x10], eax
jmp 0x471231
mov edx, dword [edi + 0x74]
push ebp
push 0xae4
push str..SourceGlueConn_test.cpp
push ebp
add edx, esi
lea ecx, [esp + 0x28]
call fcn.004496c0
mov ebx, dword [eax]
mov eax, dword [edi + 0x74]
mov edx, dword [edi + 0x70]
push eax
mov ecx, ebx
mov dword [esp + 0x14], ebx
call fcn.00444cf0
mov ecx, dword [edi + 0x74]
push esi
add ecx, ebx
lea edx, [esp + 0x20]
call fcn.00444cf0
mov ecx, dword [edi + 0x70]
push ebp
push 0xae8
push str..SourceGlueConn_test.cpp
xor edx, edx
call fcn.00444690
mov dword [edi + 0x70], ebp
mov dword [edi + 0x74], ebp
cmp esi, ebp
jbe 0x471320
call fcn.00451b10
mov ebp, eax
xor eax, eax
push eax
push esi
mov ebx, edx
push ebx
push ebp
mov ecx, 0x4e9420
call fcn.00470a70
xor eax, eax
push eax
push esi
push ebx
push ebp
mov ecx, 0x4e9118
call fcn.00470ba0
xor eax, eax
push eax
push esi
push ebx
push ebp
mov ecx, 0x4e92c0
call fcn.00470cd0
xor eax, eax
push eax
push esi
push ebx
push ebp
mov ecx, 0x4e9378
call fcn.00470e00
xor eax, eax
push eax
push esi
push ebx
push ebp
mov ecx, 0x4e9198
call fcn.00470f30
mov eax, dword [edi + 0x68]
test eax, eax
mov dword [esp + 0x14], esi
je 0x4712ff
cmp byte [0x4dfcfc], 0
je 0x4712ff
mov ebx, dword [esp + 0x10]
mov edx, dword [edi + 0x64]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi]
push ebx
push edx
push 4
lea edx, [edi + 0x24]
call eax
mov eax, dword [esp + 0x14]
cmp esi, eax
jbe 0x471303
push 0
push 0xb12
sub esi, eax
push str..SourceGlueConn_test.cpp
push 0
mov edx, esi
lea ecx, [esp + 0x20]
mov dword [edi + 0x74], esi
call fcn.004496c0
mov ecx, dword [eax]
mov eax, dword [edi + 0x74]
mov edx, dword [esp + 0x14]
push eax
add edx, ebx
mov dword [edi + 0x70], ecx
call fcn.00444cf0
jmp 0x471303
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
cmp ebx, eax
je 0x471320
push 0
push 0xb17
push str..SourceGlueConn_test.cpp
xor edx, edx
mov ecx, ebx
call fcn.00444690
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2010
ret
Function at 0x471ac0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebx, ecx
push esi
mov esi, dword [ebx + 0x6c]
mov eax, dword [esi + 4]
test eax, eax
push edi
mov dword [esp + 0x10], ebx
je 0x471ae1
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 3
jne 0x471ae6
call fcn.0048c48f
mov eax, dword [esi + 4]
test eax, eax
mov ebp, dword [eax]
je 0x471af9
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 3
jne 0x471afe
call fcn.0048c48f
mov eax, dword [esi + 4]
mov edi, dword [eax + 4]
mov ecx, dword [ebx + 0x1c]
push 0
lea eax, [ebx + 0x1c]
push edi
push ebp
push ecx
mov dword [esp + 0x24], eax
call sub.WS2_32.dll_send
mov ebx, eax
call fcn.00451bf0
cmp ebx, 0xffffffff
mov edx, dword [esp + 0x10]
mov dword [edx + 0x90], eax
jne 0x471b55
mov ecx, 0x1b59
call fcn.004448d0
cmp eax, 0x2329
je 0x471c0d
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor dl, dl
pop ebx
add esp, 0xc
jmp fcn.00449db0
cmp ebx, edi
jl 0x471be4
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x471b6d
call fcn.0048c48f
cmp edi, dword [esi + 8]
jb 0x471b74
call fcn.0048c48f
mov ecx, dword [edi]
xor ebx, ebx
push ebx
push 0xa9e
push str..SourceGlueConn_test.cpp
xor edx, edx
call fcn.00444690
mov edi, dword [esi + 4]
cmp edi, dword [esi + 8]
jbe 0x471b97
call fcn.0048c48f
push edi
push esi
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00471690
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x471bc3
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 3
jne 0x471c0d
cmp eax, ebx
je 0x471bc3
push eax
call fcn.00409f10
add esp, 4
push esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00409f10
mov edx, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
mov dword [edx + 0x6c], ebx
pop ebx
add esp, 0xc
ret
sub edi, ebx
push edi
lea edx, [ebx + ebp]
mov ecx, ebp
call fcn.00444cf0
mov eax, dword [esi + 4]
test eax, eax
je 0x471c02
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 3
jne 0x471c07
call fcn.0048c48f
mov esi, dword [esi + 4]
sub dword [esi + 4], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x473c30
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.004730b0
test eax, eax
mov dword [esp + 0xc], eax
je 0x473d3a
push esi
mov ecx, eax
call fcn.0046f890
mov esi, eax
test esi, esi
je 0x473d39
add dword [0x4e9088], 1
mov dword [esi + 0x64], edi
lea edi, [esi + 0x24]
push 0
mov edx, 0x20
mov ecx, edi
mov dword [esi + 0x68], ebx
call fcn.00444d30
mov edx, dword [esp + 0x2c]
push 0x10
mov ecx, edi
call fcn.00444cf0
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x34]
push ecx
push ebx
mov dword [esp + 0x18], 0x10
call sub.WS2_32.dll_getsockname
cmp dword [esi + 0x28], 0
jne 0x473cbe
lea edx, [esp + 0x14]
xor ecx, ecx
call fcn.00455110
test al, al
je 0x473cbe
mov edx, dword [esp + 0x18]
mov dword [esi + 0x38], edx
mov ecx, esi
call fcn.0046f380
mov ecx, ebx
call fcn.00444890
mov eax, dword [esi + 0x68]
test eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], 5
je 0x473cf6
cmp byte [0x4dfcfc], 0
je 0x473cf6
mov ecx, dword [esi + 0x64]
push 0
push 0
push ecx
mov ecx, dword [esi]
push 1
mov edx, edi
call eax
mov ecx, 0x4e90d4
call fcn.00444610
mov ecx, dword [0x4e906c]
lea edx, [esp + 0x10]
push edx
call fcn.004167a0
mov ecx, 0x4e90d4
call fcn.00444620
mov ecx, 0x4e9180
call fcn.00444610
add dword [esi + 0xc], 0xffffffff
sub dword [0x4e9068], 1
mov ecx, 0x4e9180
call fcn.00444620
pop esi
pop edi
pop ebx
add esp, 0x18
ret 8