Function at 0x40e7d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45febf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], esi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.0040f180
mov dword [edi + 4], eax
lea ebx, [edi + 0xc]
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
mov byte [ebp - 4], 1
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x40], al
call dword [0x46a108]
mov edx, eax
lea ecx, [ebp - 0xb8]
call fcn.0040e730
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
mov edx, dword [esi + 4]
call fcn.0040e730
mov esi, eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0041d760
push 0x54d5f8
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.0040f1b0
push esi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0040f250
push 0x54d5f4
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 6
push eax
call fcn.0040f1b0
push edi
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.0040f250
mov esi, dword [0x46a2c4]
mov edi, eax
add esp, 0x20
cmp ebx, edi
je 0x40e8fa
cmp dword [ebx + 0x14], 8
jb 0x40e8df
push dword [ebx]
call esi
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
push edi
mov word [ebx], ax
call fcn.0040ce20
cmp dword [ebp - 0x5c], 8
jb 0x40e908
push dword [ebp - 0x70]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
cmp dword [ebp - 0x8c], 8
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x40e930
push dword [ebp - 0xa0]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
jb 0x40e95b
push dword [ebp - 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x40e97d
push dword [ebp - 0x40]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x40e99f
push dword [ebp - 0x58]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x40e9c4
push dword [ebp - 0x88]
call esi
add esp, 4
xor eax, eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0xa4], 8
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x40e9f3
push dword [ebp - 0xb8]
call esi
add esp, 4
push ebx
lea eax, [ebp - 0xb8]
push 0x54d5fc
push eax
call fcn.0040f2b0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40ea10
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push 1
push 4
push 3
push eax
call dword [0x46a104]
cmp dword [ebp - 0xa4], 8
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x24], eax
jb 0x40ea3f
push dword [ebp - 0xb8]
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4