Function at 0x405860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41a999
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0xdb8624]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x40]
lea eax, [esp + 0xc]
push eax
call dword [0x41f3c8]
mov ecx, dword [esi + 0x24]
push eax
mov dword [esp + 0x1c], 0
call dword [0x41f3d0]
lea ecx, [esp + 0xc]
mov edi, eax
mov dword [esp + 0x18], 0xffffffff
call dword [0x41f418]
mov ecx, dword [esi + 0x2c]
call dword [0x41f3d4]
mov eax, dword [esi + 0x2c]
or dword [eax + 0x14], 1
mov ecx, dword [esi + 0x2c]
push 0x1388
call dword [0x41f3e0]
add dword [esi + 0x10], edi
add dword [esi + 0x18], edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
sub esp, 0xc
push esi
mov esi, ecx
fild dword [esi + 0x18]
mov ecx, dword [esi + 0x28]
fmul qword [0x41ff78]
fstp qword [esp + 8]
call dword [0x41f4e0]
mov dword [esp + 4], eax
fild dword [esp + 4]
mov ecx, dword [esi + 0x30]
push 0x3e8
mov dword [esi + 0x18], 0
fdiv qword [0x41ff70]
fdivr qword [esp + 0xc]
fstp dword [esi + 8]
call dword [0x41f3e0]
pop esi
add esp, 0xc
ret
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
fld dword [esi + 8]
sub eax, dword [esi + 0x14]
push ecx
fstp dword [esp]
push eax
call fcn.004185e0
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x34]
push 0x64
call dword [0x41f3e0]
pop esi
ret
push 0xffffffffffffffff
push 0x41b3ab
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0xdb8624]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
call dword [0x41f4e4]
mov ecx, eax
call dword [0x41f4e8]
push 0x42025c
mov ecx, eax
mov dword [esp + 0x3c], 0
call dword [0x41f4ec]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call dword [0x41f4f0]
mov ecx, dword [0x41f478]
mov edx, dword [0x41f4d4]
mov eax, dword [esi + 0x2c]
mov edi, dword [0x41f4d8]
push edx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x20], 0x405860
call edi
mov ecx, dword [0x41f5d8]
mov eax, dword [0x41f5ac]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x44]
push ecx
push eax
mov dword [esp + 0x38], fcn.00401d50
call edi
mov ecx, dword [esi + 0x44]
add esp, 0x28
call dword [0x41f4cc]
lea edx, [esp + 0x10]
push edx
call dword [0x41f41c]
add esp, 4
lea edi, [esi + 0x48]
push eax
mov ecx, edi
call dword [0x41f204]
lea ecx, [esp + 0x10]
call dword [0x41f508]
push 0x41feb0
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.00401070
push 0x4200f8
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x50], 1
call fcn.00401070
add esp, 0x18
push edi
push eax
mov ecx, esi
mov byte [esp + 0x40], 2
call fcn.00418690
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call dword [0x41f508]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x18]
call dword [0x41f508]
mov ecx, esi
call fcn.00403390
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
mov eax, dword [esp + 8]
push esi
test eax, eax
jne 0x418902
mov eax, dword [esp + 0x10]
cmp eax, 0xe
ja case.default.0x41878a
jmp dword [eax*4 + 0x4189b0]
mov ecx, dword [esp + 8]
pop esi
jmp fcn.004185c0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
fld dword [ecx]
mov edx, dword [eax + 4]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0xc]
fstp dword [esp]
push eax
call fcn.004185e0
pop esi
ret
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call dword [0x41f4fc]
mov ecx, dword [esp + 0xc]
call fcn.00418620
pop esi
ret
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esp + 0xc]
push edx
call fcn.00418690
mov esi, dword [esi]
test esi, esi
je case.default.0x41878a
mov byte [esi], al
pop esi
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
movzx edx, byte [ecx]
mov eax, dword [eax + 4]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call dword [0x41f4fc]
mov ecx, dword [esp + 0x10]
call fcn.004186d0
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp fcn.00403390
mov ecx, dword [esp + 8]
pop esi
jmp 0x405860
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call dword [0x41f4fc]
mov ecx, dword [esp + 0xc]
call fcn.00403230
pop esi
ret
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov eax, dword [esi + 4]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call dword [0x41f4fc]
mov ecx, dword [esp + 0x10]
call fcn.00402190
mov esi, dword [esi]
test esi, esi
je case.default.0x41878a
mov byte [esi], al
pop esi
ret
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 8]
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call dword [0x41f4fc]
mov eax, dword [esi + 4]
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call dword [0x41f4fc]
mov ecx, dword [esp + 0x10]
call fcn.00402b40
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp 0x4018f0
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
push eax
call fcn.00401980
pop esi
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
push eax
call fcn.00401d50
pop esi
ret
mov ecx, dword [esp + 8]
pop esi
jmp 0x401cd0
mov ecx, dword [esp + 8]
pop esi
jmp 0x401c80
cmp eax, 0xc
jne 0x418959
mov eax, dword [esp + 0x10]
sub eax, 0xb
je 0x418938
dec eax
je 0x418921
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov dword [edx], 0xffffffff
pop esi
ret
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
cmp dword [eax], 0
jne 0x418944
call fcn.00401ed0
mov edx, dword [esi]
mov dword [edx], eax
pop esi
ret
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 4]
cmp dword [eax], 0
je 0x41894e
mov ecx, dword [esi]
mov dword [ecx], 0xffffffff
pop esi
ret
call fcn.00401f90
mov edx, dword [esi]
mov dword [edx], eax
pop esi
ret
cmp eax, 0xa
jne case.default.0x41878a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [eax], fcn.004185c0
jne 0x418975
mov dword [ecx], 0
cmp dword [eax], fcn.004185e0
jne 0x418983
mov dword [ecx], 1
cmp dword [eax], fcn.00418620
jne 0x418991
mov dword [ecx], 2
cmp dword [eax], fcn.00418690
jne 0x41899f
mov dword [ecx], 3
cmp dword [eax], fcn.004186d0
jne case.default.0x41878a
mov dword [ecx], 4
pop esi
ret