Function at 0x469864
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x469c69
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00467fd0
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x469c3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x412bec]
call fcn.00403b98
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x412bec]
call fcn.00403b98
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x70]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
call fcn.004213ac
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.004214e8
mov eax, dword [ebp - 0x38]
call fcn.004677d0
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov al, byte [eax + 0x18]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x469bfc
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
call fcn.0043c38c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1c0]
cmp eax, dword [ebp - 0x28]
jl 0x469bfc
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x2c], 0
jne 0x4699de
mov eax, dword [ebp - 0x38]
call fcn.004677d0
mov edx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
mov al, byte [eax + 0x18]
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1d0]
call fcn.0046698c
lea ecx, [ebp - 0x1d]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
call fcn.00467020
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x19], 0
je 0x469ad9
mov eax, dword [ebp - 4]
call fcn.0043c348
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c0]
add edx, edx
sub eax, edx
cmp eax, dword [ebp - 0x2c]
jge 0x469ad9
mov eax, dword [ebp - 4]
call fcn.0043c348
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c0]
add eax, eax
sub ebx, eax
mov eax, dword [ebp - 0x1c]
call fcn.00404cb4
imul ebx, eax
mov eax, ebx
cdq
idiv dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
jmp 0x469a85
dec dword [ebp - 0x34]
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.00404eec
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0043c348
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c0]
add edx, edx
sub eax, edx
cmp ebx, eax
jg 0x469a82
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00468780
jmp 0x469af9
cmp dword [ebp - 0x1c], 0
je 0x469aec
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x469af9
mov edx, 0x469c80
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x469bf0
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x48]
mov ecx, 0x469c80
mov edx, dword [ebp - 0x1c]
call fcn.00404d0c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov dword [ebp - 0x2c], eax
mov al, byte [ebp - 0x1d]
sub al, 1
jb 0x469b6a
je 0x469b8f
dec al
je 0x469b78
jmp 0x469ba8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c0]
mov dword [ebp - 0x24], eax
jmp 0x469bad
mov eax, dword [ebp - 4]
call fcn.0043c348
sub eax, dword [ebp - 0x2c]
sar eax, 1
jns 0x469b8a
adc eax, 0
mov dword [ebp - 0x24], eax
jmp 0x469bad
mov eax, dword [ebp - 4]
call fcn.0043c348
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x1c0]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jmp 0x469bad
xor eax, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00464b68
mov eax, dword [ebp - 0x38]
fild word [eax + 0x2e]
fdiv dword [0x469c84]
fadd dword [0x469c88]
fild dword [ebp - 0x30]
fmulp st(1)
call fcn.004032f0
add dword [ebp - 0x28], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x40]
jne 0x469b15
inc dword [ebp - 0xc]
dec dword [ebp - 0x3c]
jne 0x469972
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x198]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469c46
mov eax, dword [ebp - 0x14]
call fcn.00403bc8
mov eax, dword [ebp - 0x18]
call fcn.00403bc8
mov eax, dword [ebp - 4]
call fcn.00467fe4
ret