Function at 0x4613b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x52c717
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x59c6b8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x1dc], 1
mov dword [esi + 0x94], ecx
mov dword [esi + 0x98], edx
mov dword [esi + 0xbc], eax
mov ecx, dword [eax + 0x20]
mov dword [esi + 0xc0], ecx
mov eax, dword [eax + 0x24]
mov ecx, dword [0x59da88]
mov dword [esp + 0x38], eax
call fcn.00437210
mov ecx, dword [ebp + 0x20]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
mov ecx, dword [0x59da88]
call fcn.004370c0
mov dword [esi + 0x70], eax
mov ecx, dword [0x59da88]
call fcn.004370e0
mov edx, dword [ebp + 0x24]
mov edi, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x30]
mov dword [esi + 0x74], eax
lea eax, [esi + 0x7c]
mov dword [eax], edx
mov edx, dword [ebp + 0x28]
lea ecx, [esi + 0x80]
mov dword [ecx], edx
lea edx, [esi + 0x84]
mov dword [edx], edi
lea edi, [esi + 0x88]
mov dword [edi], ebx
xor ebx, ebx
cmp dword [ebp + 0x24], ebx
jne 0x46149c
cmp dword [ebp + 0x2c], ebx
jne 0x46149c
cmp dword [ebp + 0x28], ebx
jne 0x46149c
cmp dword [ebp + 0x30], ebx
jne 0x46149a
push edi
push edx
push ecx
mov ecx, dword [0x59da88]
push eax
call fcn.00437100
xor ebx, ebx
cmp dword [esi + 0x70], ebx
jl 0x4614ae
cmp dword [esi + 0x74], ebx
jl 0x4614ae
mov dword [esi + 0x78], ebx
jmp 0x461605
mov edi, 1
push 0x10
mov dword [esi + 0x78], edi
call fcn.00511699
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x80], ebx
cmp eax, ebx
je 0x4614d8
mov ecx, eax
call fcn.004a31d0
jmp 0x4614da
xor eax, eax
mov dword [esi + 0xf4], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x80], 0xffffffff
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
cmp eax, edi
jl 0x4614fe
mov dword [esp + 0x34], eax
jmp 0x461504
mov dword [esp + 0x34], edi
mov eax, edi
cmp eax, dword [ebp + 0x1c]
jg 0x461605
jmp 0x461514
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
cmp eax, dword [ecx + 0x14]
jg 0x461605
push eax
call fcn.00409810
mov ecx, dword [0x59da88]
mov edi, eax
call fcn.00437170
sub esp, 8
test eax, eax
mov eax, dword [edi + 0xc]
je 0x46155c
fld qword [eax + 0x30]
fsub qword [eax + 0x20]
fstp qword [esp]
call fcn.005134b0
call fcn.00512de0
mov edi, dword [edi + 0xc]
fld qword [edi + 0x38]
fsub qword [edi + 0x28]
jmp 0x461577
fld qword [eax + 0x10]
fsub qword [eax]
fstp qword [esp]
call fcn.005134b0
call fcn.00512de0
mov edi, dword [edi + 0xc]
fld qword [edi + 0x18]
fsub qword [edi + 8]
fstp qword [esp]
mov ebx, eax
call fcn.005134b0
add esp, 8
call fcn.00512de0
mov ecx, dword [esi + 0xf4]
mov edx, dword [ecx + 8]
mov edi, eax
xor eax, eax
mov dword [esp + 0x3c], edx
test edx, edx
jle 0x4615b8
mov edx, dword [ecx]
mov ecx, dword [edx + eax*4]
cmp dword [ecx], ebx
jne 0x4615ac
cmp dword [ecx + 4], edi
je 0x4615b8
mov ecx, dword [esi + 0xf4]
inc eax
cmp eax, dword [ecx + 8]
jl 0x4615a0
cmp eax, dword [esp + 0x3c]
jne 0x4615e1
push 8
call fcn.00511699
add esp, 4
test eax, eax
je 0x4615d3
mov dword [eax], ebx
mov dword [eax + 4], edi
jmp 0x4615d5
xor eax, eax
mov ecx, dword [esi + 0xf4]
push eax
call fcn.004a3220
cmp ebx, dword [esi + 0x70]
jle 0x4615e9
mov dword [esi + 0x70], ebx
cmp edi, dword [esi + 0x74]
jle 0x4615f1
mov dword [esi + 0x74], edi
mov eax, dword [esp + 0x34]
inc eax
xor ebx, ebx
mov dword [esp + 0x34], eax
cmp eax, dword [ebp + 0x1c]
jle 0x461510
mov ecx, dword [0x59da88]
call fcn.00437570
cmp dword [esi + 0x6c], 2
mov edx, dword [ebp + 0x34]
mov dword [esi + 0x8c], eax
mov dword [esi + 0x9c], edx
jne 0x46162b
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x1c], eax
fld qword [0x535cb0]
mov dword [esi + 0x18c], ebx
fst qword [esi + 0x100]
mov dword [esi + 0x198], ebx
fst qword [esi + 0xf8]
mov dword [esi + 0x118], 0xffffffff
fldz
mov dword [esp + 0x34], 0x5962f8
fst qword [esi + 0x110]
fst qword [esi + 0x108]
fst qword [esi + 0x128]
fstp qword [esi + 0x120]
fst qword [esi + 0x138]
fstp qword [esi + 0x130]
push 0x24
call fcn.00511699
mov edi, eax
add esp, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x80], 1
cmp edi, ebx
je 0x4616ec
push 8
call fcn.00511699
add esp, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0x80], 2
cmp eax, ebx
je 0x4616ca
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push edx
mov ecx, eax
call fcn.004a1c90
jmp 0x4616cc
xor eax, eax
mov dword [edi], eax
or eax, 0xffffffff
mov dword [edi + 4], 1
mov dword [edi + 8], ebx
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
jmp 0x4616f1
xor edi, edi
or eax, 0xffffffff
mov ecx, dword [esi + 0xc8]
mov dword [esp + 0x80], eax
mov eax, dword [edi]
push edi
push eax
call fcn.004a3fd0
mov eax, dword [esp + 0x34]
add eax, 0x10
mov dword [esp + 0x34], eax
cmp eax, 0x5963d8
jl 0x461681
mov ecx, dword [0x59da88]
call fcn.004372c0
mov edi, eax
cmp dword [edi + 8], 0
jle 0x461791
mov ecx, dword [edi]
mov eax, dword [ecx + ebx*4]
mov ecx, dword [esi + 0xc8]
push eax
call fcn.004a4090
test eax, eax
jne 0x46178b
push 0x24
call fcn.00511699
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x46177a
mov edx, dword [edi]
mov edx, dword [edx + ebx*4]
mov dword [eax], edx
or edx, 0xffffffff
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
jmp 0x46177c
xor eax, eax
mov ecx, dword [esi + 0xc8]
push eax
mov eax, dword [eax]
push eax
call fcn.004a3fd0
inc ebx
cmp ebx, dword [edi + 8]
jl 0x461730
mov ecx, edi
call fcn.00473f80
push edi
call fcn.0051163f
xor edi, edi
push 0x10
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
call fcn.00511699
add esp, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x80], 3
cmp eax, edi
je 0x4617de
mov ecx, eax
call fcn.004a31d0
jmp 0x4617e0
xor eax, eax
or ebx, 0xffffffff
push 8
mov dword [esp + 0x84], ebx
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
call fcn.00511699
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 0x80], 4
cmp eax, edi
je 0x461828
mov ecx, eax
call fcn.004a1c60
jmp 0x46182a
xor eax, eax
mov dword [esp + 0x80], ebx
mov dword [esi + 0x188], eax
cmp dword [esi + 0x9c], edi
jne 0x4619ba
mov ebx, dword [ebp + 0x18]
cmp ebx, edi
jle 0x46189a
mov edi, dword [esp + 0x38]
cmp ebx, dword [edi + 0x14]
jg 0x461898
push ebx
mov ecx, edi
call fcn.00409810
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0xa8]
push ebx
mov ecx, edi
mov dword [esp + 0x40], edx
call fcn.00409810
mov edi, dword [eax + 0xc]
mov ecx, dword [esp + 0x38]
push ebx
add edi, 0x20
call fcn.00409810
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x1c]
push ecx
push edi
push edx
push eax
push ebx
mov ecx, esi
call fcn.004583b0
jmp 0x4618d2
xor edi, edi
push 0x20
call fcn.00511699
add esp, 4
cmp eax, edi
je 0x4618b9
fldz
mov edi, eax
fst qword [eax]
fstp qword [eax + 8]
fld1
fst qword [eax + 0x10]
fstp qword [eax + 0x18]
mov ecx, dword [ebp + 0x1c]
push 0
push edi
push edi
push ecx
push ebx
mov ecx, esi
call fcn.004583b0
push edi
call fcn.0051163f
add esp, 4
mov edi, 2
cmp dword [esi + 0x6c], edi
je 0x46190b
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x4618f2
push str.__BeginProlog_n
call fcn.004a1e60
jmp 0x46190b
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0x90]
push 0xe
push str.__BeginProlog_n
push edx
call eax
add esp, 0xc
mov ecx, esi
call fcn.00452060
cmp dword [esi + 0x6c], edi
je 0x461975
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x46192d
push str.__EndProlog_n
call fcn.004a1e60
jmp 0x461946
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x90]
push 0xc
push str.__EndProlog_n
push ecx
call edx
add esp, 0xc
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x46195c
push str.__BeginSetup_n
call fcn.004a1e60
jmp 0x461975
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
push 0xd
push str.__BeginSetup_n
push eax
call ecx
add esp, 0xc
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x38]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00461040
cmp dword [esi + 0x6c], edi
je 0x4619ba
mov ecx, dword [esi + 0x19c]
test ecx, ecx
je 0x4619a1
push str.__EndSetup_n
call fcn.004a1e60
jmp 0x4619ba
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x90]
push 0xb
push str.__EndSetup_n
push ecx
call edx
add esp, 0xc
mov dword [esi + 0xa0], 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30