Function at 0x100024a7
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push 4
push 0x1000
push 0x8000
push 0
call fcn.1000341c
mov dword [ebp - 4], eax
test eax, eax
je 0x100027c1
push 4
push 0x1000
push 0x8000
push 0
call fcn.1000341c
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100027b2
push 0x8000
push dword [ebp - 0xc]
push dword [0x68b35ac]
call fcn.1000346a
push 0x68b1299
push dword [ebp - 0xc]
call fcn.10003488
push 0
push dword [ebp - 0xc]
call fcn.10003464
push 0x68b12b9
push dword [ebp - 0xc]
call fcn.10003488
push 0
push dword [ebp - 0xc]
call fcn.10003464
push 0x8000
push dword [ebp - 0xc]
push dword [ebp - 0xc]
call fcn.100033ec
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.10003494
push dword [ebp - 4]
call fcn.1000349a
shl eax, 1
mov esi, dword [ebp - 4]
lea esi, [eax + esi]
std
lodsw ax, word [esi]
cmp ax, 0x5c
jne 0x10002556
cld
mov word [esi + 2], 0
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.1000348e
test eax, eax
jne 0x10002592
push eax
push eax
push 3
push eax
push 1
push 0x80000000
push dword [ebp + 8]
call fcn.1000343a
mov dword [0x68b3560], eax
jmp 0x100027a3
call fcn.10002313
test eax, eax
je 0x100027a3
push eax
push dword [0x68b35b0]
push eax
push dword [ebp - 0xc]
push 0x68b12c5
push dword [ebp - 0xc]
call fcn.1000350c
add esp, 0x14
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
push 0
push dword [0x68b3584]
call fcn.10003404
xor ecx, ecx
push ecx
push pe_nt_image_headers32
push 3
push ecx
push ecx
push 0x80000000
push dword [ebp + 8]
call fcn.1000343a
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x100027a3
xor ecx, ecx
push ecx
push 6
push 2
push ecx
push ecx
push 0x40000000
push dword [ebp - 0xc]
call fcn.1000343a
mov dword [0x68b3560], eax
cmp eax, 0xffffffff
je 0x100027a3
push 0
lea eax, [ebp - 8]
push eax
push 0x8000
push dword [ebp - 4]
push dword [ebp - 0x14]
call fcn.1000347c
cmp dword [ebp - 8], 0
je 0x1000264f
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
push dword [0x68b3560]
call fcn.10003458
jmp 0x1000261a
push dword [ebp - 0x14]
call fcn.100033b0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
add eax, 0x24
mov eax, dword [eax + 4]
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push eax
call fcn.1000343a
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.10003470
push dword [ebp - 0x14]
call fcn.100033b0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [0x68b3560]
call fcn.10003482
push dword [0x68b3560]
call fcn.100033b0
push dword [0x68b35a4]
push dword [ebp - 4]
call fcn.1000345e
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x40000
push 0
push 0
push 0
push dword [ebp - 4]
push dword [0x68b35a0]
call fcn.10003536
test eax, eax
jne 0x100027a3
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x68b12db
call fcn.1000352a
push dword [ebp - 0x1c]
push 4
push dword [ebp - 0x18]
call fcn.1000354e
test eax, eax
jne 0x100027a3
push dword [ebp - 0x18]
call fcn.10003530
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x60006
push 0
push 0
push 0
push dword [ebp - 4]
push dword [0x68b35a0]
call fcn.10003536
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 1
push 0
push dword [0x68b35a8]
push dword [ebp - 0x18]
call fcn.10003554
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x68b12ea
call fcn.1000352a
push dword [ebp - 0x1c]
push 4
push dword [ebp - 0x18]
call fcn.1000354e
push dword [ebp - 0x18]
call fcn.10003530
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push 1
push 0x80000000
push dword [ebp - 0xc]
call fcn.1000343a
mov dword [0x68b3560], eax
push 0x8000
push 0
push dword [ebp - 0xc]
call fcn.10003422
push 0x8000
push 0
push dword [ebp - 4]
call fcn.10003422
leave
ret 4