Function at 0x47e083
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x2c
call fcn.00512069
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x47e11c
mov eax, 0x643042
push eax
push 3
mov ebx, 0x5154c0
call fcn.00512081
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x47e146
mov eax, 0
jmp 0x47fb7b
push 0x80000301
push 0
push 0x40
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x515740
call fcn.00512081
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47e185
push ebx
call fcn.0051206f
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x47e19c
mov eax, 0x643053
push eax
push 1
mov ebx, 0x512750
call fcn.00512081
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x40
jne 0x47f1b2
mov dword [ebp - 0x30], esp
push 0xffffffff
mov eax, dword [ebp - 8]
test eax, eax
je 0x47e1ce
add eax, 8
push eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x47e1d9
add eax, 8
push eax
mov eax, 0x87
call fcn.0051207b
cmp dword [ebp - 0x30], esp
je 0x47e200
push 0x13e
push 0x402f347
push 6
call fcn.00512075
add esp, 0xc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0x40
push dword [ebp - 0x34]
mov eax, dword [0x1045ccc]
push eax
push 0x40
call fcn.00512069
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 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 eax, 0x88
call fcn.0051207b
cmp dword [ebp - 0x38], esp
je 0x47e33b
push 0x13e
push 0x402f347
push 6
call fcn.00512075
add esp, 0xc
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
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.00512063
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 0x47e40b
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x47e409
imul eax, dword [edi]
jmp 0x47e3fe
mov ecx, eax
cmp ecx, 4
jle 0x47e415
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.00512063
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 0x47e468
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x47e466
imul eax, dword [edi]
jmp 0x47e45b
mov ecx, eax
cmp ecx, 0xa
jle 0x47e472
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.0051206f
add esp, 4
mov ebx, dword [0x1045ccc]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp word [ebx], 0x5a4d
jne 0x47f1b2
mov ebx, dword [0x1045ccc]
add ebx, 0x48
mov dword [ebp - 0x30], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x5156e0
call fcn.00512081
add esp, 0x28
push 0x80000301
push 0
push 0xf8
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x515740
call fcn.00512081
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47e528
push ebx
call fcn.0051206f
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x47e53f
mov eax, 0x643053
push eax
push 1
mov ebx, 0x512750
call fcn.00512081
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xf8
jne 0x47f1b2
mov dword [ebp - 0x30], esp
push 0xffffffff
mov eax, dword [ebp - 8]
test eax, eax
je 0x47e574
add eax, 8
push eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x47e57f
add eax, 8
push eax
mov eax, 0x87
call fcn.0051207b
cmp dword [ebp - 0x30], esp
je 0x47e5a6
push 0x28e
push 0x402f347
push 6
call fcn.00512075
add esp, 0xc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0xf8
push dword [ebp - 0x34]
mov eax, dword [0x1045cd0]
push eax
push 0xf8
call fcn.00512069
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 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 0x47e76e
pop ebx
add ebx, 4
pop ebx
add ebx, 4
mov eax, 0x89
call fcn.0051207b
cmp dword [ebp - 0x38], esp
je 0x47e7c0
push 0x28e
push 0x402f347
push 6
call fcn.00512075
add esp, 0xc
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
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 0x47e96d
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
call fcn.0051206f
add esp, 4
mov ebx, dword [0x1045cd0]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 0x4550
jne 0x47f1b2
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.0040207e
mov eax, 1
cmp eax, ecx
jl 0x47e9f9
push 0x30f
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 0
jle 0x47f1b2
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], 1
mov ebx, dword [ebp - 0x30]
mov ax, word [ebx]
cwde
cmp eax, 0
jge 0x47ea4b
push 0x354
push 0x402f347
push 0xa
call fcn.00512075
add esp, 0xc
mov dword [ebp - 0x34], eax
lea ebx, [ebp - 0x38]
call fcn.0040207e
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00512069
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x34]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [0x1045cd4]
call fcn.0040207e
pop edx
test ecx, ecx
je 0x47eab3
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0051206f
add esp, 4
pop ebx
call fcn.0051206f
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x47ea8f
pop edx
pop edi
test edx, edx
je 0x47eb05
mov ebx, edi
push edx
push ebx
push 0x28
call fcn.00512069
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 0x10
call fcn.00512069
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x725a2e
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
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x47eabd
push dword [0x1045cd4]
call fcn.0051206f
add esp, 4
pop eax
mov dword [0x1045cd4], eax
mov ebx, dword [0x1045ccc]
add ebx, 0x48
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x725a36]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00401480
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x5156e0
call fcn.00512081
add esp, 0x28
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fmul qword [0x725a3e]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
call fcn.00401480
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x515740
call fcn.00512081
add esp, 0x1c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47ebdf
push ebx
call fcn.0051206f
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x47ebf6
mov eax, 0x643053
push eax
push 1
mov ebx, 0x512750
call fcn.00512081
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fmul qword [0x725a3e]
fstp qword [ebp - 0x44]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x44]
ftst
fnstsw ax
test ah, 1
je 0x47ec4e
fchs
fcomp qword [0x64305b]
fnstsw ax
test ah, 0x41
je 0x47f1b2
mov dword [ebp - 0x30], esp
push 0xffffffff
mov eax, dword [ebp - 8]
test eax, eax
je 0x47ec71
add eax, 8
push eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x47ec7c
add eax, 8
push eax
mov eax, 0x87
call fcn.0051207b
cmp dword [ebp - 0x30], esp
je 0x47eca3
push 0x4cc
push 0x402f347
push 6
call fcn.00512075
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x38]
mov ax, word [ebx]
cwde
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x40]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fmul qword [0x725a3e]
fstp qword [ebp - 0x48]
mov dword [ebp - 0x4c], esp
fld qword [ebp - 0x48]
call fcn.00401480
push eax
push dword [ebp - 0x34]
mov ebx, dword [0x1045cd4]
call fcn.0040207e
push ebx
mov dword [ebp - 0x50], ecx
test ecx, ecx
jne 0x47ecf7
xor eax, eax
jmp 0x47ed03
imul ecx, ecx, 0x28
push ecx
call fcn.00512069
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x47eda6
push ecx
push edi
push ebx
mov ebx, dword [ebx]
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
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 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 dword [edi], eax
add edi, 4
pop ebx
pop edi
pop ecx
dec ecx
je 0x47eda6
add ebx, 4
add edi, 0x28
jmp 0x47ed18
mov eax, 0x8a
call fcn.0051207b
cmp dword [ebp - 0x4c], esp
je 0x47edcc
push 0x4f6
push 0x402f347
push 6
call fcn.00512075
add esp, 0xc
mov ebx, dword [ebp - 0x54]
push ebx
mov edi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x47ee9b
push ecx
push edi
push ebx
mov edi, dword [edi]
push ebx
push edi
push 1
mov eax, 2
call fcn.00512063
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 0x47ee12
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x47ee10
imul eax, dword [edi]
jmp 0x47ee05
mov ecx, eax
cmp ecx, 8
jle 0x47ee1c
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
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 eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
pop edi
pop ecx
dec ecx
je 0x47ee9b
add ebx, 0x28
add edi, 4
jmp 0x47edde
call fcn.0051206f
add esp, 4
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov ax, word [ebx]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x47f1af
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 8]
add ebx, 0x18
mov dword [ebp - 0x30], ebx
mov ebx, dword [0x1045cd4]
call fcn.0040207e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x47ef09
push 0x583
push 0x402f347
push 4
call fcn.00512075
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x47ef26
push 0x583
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], eax
jl 0x47f039
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 8]
add ebx, 0x18
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0x1045cd4]
call fcn.0040207e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x47ef7c
push 0x5f1
push 0x402f347
push 4
call fcn.00512075
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x47ef99
push 0x5f1
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x40], ebx
mov ebx, dword [0x1045cd4]
call fcn.0040207e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x47efd0
push 0x5f1
push 0x402f347
push 4
call fcn.00512075
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x47efed
push 0x5f1
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x40]
fild dword [ebx]
fstp qword [ebp - 0x4c]
fld qword [ebp - 0x4c]
mov ebx, dword [ebp - 0x44]
fild dword [ebx]
fstp qword [ebp - 0x54]
fadd qword [ebp - 0x54]
fstp qword [ebp - 0x5c]
mov ebx, dword [ebp - 0x3c]
fild dword [ebx]
fstp qword [ebp - 0x64]
fld qword [ebp - 0x64]
fsub qword [ebp - 0x5c]
fcomp qword [0x64305b]
fnstsw ax
test ah, 0x41
je 0x47f039
mov eax, 1
jmp 0x47f03e
mov eax, 0
test eax, eax
je 0x47f1a7
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 8]
add ebx, 0x18
mov dword [ebp - 0x30], ebx
mov ebx, dword [0x1045cd4]
call fcn.0040207e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x47f07f
push 0x67e
push 0x402f347
push 4
call fcn.00512075
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x47f09c
push 0x67e
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x34], ebx
mov ebx, dword [0x1045cd4]
call fcn.0040207e
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x47f0d3
push 0x67e
push 0x402f347
push 4
call fcn.00512075
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x47f0f0
push 0x67e
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
call fcn.00401480
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x5156e0
call fcn.00512081
add esp, 0x28
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x515740
call fcn.00512081
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47f19e
push ebx
call fcn.0051206f
add esp, 4
pop eax
mov dword [ebp - 8], eax
jmp 0x47f1af
pop eax
pop ebx
pop ecx
jmp 0x47eec2
add esp, 0xc
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.0040207e
mov eax, 0
cmp eax, ecx
jl 0x47f1e3
push 0x7b7
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 0
jle 0x47fb55
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.0040207e
mov eax, 0
cmp eax, ecx
jl 0x47f22d
push 0x81a
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
mov ebx, dword [0x1045cd0]
mov ebx, dword [ebx + 8]
mov ebx, dword [ebx + 0x78]
call fcn.0040207e
mov eax, 0
cmp eax, ecx
jl 0x47f268
push 0x854
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
push dword [ebx]
call fcn.0047fbaf
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.00401480
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x5156e0
call fcn.00512081
add esp, 0x28
push 0x80000301
push 0
push 0x28
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x515740
call fcn.00512081
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47f30d
push ebx
call fcn.0051206f
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x47f324
mov eax, 0x643053
push eax
push 1
mov ebx, 0x512750
call fcn.00512081
add esp, 0x10
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x28
jne 0x47fb55
mov dword [ebp - 0x30], esp
push 0xffffffff
mov eax, dword [ebp - 8]
test eax, eax
je 0x47f356
add eax, 8
push eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x47f361
add eax, 8
push eax
mov eax, 0x87
call fcn.0051207b
cmp dword [ebp - 0x30], esp
je 0x47f388
push 0x930
push 0x402f347
push 6
call fcn.00512075
add esp, 0xc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
push 0x28
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
push eax
push 0x28
call fcn.00512069
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
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
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, 0x8b
call fcn.0051207b
cmp dword [ebp - 0x38], esp
je 0x47f447
push 0x930
push 0x402f347
push 6
call fcn.00512075
add esp, 0xc
mov ebx, dword [ebp - 0x3c]
push ebx
mov edi, dword [ebp - 0x40]
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
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0051206f
add esp, 4
mov ebx, dword [ebp - 0x10]
add ebx, 0x10
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
cmp dword [ebx], 0
je 0x47fb55
mov ebx, dword [ebp - 0x10]
add ebx, 0x10
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0x10
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
push dword [ebx]
call fcn.0047fbaf
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.00401480
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x5156e0
call fcn.00512081
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0x14]
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x516490
call fcn.00512081
add esp, 0x1c
mov ebx, dword [ebp - 0x10]
add ebx, 0x28
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call fcn.0047fbaf
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x20
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
push dword [ebx]
call fcn.0047fbaf
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x1c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
xor ecx, ecx
push eax
lea eax, [ebp - 0x20]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x47fb52
mov ebx, dword [ebp - 0x10]
add ebx, 0x28
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [0x643203]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x58]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fsub qword [0x643203]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.00401480
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x5156e0
call fcn.00512081
add esp, 0x28
push 0x80000201
push 0
lea eax, [ebp - 0x24]
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x516490
call fcn.00512081
add esp, 0x1c
mov ebx, dword [ebp - 0x10]
add ebx, 0x20
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x48]
mov eax, dword [ebp - 0x24]
cwde
mov dword [ebp - 0x50], eax
fild dword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [0x643073]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x48]
fadd qword [ebp - 0x58]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
call fcn.00401480
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x5156e0
call fcn.00512081
add esp, 0x28
push 0x80000301
push 0
lea eax, [ebp - 0x28]
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x516490
call fcn.00512081
add esp, 0x1c
mov ebx, dword [ebp - 0x10]
add ebx, 0x24
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 0x24
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
push dword [ebx]
call fcn.0047fbaf
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fild dword [ebp - 0x20]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fmul qword [0x643073]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x50]
fadd qword [ebp - 0x60]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
fsub qword [0x643073]
fstp qword [ebp - 0x70]
fld qword [ebp - 0x70]
call fcn.00401480
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x5156e0
call fcn.00512081
add esp, 0x28
push 0x80000301
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x516490
call fcn.00512081
add esp, 0x1c
push dword [ebp - 0x2c]
call fcn.0047fbaf
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild dword [ebp - 0x30]
fstp qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.00401480
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x5156e0
call fcn.00512081
add esp, 0x28
push reloc.WS2_32.dll_connect
push 0
lea eax, [ebp - 0x14]
push eax
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x516490
call fcn.00512081
add esp, 0x1c
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.00402a64
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x38]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fadd qword [0x643194]
fstp qword [ebp - 0x40]
mov dword [ebp - 0x48], 1
fld qword [ebp - 0x40]
call fcn.00401480
cmp eax, 0
jge 0x47f88d
push 0xda3
push 0x402f347
push 0xa
call fcn.00512075
add esp, 0xc
mov dword [ebp - 0x44], eax
lea ebx, [ebp - 0x48]
call fcn.0040207e
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00512069
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x44]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040207e
pop edx
mov eax, ecx
cmp ecx, edx
jle 0x47f8ce
mov ecx, edx
sub eax, ecx
sub edx, ecx
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ebx, esi
mov ecx, eax
test ecx, ecx
je 0x47f90f
push edi
push edx
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x47f8fc
push ebx
call fcn.0051206f
add esp, 4
pop ebx
call fcn.0051206f
add esp, 4
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x47f8e4
pop edx
pop edi
test edx, edx
je 0x47f941
mov ebx, edi
push edx
push ebx
push 0x18
call fcn.00512069
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
pop ebx
pop edx
add ebx, 4
dec edx
jne 0x47f919
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.0051206f
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040207e
push ebx
push ecx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.00402a64
dec eax
jns 0x47f984
push 0xde1
push 0x402f347
push 4
call fcn.00512075
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x47f9a1
push 0xde1
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.00402a64
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040207e
push ebx
push ecx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.00402a64
dec eax
jns 0x47f9ed
push 0xe39
push 0x402f347
push 4
call fcn.00512075
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x47fa0a
push 0xe39
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x47fa33
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.00512069
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x34]
mov ebx, dword [ebx]
test ebx, ebx
je 0x47fa46
push ebx
call fcn.0051206f
add esp, 4
pop eax
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040207e
push ebx
push ecx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.00402a64
dec eax
jns 0x47fa7c
push 0xe7e
push 0x402f347
push 4
call fcn.00512075
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x47fa99
push 0xe7e
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.0040207e
push ebx
push ecx
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.00402a64
dec eax
jns 0x47fade
push 0xec3
push 0x402f347
push 4
call fcn.00512075
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x47fafb
push 0xec3
push 0x402f347
push 1
call fcn.00512075
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x28]
call fcn.0047fbaf
mov dword [ebp - 0x38], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fild dword [ebp - 0x38]
fstp qword [ebp - 0x48]
fsub qword [ebp - 0x48]
fstp qword [ebp - 0x50]
push 0x80000601
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push 1
mov ebx, 0x513260
call fcn.00512081
add esp, 0x10
mov ebx, dword [ebp - 0x34]
mov dword [ebx], eax
pop eax
pop ebx
pop ecx
jmp 0x47f5b3
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x515530
call fcn.00512081
add esp, 0x10
mov eax, 1
jmp 0x47fb7b
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x47fb8c
push ebx
call fcn.0051206f
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0051206f
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x47fba8
push ebx
call fcn.0051206f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8