Function at 0x40145d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x809b54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x185c
call 0x40af50
push ebx
push esi
push edi
mov dword [esp + 0x44], 0x2dbd472
mov dword [esp + 0x14], 0x1cc644b3
mov dword [esp + 0x34], 0x22d4c002
mov dword [esp + 0x1c], 0x7e195513
mov dword [esp + 0x20], 0x4e53e675
mov dword [esp + 0x38], 0x745c9806
mov dword [esp + 0x30], 0x6f8577d1
mov dword [esp + 0xc], 0x44be6797
mov dword [esp + 0x28], 0x1c949d70
mov dword [esp + 0x18], 0x2d2f3bbd
mov dword [esp + 0x40], 0x40703297
mov dword [esp + 0x2c], 0x21a01817
mov dword [esp + 0x24], 0x3c933ef8
mov dword [esp + 0x10], 0x7bd59955
mov dword [esp + 0x3c], 0x42d90364
sub dword [esp + 0x44], 0x77625aff
add dword [esp + 0x44], 0x31d2837
mov eax, 0x3160f2ee
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
add dword [esp + 0x44], 0x74035682
mov eax, 0x7c2fc99f
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
add dword [esp + 0x44], 0x3591ffb0
mov eax, 0x1aa2d3ca
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
sub dword [esp + 0x14], 0x275c9654
add dword [esp + 0x34], 0x883976
add dword [esp + 0x34], 0x402ceb79
sub dword [esp + 0xc], 0x1846fcc4
sub dword [esp + 0x44], 0x105629b
add dword [esp + 0x14], 0x382194f4
sub dword [esp + 0x14], 0x60c30418
add dword [esp + 0x14], 0x1ea09d50
mov eax, 0x2748024e
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
add dword [esp + 0x20], 0x52f3ad24
mov eax, 0x3042bc35
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov eax, 0x654ea65d
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
sub dword [esp + 0x40], 0x5c4337b8
mov eax, 0xd4a3fe6
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
sub dword [esp + 0x30], 0x5b24bdb9
mov eax, 0x68823585
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov eax, 0xa8cf112
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov eax, 0x434cafd1
mul dword [esp + 0xc]
mov eax, dword [esp + 0xc]
add dword [esp + 0x14], 0x481e4f4d
sub dword [esp + 0x40], 0x4855ca11
add dword [esp + 0x1c], 0x1bcc63b6
mov eax, 0x992e5ce
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
sub dword [esp + 0xc], 0x1d7b8397
sub dword [esp + 0x34], 0x6000fef0
mov eax, 0x458ac138
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x38], 0x3e9d7c43
add dword [esp + 0x3c], 0x484091e1
mov eax, 0x15a9d652
mul dword [esp + 0xc]
mov eax, dword [esp + 0xc]
xor ebx, ebx
cmp dword [0x310e034], 0x400
jne 0x40171d
push ebx
lea eax, [esp + 0x46c]
push eax
call dword [0x80a034]
push ebx
lea eax, [esp + 0xc6c]
push eax
push ebx
push ebx
call dword [0x80a008]
call dword [0x80a010]
push ebx
push ebx
lea eax, [esp + 0x70]
push eax
push ebx
call dword [0x80a018]
push ebx
call dword [0x80a190]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
push ebx
mov dword [esp + 0x1878], ebx
call fcn.00401e3e
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00401800
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401b4a
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.004018e0
fstp st(0)
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
call fcn.00401b80
fstp st(0)
or dword [esp + 0x187c], 0xffffffff
add esp, 8
cmp dword [esp + 0x64], 0x10
jb 0x40171d
push dword [esp + 0x50]
call fcn.00401b70
pop ecx
mov esi, dword [0x80a028]
xor edi, edi
call esi
push ebx
call dword [0x80a054]
call esi
call dword [0x80a090]
cmp edi, 0x207138
jg 0x401747
inc edi
cmp edi, 0x4f672
jl 0x401725
xor esi, esi
push ebx
call dword [0x80a044]
cmp esi, 0x2b15df
jg 0x401761
inc esi
cmp esi, 0x116c7
jl 0x401749
xor esi, esi
push ebx
lea eax, [esp + 0x106c]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [0x80a07c]
push ebx
push ebx
call dword [0x80a048]
cmp esi, 0x58bc1e
jle 0x401790
cmp dword [esp + 0x48], 0x7a45e595
jne 0x401799
inc esi
cmp esi, 0xe154
jl 0x401763
mov eax, dword [0x811f4c]
mov dword [0x310e034], eax
call fcn.004011ac
mov esi, 0x3078f
cmp dword [0x310e034], 0x51f
jne 0x4017c0
push ebx
call dword [0x80a024]
dec esi
jne 0x4017ad
mov ecx, dword [esp + 0x186c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10