Function at 0x414260
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456126
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x46f068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], ebx
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 8], eax
mov dword [ebp - 4], 0
mov eax, dword [0x46fa94]
fild dword [0x46fa90]
cdq
sub eax, edx
mov dword [ebx], 0x467b58
mov edi, eax
mov dword [ebx + 0xc], 0x30
sar edi, 1
fnstcw word [ebp - 0x2e]
mov dword [ebx + 0x10], 0x26
mov dword [ebx + 0x14], 0x26
lea eax, [edi - 0x8a]
mov dword [ebx + 0x18], 0x114
mov dword [ebx + 0x20], eax
lea eax, [edi - 0x70]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x1c], 0x5b
mov dword [ebx + 0x24], 0x40
mov dword [ebx + 0x28], 0xe0
mov dword [ebx + 0x2c], 0x30
mov dword [ebx + 0x30], 0x168
mov dword [ebx + 0x34], 0x20
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
movzx eax, word [ebp - 0x2e]
fld qword [str.333333]
or eax, 0xc00
mov esi, dword [0x46fa90]
mov dword [ebp - 0x34], eax
mov eax, esi
fmul st(1)
fldcw word [ebp - 0x34]
cdq
sub eax, edx
mov dword [ebx + 0x4c], 0x26
sar eax, 1
mov dword [ebx + 0x54], 0x140
fistp qword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
mov dword [ebx + 0x58], 0x14
mov dword [ebx + 0x64], 0x140
fldcw word [ebp - 0x2e]
lea edx, [ecx - 0x10]
mov dword [ebx + 0x68], 0x14
add edx, eax
lea eax, [edi - 0xb4]
mov dword [ebx + 0x40], eax
mov ecx, edx
mov dword [ebx + 0x3c], edx
fmul qword [0x468238]
fnstcw word [ebp - 0x2e]
movzx eax, word [ebp - 0x2e]
or eax, 0xc00
mov dword [ebp - 0x34], eax
fldcw word [ebp - 0x34]
fistp qword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
sub ecx, eax
lea eax, [edx + 0x48]
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
lea edx, [esi - 0x30]
mov eax, dword [0x46fa94]
lea ecx, [edx - 0x18]
fldcw word [ebp - 0x2e]
add eax, 0xfffffe9a
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x6c], eax
lea eax, [edx - 0x30]
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x80], edi
lea edi, [ebx + 0xe4]
mov dword [ebx + 0x7c], edx
mov dword [ebx + 0x84], edx
mov dword [ebx + 0x94], eax
mov dword [ebp - 0x38], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0041be90
mov dword [edi], eax
fld dword [ebp + 0x18]
mov ecx, ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
fstp dword [ebx + 0x90]
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov byte [ebx + 0xa0], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
call fcn.00418f10
mov ecx, ebx
call fcn.004154e0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call fcn.0041d9c0
mov ebx, dword [ebp - 0x48]
cmp eax, 1
jne 0x414532
mov edx, dword [ebp - 0x48]
xor ebx, ebx
mov ecx, dword [ebp - 0x44]
sub ecx, edx
add ecx, 3
shr ecx, 2
cmp dword [ebp - 0x44], edx
sbb eax, eax
not eax
and eax, ecx
mov dword [ebp - 0x38], eax
mov eax, edx
mov dword [ebp - 0x30], eax
je 0x41452f
mov edx, dword [edi]
mov esi, edx
mov ecx, dword [eax]
mov dword [ebp - 0x34], ecx
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4144f2
cmp dword [eax + 0x10], ecx
jae 0x4144df
mov eax, dword [eax + 8]
jmp 0x4144e3
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x4144d5
cmp esi, edx
je 0x4144f2
cmp ecx, dword [esi + 0x10]
jae 0x414519
lea eax, [ebp - 0x34]
push ecx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
push ecx
mov ecx, edi
call fcn.0041c8f0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.0041c920
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x30]
inc ebx
add eax, 4
mov dword [esi + 0x14], 5
mov dword [ebp - 0x30], eax
cmp ebx, dword [ebp - 0x38]
jne 0x4144c3
mov ebx, dword [ebp - 0x48]
cmp dword [ebp + 0x14], 0
je 0x41455c
lea eax, [ebp + 0x14]
mov ecx, edi
push eax
call fcn.00419450
mov ecx, edi
mov esi, dword [eax]
call fcn.004193c0
lea eax, [ebp + 0x14]
mov ecx, edi
push eax
call fcn.00419450
or esi, 4
mov dword [eax], esi
mov esi, dword [ebp - 0x54]
mov ecx, esi
call fcn.004181a0
test ebx, ebx
je 0x414596
mov ecx, dword [ebp - 0x40]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41458c
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4145ec
push ecx
push ebx
call fcn.00434e86
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4145cc
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4145c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4145f1
push edx
push ecx
call fcn.00434e86
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00434e45
mov esp, ebp
pop ebp
ret 0x14
call fcn.00439dba
call fcn.00439dba
int3