Function at 0x101b33d0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
mov eax, dword [0x10597da4]
xor eax, esp
mov dword [esp + 0x50], eax
push ebp
mov ebp, dword [esp + 0x5c]
lea eax, [esp + 0x28]
push esi
push 0x2c
xor esi, esi
push esi
push eax
call fcn.1026e960
lea eax, [esp + 0x1c]
push eax
call fcn.101c0ad0
mov eax, dword [esp + 0x78]
add esp, 0x10
and eax, 0xffffff00
cmp eax, 0x100
je 0x101b3423
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1026a6d5
add esp, 0x54
ret
test ebp, ebp
je 0x101b3410
push ebx
mov ebx, dword [ebp]
mov ebp, dword [ebp + 4]
test ebx, ebx
je 0x101b378d
cmp ebp, 0x14
jb 0x101b378d
movzx ecx, byte [ebx + 3]
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx]
shl ecx, 8
or ecx, eax
cmp ecx, 0x46464952
jne 0x101b378d
movzx ecx, byte [ebx + 0xb]
movzx eax, byte [ebx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 8]
shl ecx, 8
or ecx, eax
cmp ecx, 0x50424557
jne 0x101b378d
push 0x108
call fcn.101b1cc0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x101b378d
movzx ecx, byte [ebx + 0xf]
movzx eax, byte [ebx + 0xe]
push edi
lea edi, [ebx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, dword [0x102eeb9c]
je 0x101b34eb
cmp ecx, dword [0x102eeba8]
je 0x101b34eb
cmp ecx, dword [0x102eeb60]
jne 0x101b375c
movzx ecx, byte [ebx + 7]
movzx eax, byte [ebx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 4]
shl ecx, 8
or ecx, eax
cmp ecx, 0xfffffff6
ja 0x101b375c
lea eax, [ecx + 1]
and eax, 0xfffffffe
add eax, 8
mov dword [esp + 0x2c], eax
cmp eax, 8
jb 0x101b375c
cmp eax, ebp
ja 0x101b375c
add eax, 8
cmp ebp, eax
push 0x24
cmova ebp, eax
add ebx, ebp
sub ebp, 0xc
push 0
push 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebp
call fcn.101b5d30
mov esi, eax
add esp, 0xc
test esi, esi
je 0x101b375c
push esi
call fcn.101c0fd0
add esp, 4
cmp edi, ebx
je 0x101b3726
nop
push dword [esp + 0x6c]
lea eax, [esp + 0x1c]
push dword [esp + 0x30]
push ebp
push edi
push eax
call fcn.101b3ae0
add esp, 0x14
cmp eax, 1
jne 0x101b375c
mov ebx, dword [esp + 0x24]
push dword [esp + 0x18]
inc ebx
and ebx, 0xfffffffe
add ebx, 8
call fcn.101c0b20
mov ebp, eax
add esp, 4
mov ecx, ebp
sub ecx, 3
je 0x101b36b7
sub ecx, 2
je 0x101b368e
sub ecx, 1
je 0x101b365a
cmp dword [esi + 0x1c], 0
jne 0x101b375c
lea eax, [esp + 0x34]
cmp dword [eax + ebp*4], 0
lea eax, [eax + ebp*4]
jne 0x101b35f5
push ebp
push dword [esp + 0x14]
call fcn.101c1370
mov dword [esp + ebp*4 + 0x3c], eax
add esp, 8
lea eax, [esp + 0x34]
lea eax, [eax + ebp*4]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101c0d70
add esp, 8
cmp eax, 1
jne 0x101b375c
test ebp, ebp
jne 0x101b3703
cmp ebx, 0x12
jb 0x101b375c
movzx ecx, byte [edi + 0xe]
movzx eax, byte [edi + 0xd]
mov edx, dword [esp + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xc]
shl ecx, 8
or ecx, eax
inc ecx
mov dword [edx + 0x1c], ecx
movzx ecx, byte [edi + 0x11]
movzx eax, byte [edi + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xf]
shl ecx, 8
or ecx, eax
inc ecx
mov dword [edx + 0x20], ecx
jmp 0x101b3703
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101c0d20
add esp, 8
cmp eax, 1
jne 0x101b375c
push esi
call fcn.101b3a20
add esp, 4
test eax, eax
je 0x101b375c
mov dword [esi + 0x1c], 0
jmp 0x101b36e8
cmp dword [esi + 4], 0
lea eax, [esi + 4]
jne 0x101b375c
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101c0d20
add esp, 8
cmp eax, 1
jne 0x101b375c
mov dword [esi + 0x1c], eax
jmp 0x101b3703
cmp dword [esi + 0x1c], 0
jne 0x101b375c
push esi
push dword [esp + 0x70]
lea eax, [esp + 0x20]
push eax
call fcn.101b3eb0
add esp, 0xc
test eax, eax
je 0x101b375c
lea eax, [esp + 0x18]
push eax
call fcn.101c0e00
add esp, 4
push dword [esp + 0x10]
push esi
call fcn.101c1120
add esp, 8
cmp eax, 1
jne 0x101b375c
push esi
call fcn.101c0fd0
add esp, 4
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x18]
sub ebp, ebx
add edi, ebx
push eax
mov dword [esp + 0x18], ebp
call fcn.101c0ad0
add esp, 4
cmp edi, dword [esp + 0x30]
jne 0x101b3570
cmp dword [esi + 0x1c], 0
jne 0x101b375c
mov ebx, dword [esp + 0x10]
push ebx
call fcn.101c13e0
add esp, 4
cmp eax, 1
jne 0x101b375c
push esi
call fcn.101c1040
add esp, 4
mov eax, ebx
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1026a6d5
add esp, 0x54
ret
lea eax, [esp + 0x18]
push eax
call fcn.101c0e00
push esi
call fcn.101c1040
push dword [esp + 0x18]
call fcn.101b1d10
add esp, 0xc
xor eax, eax
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.1026a6d5
add esp, 0x54
ret
mov ecx, dword [esp + 0x5c]
xor eax, eax
pop ebx
pop esi
pop ebp
xor ecx, esp
call fcn.1026a6d5
add esp, 0x54
ret