joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477a90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x512740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov esi, dword [esp + 0x30]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push esi
mov dword [esp + 0x2c], 1
call fcn.00401a40
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x34]
add edi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
push edi
mov byte [esp + 0x30], 2
call fcn.00401a40
add eax, 0x10
mov dword [ebx], eax
add esp, 4
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x30], 1
call fcn.00477890
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov ebx, esp
push eax
mov byte [esp + 0x2c], 3
call fcn.00401a40
add eax, 0x10
mov dword [ebx], eax
mov ecx, dword [0x55cd0c]
add esp, 4
call fcn.004a7620
call fcn.004ed8c0
mov ebx, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x477b56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x24], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x477b72
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x477b91
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 8
Function at 0x4781a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x512810
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x3c]
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push ebp
mov dword [esp + 0x2c], 1
call fcn.00401a40
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x40]
add edi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
push edi
mov byte [esp + 0x30], 2
call fcn.00401a40
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add eax, 0x10
mov dword [ebx], eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.0047a250
mov edx, dword [esp + 0x40]
push 0x32
mov ecx, esi
mov byte [esp + 0x28], 3
mov dword [esi], 0x530920
mov dword [esi + 0x20], 0x53090c
mov dword [esi + 0x3d8], edx
call fcn.00479f80
mov byte [esp + 0x24], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478266
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478286
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x18
Function at 0x4785a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x512860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x3c]
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push ebp
mov dword [esp + 0x2c], 1
call fcn.00401a40
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x40]
add edi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
push edi
mov byte [esp + 0x30], 2
call fcn.00401a40
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add eax, 0x10
mov dword [ebx], eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.0047a250
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
xor bl, bl
push str.button
mov byte [esp + 0x30], 3
mov dword [esi], 0x5309d0
mov dword [esi + 0x20], 0x5309bc
mov byte [esi + 0x3d8], bl
call fcn.00402110
mov edx, dword [0x55cd0c]
mov ecx, dword [edx + 0x874]
call fcn.004960f0
push eax
mov ecx, esi
call fcn.0047a000
push 0x100
mov ecx, esi
call fcn.00479f80
mov dword [esi + 0x1d0], 5
mov byte [esp + 0x24], bl
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47869c
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4786bc
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x14
Function at 0x478b10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5128f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x3c]
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push ebp
mov dword [esp + 0x2c], 1
call fcn.00401a40
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x40]
add edi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
push edi
mov byte [esp + 0x30], 2
call fcn.00401a40
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add eax, 0x10
mov dword [ebx], eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.004785a0
push 0x5245f0
lea ecx, [esi + 0x3e0]
mov byte [esp + 0x28], 3
mov dword [esi], 0x530c40
mov dword [esi + 0x20], 0x530c30
call fcn.00402110
mov byte [esp + 0x24], 0
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x478bd3
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x478bf3
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x14

Function at 0x4791d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x512968
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
push 1
push eax
push ecx
push edx
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x50], esp
mov edi, esp
push ebp
mov dword [esp + 0x30], 1
call fcn.00401a40
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x44]
add edi, 0xfffffff0
mov dword [esp + 0x50], esp
mov ebx, esp
push edi
mov byte [esp + 0x34], 2
call fcn.00401a40
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add eax, 0x10
mov dword [ebx], eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call fcn.00479730
mov edx, dword [esp + 0x40]
mov dword [esi], 0x531dc8
mov dword [esi + 0x20], 0x531db8
mov dword [esi + 0x3e8], edx
mov byte [esp + 0x18], 0
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x479292
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov dword [esp + 0x18], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4792b2
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x24
Function at 0x47a000
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x512a66
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x5c]
xor ebp, ebp
cmp eax, ebp
je 0x47a032
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esi + 0x208]
lea ecx, [esi + 0x208]
mov dword [esp + 0x10], ecx
call dword [eax + 0x5c]
cmp eax, ebp
je 0x47a052
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
push 0x140
mov byte [esi + 0x1c9], 1
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov dword [esp + 0x20], ebp
je 0x47a08a
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x90]
mov ecx, dword [edx]
push ecx
mov ecx, eax
call fcn.0049d0c0
mov edi, eax
jmp 0x47a08c
xor edi, edi
sub esp, 0x10
mov eax, 0x19
mov ebx, esp
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebx + 4], ecx
mov edx, eax
mov dword [ebx + 8], edx
mov ecx, edi
mov dword [esp + 0x30], 0xffffffff
mov dword [ebx + 0xc], ebp
call fcn.0049db60
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x58]
mov ebx, 1
push 0x140
mov byte [esi + 0x3d1], bl
call fcn.004fd765
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x20], ebx
je 0x47a0f9
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x90]
mov ecx, dword [edx + 4]
push ecx
mov ecx, eax
call fcn.0049d0c0
mov esi, eax
jmp 0x47a0fb
xor esi, esi
sub esp, 0x10
mov eax, 0x19
mov ebx, esp
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebx + 4], ecx
mov edx, eax
mov dword [ebx + 8], edx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
mov dword [ebx + 0xc], edi
call fcn.0049db60
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push esi
call dword [edx + 0x58]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4
Function at 0x47b6b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x512bd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x3c]
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push ebp
mov dword [esp + 0x2c], 1
call fcn.00401a40
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x40]
add edi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
push edi
mov byte [esp + 0x30], 2
call fcn.00401a40
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add eax, 0x10
mov dword [ebx], eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.004785a0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push 0x32
mov ecx, esi
mov byte [esp + 0x28], 3
mov dword [esi], 0x532758
mov dword [esi + 0x20], 0x532744
mov dword [esi + 0x3e0], edx
mov dword [esi + 0x3e4], eax
call fcn.00479f80
mov dword [esi + 0x1d0], 6
mov byte [esp + 0x24], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b78a
mov ecx, dword [edi]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47b7aa
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x1c
Function at 0x47bd90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x512c6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov ebp, dword [esp + 0x3c]
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push ebp
mov dword [esp + 0x2c], 1
call fcn.00401a40
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x40]
add edi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
push edi
mov byte [esp + 0x30], 2
call fcn.00401a40
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add eax, 0x10
mov dword [ebx], eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
mov byte [esp + 0x38], 1
call fcn.0047a250
push str.__________._0123456789:_____ABCDEFGHIJKLMNOPQRSTUVWXYZ___abcdefghijklmnopqrstuvwxyz
lea ecx, [esi + 0x3d8]
mov byte [esp + 0x28], 3
mov dword [esi], 0x532808
mov dword [esi + 0x20], 0x5327f8
call fcn.00402110
mov ebx, dword [esp + 0x40]
push ebx
lea ecx, [esi + 0x3dc]
mov byte [esp + 0x28], 4
call fcn.00402110
mov edx, dword [esp + 0x44]
xor al, al
mov byte [esi + 0x3e8], al
mov byte [esp + 0x24], al
mov dword [esi + 0x3e0], edx
mov dword [esi + 0x3e4], ebx
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47be7f
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47be9f
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x1c
Function at 0x47c390
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x512cf8
push eax
mov dword fs:[0], esp
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
push 1
push eax
push ecx
push edx
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x50], esp
mov edi, esp
push ebp
mov dword [esp + 0x30], 1
call fcn.00401a40
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x44]
add edi, 0xfffffff0
mov dword [esp + 0x50], esp
mov ebx, esp
push edi
mov byte [esp + 0x34], 2
call fcn.00401a40
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add eax, 0x10
mov dword [ebx], eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call fcn.00479730
mov dword [esi], 0x532960
mov dword [esi + 0x20], 0x53294c
mov byte [esp + 0x18], 0
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x47c448
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov dword [esp + 0x18], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47c468
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x20

Function at 0x47d0d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x512db8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004947e0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
lea edi, [esi + 0x1d0]
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x1e4], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x1f0], eax
cmp dword [esi + 0x7c], ebx
mov dword [esi + 0x1e0], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x18], 0
mov dword [esi], 0x532ab8
mov dword [esi + 0x20], 0x532aa4
mov dword [esi + 0x1e8], ecx
mov dword [esi + 0x1ec], edx
mov byte [esi + 0x49], 1
je 0x47d16f
mov ecx, esi
mov dword [esi + 0x7c], ebx
call dword [0x532b0c]
test ebx, ebx
mov eax, esi
je 0x47d185
fld dword [ebx + 0x110]
fmul dword [0x51f8dc]
fadd dword [edi]
fstp dword [edi]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24
Function at 0x47ff60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x512fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x30]
lea ebp, [esi - 0x10]
xor edi, edi
push ebp
mov dword [esp + 0x2c], edi
call fcn.00401a40
add eax, 0x10
add esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [esi - 0xc]
test eax, eax
mov byte [esp + 0x28], 1
jl 0x48006c
push 0x53304c
push esi
call fcn.004edf73
add esp, 8
test eax, eax
je 0x48006c
sub eax, esi
mov esi, eax
js 0x48006c
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.0041f7e0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0041f9b0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48000d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc esi
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.00422d70
mov esi, dword [esp + 0x14]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push esi
mov byte [esp + 0x30], 3
call fcn.00401a40
add eax, 0x10
mov dword [edi], eax
mov ecx, dword [0x55cd0c]
add esp, 4
call fcn.004a7620
call fcn.004ed8c0
mov byte [esp + 0x28], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
mov edi, eax
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48006c
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov esi, dword [esp + 0xc]
push edi
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push esi
call fcn.00401a40
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x24]
add esp, 4
mov ecx, edi
call fcn.0047fe00
mov byte [esp + 0x28], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4800b0
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4800d0
mov ecx, dword [ebp]
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x20
ret 4
Function at 0x480a50
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x198
mov eax, dword [0x5594e8]
xor eax, dword [esp + 0x198]
push str.Starting...
push str.NetConnection::initWSA
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push str._s__:__s
mov dword [esp + 0x1a4], eax
call fcn.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
add esp, 0x10
lea edx, [esp + 4]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x480aea
push 0xb3
push str.gameNetConnection.cpp
push str.NetConnection::initWSA
push str.WSAStartup_versionRequested___wsaData_0
push str.Assertion_failed.
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x51fa70
call fcn.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x860]
push ecx
call fcn.0044ce20
add esp, 0x1c
mov ax, word [esp + 4]
cmp al, 1
jne 0x480af7
cmp ah, al
je 0x480b36
push 0xb4
push str.gameNetConnection.cpp
push str.NetConnection::initWSA
push str.LOBYTE_wsaData.wVersion___1__HIBYTE__wsaData.wVersion___1
push str.Assertion_failed.
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x51fa70
call fcn.00402110
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x860]
push eax
call fcn.0044ce20
add esp, 0x1c
push str.Done.
push str.NetConnection::initWSA
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push str._s__:__s
call fcn.00402110
mov ecx, dword [0x55cd0c]
mov edx, dword [ecx + 0x85c]
push edx
call fcn.00475320
mov ecx, dword [esp + 0x1a4]
xor ecx, dword [esp + 0x1a8]
add esp, 0x1a8
jmp fcn.004ecf23
Function at 0x480bf0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x513080
push eax
mov eax, dword [0x55cd0c]
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov ecx, dword [eax + 0x878]
call fcn.004a65e0
mov esi, dword [esp + 0x20]
mov al, byte [esi + 0x78]
fstp qword [esi + 0x90]
test al, al
je 0x480c3b
mov eax, dword [esi + 0xb8]
sub eax, dword [esi + 0xb4]
jmp 0x480c41
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xb4]
push 0x10
lea edx, [esp + 0x28]
push edx
push 0
push eax
mov eax, dword [edi + 0x200]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x480d27
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00480380
add esp, 8
mov edx, dword [eax]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.WARNING:_sendto___failed_with_error__s.
mov dword [esp + 0x24], 0
call fcn.00402110
mov ecx, dword [0x55cd0c]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.004a7680
add esp, 0x10
mov edx, dword [eax]
push edx
push str.NetConnection::sendRaw
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov byte [esp + 0x28], 1
call fcn.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x18], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x480d01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x480d27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, edi
call fcn.00480240
mov ecx, dword [eax + 0x78]
add eax, 0x78
inc ecx
mov dword [eax], ecx
mov ecx, edi
call fcn.00480240
mov cl, byte [esi + 0x78]
add eax, 0x80
test cl, cl
je 0x480d58
mov ecx, dword [esi + 0xb8]
sub ecx, dword [esi + 0xb4]
jmp 0x480d5e
mov ecx, dword [esi + 0xb0]
mov edx, dword [eax]
add ecx, 0x1c
add edx, ecx
mov ecx, edi
mov dword [eax], edx
call fcn.00480240
mov cl, byte [esi + 0x78]
add eax, 0x88
test cl, cl
je 0x480da1
mov ecx, dword [esi + 0xb8]
mov edi, dword [esi + 0xb4]
mov edx, dword [eax]
sub ecx, edi
add edx, ecx
mov dword [eax], edx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x14
ret 0x14
mov esi, dword [esi + 0xb0]
add dword [eax], esi
mov ecx, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x14