Function at 0x101498d
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x101f926
call fcn.01015db4
sub esp, 0x9c
mov eax, dword [0x102164c]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], eax
push edi
mov esi, ecx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xa0]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.01013763
cmp eax, ebx
jge 0x1014926
or dword [esi + 0x10], 0xffffffff
jmp 0x1014929
mov dword [esi + 0x10], edi
mov edx, dword [esi + 0x1c]
or dword [esi + 0xc], 0xffffffff
or dword [esi + 4], 0xffffffff
xor eax, eax
cmp edx, ebx
jbe 0x101495b
mov ecx, dword [esi + 0x3c]
mov edi, dword [ecx]
cmp edi, dword [ebp - 0xa0]
jne 0x1014952
mov edi, dword [ecx + 4]
cmp edi, dword [ebp - 0x9c]
je 0x101495b
inc eax
add ecx, 0x40
cmp eax, dword [esi + 0x1c]
jb 0x101493d
cmp eax, edx
jb 0x1014a69
xor edi, edi
cmp dword [esi + 0x14], ebx
jbe 0x10149c8
mov eax, dword [esi + 0x18]
mov eax, dword [eax + edi*4]
cmp eax, ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], eax
jbe 0x10149b4
mov eax, dword [esi + 0x38]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0xa0]
jne 0x101499b
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x9c]
je 0x10149b4
inc dword [ebp - 0x98]
mov ecx, dword [esi + 0x18]
mov edx, dword [ebp - 0x98]
add eax, 0x88
cmp edx, dword [ecx + edi*4]
jb 0x1014986
mov eax, dword [ebp - 0x94]
cmp dword [ebp - 0x98], eax
jb 0x10149c8
inc edi
cmp edi, dword [esi + 0x14]
jb 0x101496a
cmp edi, dword [esi + 0x14]
jae 0x1014b2c
mov ecx, dword [esi + 0x34]
mov eax, edi
imul eax, eax, 0xa8
mov eax, dword [ecx + eax + 0x90]
add eax, 0x20
push eax
call fcn.0101611a
pop ecx
push eax
lea ecx, [ebp - 0x90]
mov dword [esi + 4], edi
call fcn.010076d5
cmp eax, ebx
jl 0x1014b2c
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
mov dword [ebp - 0x94], 1
jle 0x1014b2c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + ecx*4]
cmp dword [eax + 0x18], 1
je 0x1014a4c
cmp dword [eax + 0x18], 2
je 0x1014a4c
mov ebx, dword [ebp - 0x98]
mov edx, dword [esi + 0x38]
imul ebx, ebx, 0x88
mov edx, dword [edx + edi*4]
mov eax, dword [eax + 0x10]
cmp eax, dword [edx + ebx + 0x7c]
je 0x1014a52
inc dword [ebp - 0x94]
inc ecx
cmp ecx, dword [ebp - 0x1c]
jl 0x1014a19
cmp ecx, dword [ebp - 0x1c]
jge 0x1014b2c
mov eax, dword [ebp - 0x94]
mov dword [esi + 0xc], eax
jmp 0x1014b2c
mov ecx, dword [esi + 0x3c]
shl eax, 6
add eax, ecx
cmp dword [eax + 0xc], 2
jne 0x1014b2c
mov ecx, dword [esi]
mov edx, dword [ecx]
lea edi, [ebp - 0xa8]
push edi
lea edi, [ebp - 0xa4]
push edi
push dword [eax + 4]
push dword [eax]
push ecx
call dword [edx + 0x70]
cmp eax, ebx
jl 0x1014b2c
cmp dword [ebp - 0xa4], ebx
je 0x1014ac6
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [eax + 4]
push eax
mov dword [ebp - 0x9c], ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1014ad2
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
xor ecx, ecx
cmp dword [esi + 0x14], ebx
jbe 0x1014b24
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx*4]
xor edx, edx
cmp eax, ebx
mov dword [ebp - 0x94], eax
jbe 0x1014b16
mov eax, dword [esi + 0x38]
mov eax, dword [eax + ecx*4]
mov edi, dword [eax]
cmp edi, dword [ebp - 0xa0]
jne 0x1014b06
mov edi, dword [eax + 4]
cmp edi, dword [ebp - 0x9c]
je 0x1014b14
mov edi, dword [esi + 0x18]
inc edx
add eax, 0x88
cmp edx, dword [edi + ecx*4]
jb 0x1014af1
xor ebx, ebx
cmp edx, dword [ebp - 0x94]
jb 0x1014b24
inc ecx
cmp ecx, dword [esi + 0x14]
jb 0x1014ad9
cmp ecx, dword [esi + 0x14]
jae 0x1014b2c
mov dword [esi + 4], ecx
mov esi, dword [esi + 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.0100644b
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0101522e
leave
ret 4