Function at 0x405a30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43a6bb
push eax
mov dword fs:[0], esp
sub esp, 0x930
push ebx
mov dword [esp + 0xa0], 0x2118f6a5
mov dword [esp + 0x48], 0x7ce5e899
mov dword [esp + 0x34], 0x2ea5b9b1
mov dword [esp + 0x98], 0x556cdddc
mov dword [esp + 0xb4], 0x7610c56d
mov dword [esp + 0x14], 0x19872f7
mov dword [esp + 0x10], 0x78f1ba10
mov dword [esp + 0x5c], 0x2d62b5b9
mov dword [esp + 0x44], 0x36c4c72c
mov dword [esp + 0x8c], 0x2cd381f9
mov dword [esp + 0xc], 0x1142071c
mov dword [esp + 0x84], 0x4c4c5725
mov dword [esp + 0xc4], 0x19136ee3
mov dword [esp + 0x94], 0x1d567bac
mov dword [esp + 0x90], 0x4f19d4f8
mov dword [esp + 0xcc], 0x12d0297d
mov dword [esp + 0x74], 0x926d973
mov dword [esp + 0xdc], 0x93fe4ed
mov dword [esp + 0x54], 0x2e62a2a4
mov dword [esp + 0x40], 0x6e6ce147
mov dword [esp + 0xc0], 0x23fbfab
mov dword [esp + 0x68], 0x4439d8ab
mov dword [esp + 0xb8], 0x5f4ce080
mov dword [esp + 0x38], 0x6a0b3f6f
mov dword [esp + 0x2c], 0x1aae49ce
mov dword [esp + 0xd8], 0x40cd3ce4
mov dword [esp + 0x1c], 0x29cb296d
mov dword [esp + 0x60], 0x716641f6
mov dword [esp + 0x3c], 0x253e9304
mov dword [esp + 0x78], 0x32615eb
mov dword [esp + 0xac], 0x5feec771
mov dword [esp + 0x30], 0x62c3eff6
mov dword [esp + 0x6c], 0x5de58b0c
mov dword [esp + 0x58], 0x330290a3
mov dword [esp + 0x9c], 0x1e909181
mov dword [esp + 0x24], 0x2da82ee2
mov dword [esp + 0x50], 0x15d24d10
mov dword [esp + 0x28], 0x1395cef1
mov dword [esp + 0x20], 0x743bf3eb
mov dword [esp + 0x4c], 0x5bd57621
mov dword [esp + 0xe0], 0x2dbd270d
mov dword [esp + 0x7c], 0x5adfa204
mov dword [esp + 0x80], 0x6a51e43b
mov dword [esp + 0x70], 0x67833069
mov dword [esp + 0xd0], 0x7ac00655
mov dword [esp + 0xc8], 0x62d8e822
mov dword [esp + 0xd4], 0x2cf385e2
mov dword [esp + 0xb0], 0x366f63c
mov dword [esp + 0x64], 0xaa41491
mov dword [esp + 0x88], 0x626ce27f
mov dword [esp + 0xbc], 0x7d6ccedb
mov dword [esp + 0x18], 0x5f588452
mov dword [esp + 0xa4], 0x16cdca5e
mov dword [esp + 0xa8], 0x6d85ae8d
sub dword [esp + 0xa0], 0x341c5bd6
add dword [esp + 0x34], 0x13d1b72
add dword [esp + 0xa0], 0x2977393c
add dword [esp + 0x98], 0x447d6f01
mov eax, 0x5c829fe
mul dword [esp + 0x98]
mov eax, dword [esp + 0x98]
mov eax, 0x661ee5c5
mul dword [esp + 0xb4]
mov eax, dword [esp + 0xb4]
add dword [esp + 0xb4], 0x2a56b95d
sub dword [esp + 0x10], 0x63ac6e43
add dword [esp + 0x44], 0x59647847
add dword [esp + 0x48], 0x6a2b0749
add dword [esp + 0x10], 0x3c1e110c
mov eax, 0x64e6401a
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
add dword [esp + 0x14], 0x7ea04bc
add dword [esp + 0x8c], 0x62cca880
mov eax, 0x51b473a6
mul dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
mov eax, 0x2cf2076c
mul dword [esp + 0x94]
mov eax, dword [esp + 0x94]
sub dword [esp + 0x84], 0x2ca2965a
mov eax, 0x6c1dccff
mul dword [esp + 0xdc]
mov eax, dword [esp + 0xdc]
sub dword [esp + 0x10], 0x6f340275
mov eax, 0x57b0b570
mul dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, 0x64759fac
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add dword [esp + 0x8c], 0x565a85fa
add dword [esp + 0x54], 0x23cb7026
sub dword [esp + 0xb4], 0x270f75a0
sub dword [esp + 0x34], 0x15d2893d
add dword [esp + 0xa0], 0x22324a79
mov eax, 0x53bf77c2
mul dword [esp + 0xc]
mov eax, dword [esp + 0xc]
add dword [esp + 0x8c], 0x49878002
sub dword [esp + 0x14], 0x491d9bc0
add dword [esp + 0x8c], 0x468a7393
sub dword [esp + 0x8c], 0x638399b0
mov eax, 0x62374c49
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
sub dword [esp + 0x74], 0x6fc200e8
add dword [esp + 0xc0], 0x5ade7904
sub dword [esp + 0x54], 0x37090d64
sub dword [esp + 0x94], 0x133d45e4
add dword [esp + 0x44], 0x1f98e6e2
add dword [esp + 0xdc], 0x13bb67bd
add dword [esp + 0x94], 0x2d448ddb
add dword [esp + 0x54], 0x4401704a
sub dword [esp + 0x8c], 0x7899f11c
mov eax, 0x1e406c84
mul dword [esp + 0x84]
mov eax, dword [esp + 0x84]
add dword [esp + 0x8c], 0x5ce49ff7
add dword [esp + 0x84], 0x733cd62b
sub dword [esp + 0x54], 0x7c8e9e42
sub dword [esp + 0x68], 0x68278e12
sub dword [esp + 0x44], 0x47e964ae
sub dword [esp + 0xd8], 0x7662ff42
add dword [esp + 0x74], 0x26177454
mov eax, 0x733181db
mul dword [esp + 0x74]
mov eax, dword [esp + 0x74]
add dword [esp + 0x68], 0x6aa70ccf
mov eax, 0x2c0e8abf
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add dword [esp + 0xc4], 0x168735d0
sub dword [esp + 0xd8], 0x25cbe8fa
add dword [esp + 0xd8], 0x5401bfe2
mov eax, 0xf4b569e
mul dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
sub dword [esp + 0xb8], 0x4a82c7b0
add dword [esp + 0x8c], 0x678fd249
sub dword [esp + 0x48], 0x11a58575
add dword [esp + 0x10], 0x14752e62
sub dword [esp + 0xd8], 0x46522d98
add dword [esp + 0xc], 0x7e4f6593
mov eax, 0x1898e58a
mul dword [esp + 0x68]
mov eax, dword [esp + 0x68]
sub dword [esp + 0x14], 0x4a6ee3ba
sub dword [esp + 0x34], 0x4766f71c
sub dword [esp + 0x78], 0x39370358
mov eax, 0x702019cb
mul dword [esp + 0xc]
mov eax, dword [esp + 0xc]
mov eax, 0x7e147f28
mul dword [esp + 0x10]
mov eax, dword [esp + 0x10]
sub dword [esp + 0x84], 0x76240d84
add dword [esp + 0x84], 0x12589df7
sub dword [esp + 0x9c], 0x4c7eb71b
sub dword [esp + 0x9c], 0x6f2a5d56
mov eax, 0x4b67f866
mul dword [esp + 0xdc]
mov eax, dword [esp + 0xdc]
add dword [esp + 0x40], 0x1d34e0a2
mov eax, 0x5768bf38
mul dword [esp + 0x90]
mov eax, dword [esp + 0x90]
mov eax, 0x2e356182
mul dword [esp + 0xdc]
mov eax, dword [esp + 0xdc]
sub dword [esp + 0x58], 0x32dc71dd
sub dword [esp + 0x24], 0x3baf8bef
add dword [esp + 0x24], 0xdfaa005
add dword [esp + 0x30], 0x5acaf227
add dword [esp + 0x38], 0x240be326
mov eax, 0x5e487b46
mul dword [esp + 0xd8]
mov eax, dword [esp + 0xd8]
sub dword [esp + 0xac], 0x5ed693dd
mov eax, 0x770126fa
mul dword [esp + 0xb8]
mov eax, dword [esp + 0xb8]
add dword [esp + 0xcc], 0x6e48f470
mov eax, 0x2df7e0ca
mul dword [esp + 0x70]
mov eax, dword [esp + 0x70]
sub dword [esp + 0xc], 0x2c086fb8
mov eax, 0x57912583
mul dword [esp + 0x68]
mov eax, dword [esp + 0x68]
add dword [esp + 0x4c], 0x7a5707d6
mov eax, 0x469e1c8f
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0xc8], 0x761228f9
sub dword [esp + 0x14], 0x5c948e58
add dword [esp + 0x2c], 0x21908265
mov eax, 0x65c3de21
mul dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
add dword [esp + 0xb0], 0x57a4b5d
mov eax, 0x6abacb16
mul dword [esp + 0xd8]
mov eax, dword [esp + 0xd8]
cmp dword [0x6fd7f4], 0x84
jne 0x406169
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push 0x4038a0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
mov dword [esp + 0x93c], ebx
fldz
sub esp, 0x10
fst qword [esp + 8]
fstp qword [esp]
call fcn.00408160
push 0x7fc
fstp st(0)
lea eax, [esp + 0x118]
push ebx
push eax
mov dword [esp + 0x11c], 0x30
call fcn.0040b2f0
add esp, 0x1c
lea ecx, [esp + 0x900]
push ecx
push ebx
lea edx, [esp + 0x108]
push edx
push 0x99c
push 0x6fd7f8
call fcn.004086c8
add esp, 0x14
mov dword [esp + 0x93c], 0xffffffff
cmp dword [esp + 0xfc], 0x10
jb 0x406150
mov eax, dword [esp + 0xe8]
push eax
call fcn.0040886a
add esp, 4
mov dword [esp + 0xfc], 0xf
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
mov ecx, dword [0x43eb84]
mov edx, dword [0x43eb58]
mov dword [0x6fd7f4], ecx
mov dword [0x6fe194], edx
call fcn.004052e0
mov ecx, dword [esp + 0x934]
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10