Function at 0x415c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476a10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x49cadc]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call fcn.00405e00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 1
call fcn.004063a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 2
call fcn.004063a0
mov ecx, dword [esp + 0x38]
push 0
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.0040c690
mov ebx, 4
push 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], ebx
call fcn.0040d9e0
test al, al
jne 0x415d67
mov eax, dword [0x49cadc]
test eax, eax
jne 0x415d1f
mov eax, 0x4ac030
mov edx, dword [0x4809e4]
lea ecx, [esp + 0x38]
push edx
push 0
push eax
call fcn.00403dd0
lea eax, [esp + 0x38]
push 0
push eax
push 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 5
call fcn.0040d320
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x30], bl
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x415d67
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x415d67
call fcn.00403dc0
lea edx, [esp + 0x38]
push 0
push edx
lea ecx, [esp + 0x10]
call fcn.0040e190
push eax
mov ecx, esi
mov byte [esp + 0x34], 6
call fcn.004047b0
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], bl
lea ecx, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 0xffffffff
je 0x415da3
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x415da3
call fcn.00403dc0
lea ecx, [esi + 8]
lea edx, [esp + 0x38]
push ecx
push esi
push edx
call fcn.0040d060
add esp, 0xc
add esi, 4
push eax
mov ecx, esi
mov byte [esp + 0x34], 7
call fcn.004047b0
mov eax, dword [esp + 0x38]
mov byte [esp + 0x30], bl
lea ecx, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 0xffffffff
je 0x415de4
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x415de4
call fcn.00403dc0
mov ecx, dword [esi]
pop esi
pop ebx
mov eax, dword [ecx - 8]
test eax, eax
jne 0x415e79
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], 0xa
mov eax, dword [edx - 0xc]
lea ecx, [edx - 0xc]
cmp eax, 0xffffffff
je 0x415e16
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x415e16
call fcn.00403dc0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 9
lea ecx, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 0xffffffff
je 0x415e36
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x415e36
call fcn.00403dc0
lea ecx, [esp + 4]
mov byte [esp + 0x28], 8
call fcn.00406000
mov ecx, dword [esp]
mov dword [esp + 0x28], 0xffffffff
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x415e66
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x415e66
call fcn.00403dc0
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], 0xd
mov eax, dword [edx - 0xc]
lea ecx, [edx - 0xc]
cmp eax, 0xffffffff
je 0x415e9c
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x415e9c
call fcn.00403dc0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], 0xc
lea ecx, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 0xffffffff
je 0x415ebc
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x415ebc
call fcn.00403dc0
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0xb
call fcn.00406000
mov ecx, dword [esp]
mov dword [esp + 0x28], 0xffffffff
add ecx, 0xfffffff4
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x415eec
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x415eec
call fcn.00403dc0
mov ecx, dword [esp + 0x20]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x2c
ret 4