Function at 0x41e63f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44eb42
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4651b0]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x4651b0]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, ecx
lea esi, [eax + 0x30]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov dword [esp + 0x14], esi
sar eax, 2
cmp edi, eax
jb 0x41e6a5
mov eax, 0x200
jmp 0x41e892
cmp dword [ebx], 0
jne 0x41e6b2
xor eax, eax
inc eax
jmp 0x41e892
mov dword [esp + 0x18], 0x1000000
call fcn.0041ea75
cmp dword [eax], 0
je 0x41e88e
call fcn.0041ea75
mov eax, dword [eax]
xor esi, esi
cmp dword [eax + 0xc], esi
je 0x41e782
lea eax, [esp + 0x84]
call fcn.004353f2
mov dword [esp + 0x108], esi
mov esi, dword [esp + 0x14]
call fcn.0041ea75
mov eax, dword [eax]
mov eax, dword [eax + 4]
cmp dword [eax + 0x18], 8
jb 0x41e706
mov eax, dword [eax + 4]
jmp 0x41e709
add eax, 4
push eax
lea esi, [esp + 0x88]
call fcn.0043570d
mov dword [esp + 0x18], eax
test al, 1
je 0x41e771
mov esi, dword [esp + 0x14]
call fcn.0041ea75
mov eax, dword [eax]
mov edi, dword [eax + 4]
lea esi, [ebx + 0x28]
call fcn.0041999d
lea ecx, [esp + 0x84]
call fcn.0043572b
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
call fcn.00435739
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
call fcn.00435732
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edx
call fcn.00435720
mov dword [ebx + 0x20], eax
mov eax, ecx
mov dword [ebx + 0x24], edx
call fcn.00435727
mov dword [ebx + 4], eax
lea ecx, [esp + 0x84]
call fcn.00435420
jmp 0x41e88e
mov eax, dword [ebx]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.0041ea75
mov eax, dword [eax]
cmp dword [eax], 0
je 0x41e88e
call fcn.0041ea75
mov eax, dword [eax]
mov eax, dword [eax]
call fcn.00435358
test eax, eax
je 0x41e88e
call fcn.0041ea75
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x41e85c
lea ecx, [esp + 0x4c]
call fcn.00413420
lea esi, [ebx + 0x28]
lea edi, [esp + 0x4c]
mov dword [esp + 0x108], 1
call fcn.0041999d
mov esi, edi
jmp 0x41e889
mov eax, 0x45a650
lea ecx, [esp + 0x84]
call fcn.00413420
lea esi, [ebx + 0x28]
lea edi, [esp + 0x84]
mov dword [esp + 0x108], 2
call fcn.0041999d
mov esi, edi
call fcn.0040ba90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.00438b17
mov esp, ebp
pop ebp
ret 8