Function at 0x4c9316
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.006577e0
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x10], 0
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
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
push dword [ebp + 8]
call fcn.0043fde5
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x4c94a0
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.00440417
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4c9435
mov eax, 6
jmp 0x4c9df4
push 1
push 0x14a
push 1
push 0xdc
call fcn.004274e8
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x65c390
call fcn.006577e6
add esp, 0x10
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.00440729
push 1
push 0x190
push 1
push 0xfa
call fcn.004274e8
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x65c390
call fcn.006577e6
add esp, 0x10
push 0xb04c2f
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004026fe
add esp, 8
cmp eax, 0
jne 0x4c94ce
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0x67
jmp 0x4c9581
push 0xaf8df0
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004026fe
add esp, 8
cmp eax, 0
jne 0x4c94fc
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x14], 0x67
jmp 0x4c9581
push 0xb051e5
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004026fe
add esp, 8
cmp eax, 0
jne 0x4c952a
mov dword [ebp - 0x10], 3
mov dword [ebp - 0x14], 0x67
jmp 0x4c9581
push 0xaf5d5b
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004026fe
add esp, 8
cmp eax, 0
jne 0x4c9558
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 0x67
jmp 0x4c9581
push 0xb051ea
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.004026fe
add esp, 8
cmp eax, 0
jne 0x4c9581
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x14], 1
mov ebx, dword [0xbcfe3c]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp + 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x74]
push dword [ebx]
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fild dword [0xbcfe2c]
fstp qword [ebp - 0x80]
fadd qword [ebp - 0x80]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fild dword [0xbcfe34]
fstp qword [ebp - 0x80]
fadd qword [ebp - 0x80]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
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 0x4c9de9
fild dword [ebp - 0x20]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fsub qword [0x72c285]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
fmul qword [0x84d97c]
fstp qword [ebp - 0x88]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x90]
fld qword [ebp - 0x90]
fadd qword [ebp - 0x88]
fstp qword [ebp - 0x98]
fld qword [ebp - 0x98]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fadd qword [0xaf6510]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fadd qword [0xaf6518]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0x18e
jne 0x4c96eb
cmp dword [ebp - 0x2c], 0x1e5
jne 0x4c96eb
mov eax, 1
jmp 0x4c96f0
mov eax, 0
test eax, eax
je 0x4c9de1
fild dword [ebp - 0x24]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fild dword [0xbcfe84]
fstp qword [ebp - 0x80]
fadd qword [ebp - 0x80]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x30], eax
fild dword [ebp - 0x24]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fild dword [0xbcfe88]
fstp qword [ebp - 0x80]
fadd qword [ebp - 0x80]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
xor ecx, ecx
push eax
lea eax, [ebp - 0x38]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4c9dde
fild dword [ebp - 0x38]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fsub qword [0x72c285]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
fmul qword [0x84d97c]
fstp qword [ebp - 0x88]
fild dword [ebp - 0x34]
fstp qword [ebp - 0x90]
fld qword [ebp - 0x90]
fadd qword [ebp - 0x88]
fstp qword [ebp - 0x98]
fld qword [ebp - 0x98]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x3c], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fadd qword [0xaf6510]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fadd qword [0xaf6518]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0x135
jne 0x4c9dd6
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fild dword [0xbcfe84]
fstp qword [ebp - 0x80]
fadd qword [ebp - 0x80]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x40], eax
fild dword [ebp - 0x3c]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fild dword [0xbcfe88]
fstp qword [ebp - 0x80]
fadd qword [ebp - 0x80]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
xor ecx, ecx
push eax
lea eax, [ebp - 0x48]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4c9dd3
fild dword [ebp - 0x48]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fsub qword [0x72c285]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
fmul qword [0x84d97c]
fstp qword [ebp - 0x88]
fild dword [ebp - 0x44]
fstp qword [ebp - 0x90]
fld qword [ebp - 0x90]
fadd qword [ebp - 0x88]
fstp qword [ebp - 0x98]
fld qword [ebp - 0x98]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x50], eax
mov ebx, dword [0xbcfe60]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp + 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebx]
cmp dword [ebp - 0x50], eax
jne 0x4c9dcb
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fadd qword [0x84d97c]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fadd qword [0xaf4038]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x58], eax
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fadd qword [0xaf67d7]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fadd qword [0x84d97c]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fadd qword [0xaf3f83]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0042b878
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fadd qword [0xaf6a66]
fstp qword [ebp - 0x80]
push 0x50
fld qword [ebp - 0x80]
call fcn.004014d5
push eax
push dword [ebp + 8]
call fcn.0043d114
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
push eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4c9a2e
push ebx
call fcn.006577da
add esp, 4
pop eax
mov dword [ebp - 0x60], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x60]
test eax, eax
jne 0x4c9a45
mov eax, 0x72c277
push eax
push 1
mov eax, 7
mov ebx, 0x6da1d0
call fcn.006577ec
add esp, 0x10
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4c9a74
push ebx
call fcn.006577da
add esp, 4
pop eax
mov dword [ebp - 0x64], eax
xor ecx, ecx
lea eax, [ebp - 0x68]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 4
jg 0x4c9dc8
xor ecx, ecx
lea eax, [ebp - 0x6c]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 6
jg 0x4c9dbe
fild dword [ebp - 0x6c]
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
fsub qword [0x72c285]
fstp qword [ebp - 0x80]
fld qword [ebp - 0x80]
fmul qword [0xaf8bf9]
fstp qword [ebp - 0x88]
fld qword [ebp - 0x88]
fadd qword [0x72c285]
fstp qword [ebp - 0x90]
fild dword [ebp - 0x54]
fstp qword [ebp - 0x98]
fld qword [ebp - 0x98]
fsub qword [ebp - 0x90]
ftst
fnstsw ax
test ah, 1
je 0x4c9af5
fchs
fcomp qword [0xaf3fdb]
fnstsw ax
test ah, 0x41
je 0x4c9b7d
fild dword [ebp - 0x68]
fstp qword [ebp - 0xa4]
fld qword [ebp - 0xa4]
fsub qword [0x72c285]
fstp qword [ebp - 0xac]
fld qword [ebp - 0xac]
fmul qword [0xaf8bf9]
fstp qword [ebp - 0xb4]
fld qword [ebp - 0xb4]
fadd qword [0x72c285]
fstp qword [ebp - 0xbc]
fild dword [ebp - 0x58]
fstp qword [ebp - 0xc4]
fld qword [ebp - 0xc4]
fsub qword [ebp - 0xbc]
ftst
fnstsw ax
test ah, 1
je 0x4c9b65
fchs
fcomp qword [0xaf3fdb]
fnstsw ax
test ah, 0x41
je 0x4c9b7d
mov eax, 1
jmp 0x4c9b82
mov eax, 0
test eax, eax
je 0x4c9db7
cmp dword [ebp - 0x10], 1
jne 0x4c9bff
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x58], eax
jg 0x4c9bd1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x58], eax
jne 0x4c9bc0
cmp dword [ebp - 0x54], 0x100
jne 0x4c9bc0
mov eax, 1
jmp 0x4c9bc5
mov eax, 0
test eax, eax
jne 0x4c9bd1
xor eax, eax
jmp 0x4c9bd6
mov eax, 1
test eax, eax
je 0x4c9bfa
push str.ba34fcad3f99d8abd5a8e8998bbe6f19
push dword [ebp - 0x64]
call fcn.004026fe
add esp, 8
cmp eax, 0
jne 0x4c9bfa
inc dword [ebp - 0x70]
jmp 0x4c9db7
cmp dword [ebp - 0x10], 2
jne 0x4c9ca1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x58], eax
jg 0x4c9c73
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x58], eax
jne 0x4c9c35
cmp dword [ebp - 0x54], 0xcd
jne 0x4c9c35
mov eax, 1
jmp 0x4c9c3a
mov eax, 0
test eax, eax
jne 0x4c9c73
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x58], eax
jne 0x4c9c62
cmp dword [ebp - 0x54], 0x100
jne 0x4c9c62
mov eax, 1
jmp 0x4c9c67
mov eax, 0
test eax, eax
jne 0x4c9c73
xor eax, eax
jmp 0x4c9c78
mov eax, 1
test eax, eax
je 0x4c9c9c
push str.ba34fcad3f99d8abd5a8e8998bbe6f19
push dword [ebp - 0x64]
call fcn.004026fe
add esp, 8
cmp eax, 0
jne 0x4c9c9c
inc dword [ebp - 0x70]
jmp 0x4c9db7
cmp dword [ebp - 0x10], 3
jne 0x4c9cd8
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x58], eax
jle 0x4c9cd3
push str.ba34fcad3f99d8abd5a8e8998bbe6f19
push dword [ebp - 0x64]
call fcn.004026fe
add esp, 8
cmp eax, 0
jne 0x4c9cd3
inc dword [ebp - 0x70]
jmp 0x4c9db7
cmp dword [ebp - 0x10], 4
jne 0x4c9d4a
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x58], eax
jg 0x4c9d1c
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x58], eax
jne 0x4c9d0b
cmp dword [ebp - 0x54], 0x67
jle 0x4c9d0b
mov eax, 1
jmp 0x4c9d10
mov eax, 0
test eax, eax
jne 0x4c9d1c
xor eax, eax
jmp 0x4c9d21
mov eax, 1
test eax, eax
je 0x4c9d45
push str.ba34fcad3f99d8abd5a8e8998bbe6f19
push dword [ebp - 0x64]
call fcn.004026fe
add esp, 8
cmp eax, 0
jne 0x4c9d45
inc dword [ebp - 0x70]
jmp 0x4c9db7
cmp dword [ebp - 0x10], 5
jne 0x4c9db7
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x58], eax
jg 0x4c9d8e
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x58], eax
jne 0x4c9d7d
cmp dword [ebp - 0x54], 0x67
jle 0x4c9d7d
mov eax, 1
jmp 0x4c9d82
mov eax, 0
test eax, eax
jne 0x4c9d8e
xor eax, eax
jmp 0x4c9d93
mov eax, 1
test eax, eax
je 0x4c9db7
push str.ba34fcad3f99d8abd5a8e8998bbe6f19
push dword [ebp - 0x64]
call fcn.004026fe
add esp, 8
cmp eax, 0
jne 0x4c9db7
inc dword [ebp - 0x70]
pop ebx
pop ecx
jmp 0x4c9a94
add esp, 8
pop ebx
pop ecx
jmp 0x4c9a7f
add esp, 8
pop eax
pop ebx
pop ecx
jmp 0x4c9892
add esp, 0xc
pop eax
pop ebx
pop ecx
jmp 0x4c9768
add esp, 0xc
pop eax
pop ebx
pop ecx
jmp 0x4c961d
add esp, 0xc
mov eax, dword [ebp - 0x70]
jmp 0x4c9df4
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.006577da
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4c9e11
push ebx
call fcn.006577da
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4c9e21
push ebx
call fcn.006577da
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8