Function at 0x500dd0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689c35
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x70af2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x160], 1
mov dword [ebp - str.__BeginData:], 0x6a53e8
mov dword [ebp - 0x11c], 0
push 0x103
lea ecx, [ebp + 8]
call fcn.00408890
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x118]
push ecx
call fcn.00662940
add esp, 4
mov dword [ebp - 0x124], eax
mov edx, dword [ebp - 0x124]
movsx eax, byte [ebp + edx - 0x119]
cmp eax, 0xd
je 0x500e8a
mov ecx, dword [ebp - 0x124]
movsx edx, byte [ebp + ecx - 0x119]
cmp edx, 0xa
jne 0x500f28
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x124]
sub ecx, 1
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x13c], 0x105
jae 0x500eb3
jmp 0x500eb8
call fcn.006589f6
mov edx, dword [ebp - 0x13c]
mov byte [ebp + edx - 0x118], 0
mov eax, dword [ebp - 0x124]
movsx ecx, byte [ebp + eax - 0x119]
cmp ecx, 0xd
je 0x500eec
mov edx, dword [ebp - 0x124]
movsx eax, byte [ebp + edx - 0x119]
cmp eax, 0xa
jne 0x500f28
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x124]
sub edx, 1
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x140], 0x105
jae 0x500f15
jmp 0x500f1a
call fcn.006589f6
mov eax, dword [ebp - 0x140]
mov byte [ebp + eax - 0x118], 0
mov ecx, dword [ebp - 0x124]
mov byte [ebp + ecx - 0x118], 0xd
mov edx, dword [ebp - 0x124]
add edx, 1
mov dword [ebp - 0x144], edx
cmp dword [ebp - 0x144], 0x105
jae 0x500f53
jmp 0x500f58
call fcn.006589f6
mov eax, dword [ebp - 0x144]
mov byte [ebp + eax - 0x118], 0
mov ecx, dword [ebp - 0x12c]
cmp dword [ecx], 0
je 0x500fb0
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx]
push eax
call fcn.00662940
add esp, 4
push eax
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx]
push eax
call fcn.00667b50
add esp, 0xc
test eax, eax
je 0x500fb0
mov ecx, dword [ebp - 0x12c]
add ecx, 4
mov dword [ebp - 0x12c], ecx
jmp 0x500f66
mov edx, dword [ebp - 0x12c]
cmp dword [edx], 0
je 0x500fc7
mov dword [ebp - 0x130], 0
jmp 0x501018
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x54]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x124]
add eax, 1
push eax
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x138]
mov ecx, dword [eax + 0x54]
call fcn.00515400
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jge 0x501018
mov dword [ebp - 0x130], 0
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x128], ecx
cmp dword [ebp - 0x128], 0x2bc
jg 0x50106d
cmp dword [ebp - 0x128], 0x2bc
je 0x501128
cmp dword [ebp - 0x128], 0xcc
je 0x5010a2
cmp dword [ebp - 0x128], 0xce
je 0x5010c8
cmp dword [ebp - 0x128], 0xcf
je 0x5010ee
jmp 0x50149e
cmp dword [ebp - 0x128], 0x2bd
je 0x501155
cmp dword [ebp - 0x128], 0x2c2
je 0x50117d
cmp dword [ebp - 0x128], 0x384
je 0x501494
jmp 0x50149e
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x28], 0
je 0x5010c3
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x488]
push ecx
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x28]
call fcn.004a5a50
jmp 0x50149e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x28], 0
je 0x5010e9
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x484]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x28]
call fcn.004a5b20
jmp 0x50149e
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x28], 0
je 0x50110f
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x490]
push eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x28]
call fcn.004a5980
jmp 0x50149e
mov edx, dword [ebp - 0x11c]
cmp dword [edx + 0x458], 1
jbe 0x501150
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x30]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
mov ecx, dword [ecx + 0x30]
mov eax, dword [edx + 0x58]
call eax
jmp 0x50149e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [eax]
mov ecx, dword [edx + 0x30]
mov edx, dword [eax + 0x58]
call edx
jmp 0x50149e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x2c], 0
je 0x501490
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x458]
mov dword [ebp - 0x134], edx
cmp dword [ebp - 0x134], 0
jle 0x50123e
mov eax, dword [ebp - 0x134]
sub eax, 1
imul ecx, eax, 0x24
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x454]
mov ecx, dword [eax + ecx + 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x134]
sub eax, 1
imul ecx, eax, 0x24
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x454]
mov ecx, dword [eax + ecx + 0x18]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x134]
sub eax, 1
imul ecx, eax, 0x24
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x454]
mov ecx, dword [eax + ecx + 0x18]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x134]
sub eax, 1
imul ecx, eax, 0x24
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 0x454]
mov ecx, dword [eax + ecx + 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x148], edx
jmp 0x501291
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x47c]
mov edx, dword [ecx]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x47c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x47c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 0x47c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x148], edx
push 0x88
call fcn.004096f0
mov dword [ebp - 0x158], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x158], 0
je 0x501301
cvtsi2sd xmm0, dword [ebp - 0x148]
sub esp, 8
movsd qword [esp], xmm0
cvtsi2sd xmm0, dword [ebp - 0x14c]
sub esp, 8
movsd qword [esp], xmm0
cvtsi2sd xmm0, dword [ebp - 0x150]
sub esp, 8
movsd qword [esp], xmm0
cvtsi2sd xmm0, dword [ebp - 0x154]
sub esp, 8
movsd qword [esp], xmm0
mov ecx, dword [ebp - 0x158]
call fcn.0047efd0
mov dword [ebp - 0x15c], eax
jmp 0x50130b
mov dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x138]
add ecx, 0x58
call fcn.0052a80d
mov eax, dword [ebp - 0x11c]
cmp dword [eax + 0x458], 1
jbe 0x5013dc
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x28]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x28]
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x28]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx]
mov ecx, dword [eax + 0x28]
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x2c]
call fcn.0046d550
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x120]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x120]
mov edx, dword [eax + 0x24]
call edx
push ecx
fstp dword [esp]
mov eax, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x120]
mov eax, dword [edx + 0x20]
call eax
push ecx
fstp dword [esp]
mov ecx, dword [ebp - 0x168]
call fcn.004aa660
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov dword [edx + 0x30], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
call fcn.004fe520
jmp 0x501409
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x2c]
call fcn.0046dbb0
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x120]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x120]
mov dword [eax + 0x48], ecx
mov edx, dword [ebp - 0x120]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x120]
mov edx, dword [eax + 0x20]
call edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x30]
fstp dword [edx + 0x68]
mov eax, dword [ebp - 0x120]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x120]
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x30]
fstp dword [eax + 0x6c]
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x120]
mov eax, dword [edx + 0x20]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
fstp qword [eax + 0x10]
mov ecx, dword [ebp - 0x120]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x120]
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 8]
fstp qword [eax + 8]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 8]
call fcn.004fd930
jmp 0x50149e
mov dword [ebp - 0x160], 0
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x170], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408e30
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006588a1
mov esp, ebp
pop ebp
ret 8