Function at 0x413840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6238c5
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0xa0], eax
push esi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a23a0
mov dword [esp + 0xb8], 0
push esi
lea ecx, [esp + 0x10]
call fcn.004a2420
xor eax, eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov byte [esp + 0xb8], 1
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], eax
mov word [esp + 0x60], ax
mov byte [esp + 0xb8], 2
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], eax
mov word [esp + 0x90], ax
mov byte [esp + 0xb8], 3
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], eax
mov word [esp + 0x78], ax
mov byte [esp + 0xb8], 4
push 0x1c
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push 0x679ae4
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
call fcn.00403c30
mov byte [esp + 0xb8], 5
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.004a2760
mov byte [esp + 0xb8], 4
cmp dword [esp + 0x40], 8
jb 0x4139bb
push dword [esp + 0x2c]
call fcn.004c56c2
add esp, 4
xor eax, eax
push 0x1c
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push 0x679b20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
call fcn.00403c30
mov byte [esp + 0xb8], 6
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.004a2760
mov byte [esp + 0xb8], 4
cmp dword [esp + 0x28], 8
jb 0x413a31
push dword [esp + 0x14]
call fcn.004c56c2
add esp, 4
xor eax, eax
push 0x1d
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
push 0x679b5c
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
call fcn.00403c30
mov byte [esp + 0xb8], 7
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.004a2760
mov byte [esp + 0xb8], 4
cmp dword [esp + 0x40], 8
jb 0x413aaa
push dword [esp + 0x2c]
call fcn.004c56c2
add esp, 4
xor eax, eax
push 0x1b
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push 0x679bf4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], eax
mov word [esp + 0x1c], ax
call fcn.00403c30
mov byte [esp + 0xb8], 8
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.004a2760
mov byte [esp + 0xb8], 4
cmp dword [esp + 0x28], 8
jb 0x413b20
push dword [esp + 0x14]
call fcn.004c56c2
add esp, 4
xor eax, eax
cmp dword [esp + 0x74], 8
mov word [esp + 0x14], ax
lea eax, [esp + 0x60]
cmovae eax, dword [esp + 0x60]
push eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
call fcn.005eaf27
add esp, 4
mov dword [esp + 0x44], eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00414430
test al, al
jne 0x413bd4
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x413bab
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0xb8], 9
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0xb8], 4
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
push eax
mov eax, dword [0x6d66e8]
push 0x679b98
push 0x6796b0
push 0x6d66e8
call dword [eax + 0x24]
add esp, 0x10
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x8c], 8
jb 0x413bf2
push dword [esp + 0x78]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
mov byte [esp + 0xb8], 2
cmp dword [esp + 0xa4], 8
jb 0x413c30
push dword [esp + 0x90]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], ax
mov byte [esp + 0xb8], 1
cmp dword [esp + 0x74], 8
jb 0x413c6b
push dword [esp + 0x60]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
mov byte [esp + 0xb8], al
cmp dword [esp + 0x5c], 8
jb 0x413c9c
push dword [esp + 0x48]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
mov dword [esp + 0xb8], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004a2410
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 4