Function at 0x52a00f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x1c
call fcn.0057c976
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
push 8
call fcn.0057c976
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 0xc
call fcn.0057c976
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
pop ebx
add ebx, 4
push ebx
push 0x10c
call fcn.0057c976
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x779172
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x41
rep stosd dword es:[edi], eax
push 0x4c
call fcn.0057c976
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
add ebx, 0x38
push ebx
push 0x10
call fcn.0057c976
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x77917a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0x1c
call fcn.0057c976
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x611d05
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
push 0xc
call fcn.0057c976
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
add ebx, 4
push ebx
push 0x1c
call fcn.0057c976
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
pop ebx
add ebx, 4
push ebx
push 0x7c
call fcn.0057c976
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1f
rep stosd dword es:[edi], eax
add ebx, 0x78
push ebx
push 0x48
call fcn.0057c976
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x611e41
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 0x10
push ecx
push ebx
push 8
call fcn.0057c976
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x52a1bb
pop ebx
pop ebx
mov dword [ebp - 0x24], 0
push dword [ebp + 8]
call fcn.004f88ef
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x52a208
jmp 0x52ad85
mov dword [ebp - 8], 0x1000
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x14]
push eax
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
push dword [ebp - 4]
call dword [0xdc21d3]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x52a24f
push 0x108
push 0x401f720
push 6
call fcn.0057c982
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x52ad45
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0
jle 0x52acb8
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x14]
push eax
push 0x108
mov eax, dword [ebp - 0x18]
push eax
push 0x10c
call fcn.0057c976
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push 2
push dword [ebp - 8]
push dword [ebp - 4]
call dword [0xdc21d7]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x52a306
push 0x1d8
push 0x401f720
push 6
call fcn.0057c982
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.0057d670
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x52a36c
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x52a36a
imul eax, dword [edi]
jmp 0x52a35f
mov ecx, eax
cmp ecx, 0x104
jle 0x52a379
mov ecx, 0x104
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x104
call fcn.0057c97c
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x52acb8
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], esp
push 0
push 0x40
mov eax, dword [ebp - 0x1c]
push eax
push 0x40
call fcn.0057c976
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ebx, dword [ebp - 0x28]
push dword [ebx]
push dword [ebp - 4]
call dword [0xdc21db]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x52a4e7
push 0x250
push 0x401f720
push 6
call fcn.0057c982
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x30]
push ebx
mov edi, dword [ebp - 0x34]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.0057d670
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x52a5b8
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x52a5b6
imul eax, dword [edi]
jmp 0x52a5ab
mov ecx, eax
cmp ecx, 4
jle 0x52a5c2
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.0057d670
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x52a615
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x52a613
imul eax, dword [edi]
jmp 0x52a608
mov ecx, eax
cmp ecx, 0xa
jle 0x52a61f
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x14
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0057c97c
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp word [ebx], 0x5a4d
jne 0x52acb8
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x1c]
add ebx, 0x48
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
mov dword [ebp - 0x48], esp
push 0
push 0xf8
mov eax, dword [ebp - 0x20]
push eax
push 0xf8
call fcn.0057c976
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ecx, 0x10
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x52a844
pop ebx
add ebx, 4
pop ebx
add ebx, 4
fld qword [ebp - 0x44]
call fcn.004e3fba
push eax
push dword [ebp - 4]
call dword [0xdc21df]
nop
nop
nop
nop
cmp dword [ebp - 0x48], esp
je 0x52a8a2
push 0x2eb
push 0x401f720
push 6
call fcn.0057c982
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x4c]
push ebx
mov edi, dword [ebp - 0x50]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x14
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 0x10
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 8
dec ecx
jne 0x52aa50
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
call fcn.0057c97c
add esp, 4
pop eax
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0x4550
jne 0x52acb8
mov ebx, dword [ebp - 0x18]
add ebx, 4
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x28]
call fcn.0052ae6d
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x52aad1
push ebx
call fcn.0057c97c
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x52aae8
mov eax, 0x611cd5
push eax
push 1
mov ebx, 0x154
call fcn.0057ef30
add esp, 0x10
mov dword [ebp - 0x28], eax
push getpeername
push 0
push str.Game_EC.fne
push 1
mov ebx, 0x154
call fcn.0057ef30
add esp, 0x10
mov dword [ebp - 0x2c], eax
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push getpeername
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x52ab44
mov eax, 0x611cd5
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x52ab58
mov eax, 0x611cd5
push eax
push 4
mov ebx, 0x148
call fcn.0057e780
add esp, 0x34
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x52ab7e
push ebx
call fcn.0057c97c
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x52ab8e
push ebx
call fcn.0057c97c
add esp, 4
cmp dword [ebp - 0x30], 0xffffffff
je 0x52ac02
push reloc.oleaut32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push getpeername
push 0
push 0x77916e
push getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x52abc9
mov eax, 0x611cd5
push eax
push 4
mov ebx, 0x148
call fcn.0057e780
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x52abf3
jmp 0x52ad59
push 0
call fcn.0057c9a6
add esp, 4
jmp 0x52ad59
mov ebx, dword [ebp - 0x10]
add ebx, 0x18
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x28]
cmp dword [ebx], 0x1000000
jne 0x52acb8
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x28], ebx
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fadd qword [ebp - 0x3c]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.004e3fba
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x20]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x28], ebx
push 0x80000601
push 0x40b00000
push 0
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 2
mov ebx, 0x48
call fcn.0057dd60
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild dword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.004e3fba
mov dword [ebp - 8], eax
jmp 0x52ad4c
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x28], ebx
fild dword [ebp - 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x38]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.004e3fba
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x28], ebx
push 0x80000601
push 0x40b00000
push 0
mov ebx, dword [ebp - 0x28]
fild dword [ebx]
fstp qword [ebp - 0x30]
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 2
mov ebx, 0x48
call fcn.0057dd60
add esp, 0x1c
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
fild dword [ebp - 8]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fadd qword [ebp - 0x38]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.004e3fba
mov dword [ebp - 8], eax
jmp 0x52ad4c
add dword [ebp - 8], 0x1000
cmp dword [ebp - 8], 0x7fff0000
jne 0x52a20f
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x52ad85
push 0x91d
push 0x401f720
push 6
call fcn.0057c982
add esp, 0xc
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0057c97c
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0057c97c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0057c97c
add esp, 4
pop ebx
call fcn.0057c97c
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0057c97c
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0057c97c
add esp, 4
pop ebx
call fcn.0057c97c
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0057c97c
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x78
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x52ae22
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x52ae1e
imul eax, dword [ebx]
jmp 0x52ae13
mov ecx, eax
test ecx, ecx
je 0x52ae3d
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0057c97c
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x52ae28
call fcn.0057c97c
add esp, 4
pop ebx
call fcn.0057c97c
add esp, 4
pop ebx
call fcn.0057c97c
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x52ae67
push ebx
call fcn.0057c97c
add esp, 4
mov esp, ebp
pop ebp
ret 4