Function at 0x1001c9f0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
call fcn.1001c150
mov esi, dword [esp + 0x28]
mov ebp, dword [fcn.10015004]
push 4
push 0x1000
push esi
push 0
mov dword [esp + 0x2c], eax
call ebp
mov ecx, esi
mov esi, dword [esp + 0x24]
mov ebx, eax
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp word [ebx], 0x5a4d
jne 0x1001ca4e
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov dword [esp + 0x28], eax
cmp dword [eax], 0x4550
jne 0x1001ca4e
cmp word [eax + 0x18], 0x10b
je 0x1001ca66
push 0x8000
push 0
push ebx
call dword [fcn.10015000]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov esi, dword [eax + 0x50]
push 0x40
push 0x1000
push esi
push 0
call ebp
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
mov esi, dword [esp + 0x28]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
xor edx, edx
and ecx, 3
mov dword [esp + 0x18], ebp
rep stosb byte es:[edi], al
xor eax, eax
mov ax, word [esi + 6]
test eax, eax
jle 0x1001cab5
add esi, 0x10c
mov ecx, dword [esi]
test ecx, ecx
jne 0x1001cad5
inc edx
add esi, 0x28
cmp edx, eax
jl 0x1001caa5
jmp 0x1001cabd
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x1001cad5
push 0x8000
push 0
push ebp
call dword [fcn.10015000]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, ecx
mov esi, ebx
mov edi, ebp
mov edx, dword [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x24], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp word [edx + 6], 0
jbe 0x1001cb4b
lea eax, [edx + 0x108]
mov esi, dword [esp + 0x28]
mov edx, dword [eax - 4]
mov ecx, dword [eax - 8]
mov edi, dword [esi + 0x50]
add ecx, edx
cmp ecx, edi
ja 0x1001cabd
mov ecx, dword [eax]
test ecx, ecx
je 0x1001cb2f
mov esi, dword [eax + 4]
lea edi, [edx + ebp]
mov edx, ecx
add esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
xor edx, edx
inc ecx
mov dx, word [esi + 6]
add eax, 0x28
cmp ecx, edx
mov dword [esp + 0x24], ecx
jl 0x1001cb00
mov edx, esi
mov edi, dword [edx + 0xa0]
mov eax, dword [edx + 0x34]
mov esi, ebp
add edi, ebp
sub esi, eax
mov eax, dword [edi]
test eax, eax
je 0x1001cbc9
lea ecx, [eax + ebp]
mov eax, dword [edi + 4]
sub eax, 8
lea edx, [edi + 8]
shr eax, 1
test eax, eax
jle 0x1001cbbc
mov ebx, edx
mov dword [esp + 0x24], eax
xor eax, eax
mov ax, word [ebx]
mov edx, eax
shr edx, 0xc
dec edx
je 0x1001cba0
dec edx
je 0x1001cb95
dec edx
jne 0x1001cbae
and eax, 0xfff
add dword [eax + ecx], esi
jmp 0x1001cbae
and eax, 0xfff
add word [eax + ecx], si
jmp 0x1001cbae
mov edx, esi
and eax, 0xfff
shr edx, 0x10
add word [eax + ecx], dx
mov eax, dword [esp + 0x24]
add ebx, 2
dec eax
mov dword [esp + 0x24], eax
jne 0x1001cb78
add edi, dword [edi + 4]
mov eax, dword [edi]
test eax, eax
jne 0x1001cb60
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x80]
xor esi, esi
add eax, ebp
mov dword [esp + 0x14], esi
mov edi, dword [eax + 0xc]
lea ecx, [eax + 0xc]
test edi, edi
je 0x1001cbf0
mov edi, dword [ecx + 0x14]
add ecx, 0x14
inc esi
test edi, edi
jne 0x1001cbe1
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x24], 0
jle 0x1001cc83
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [esi - 4]
add eax, ebp
push eax
call dword [0x1001502c]
mov edi, eax
test edi, edi
je 0x1001cacb
mov eax, dword [esi]
lea ecx, [eax + ebp]
mov eax, dword [esi - 0x10]
test eax, eax
je 0x1001cc2d
add eax, ebp
jmp 0x1001cc2f
mov eax, ecx
mov edx, dword [eax]
mov ebx, eax
test edx, edx
je 0x1001cc67
mov esi, ecx
mov eax, dword [ebx]
test eax, 0x80000000
je 0x1001cc4a
and eax, 0xffff
push eax
jmp 0x1001cc4f
lea ecx, [eax + ebp + 2]
push ecx
push edi
call dword [0x10015028]
add ebx, 4
mov dword [esi], eax
add esi, 4
cmp dword [ebx], 0
jne 0x1001cc39
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
inc eax
add esi, 0x14
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], esi
jl 0x1001cc07
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x7c]
test eax, eax
je 0x1001ccf5
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
lea edi, [ecx + eax]
mov eax, dword [edx + 0x78]
add eax, ebp
mov esi, edi
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
add eax, ebp
lea ebx, [ecx + ecx*4]
shl ebx, 1
sub esi, ebx
test ecx, ecx
jle 0x1001cccd
mov edx, esi
sub eax, esi
mov ebx, ecx
mov ebp, dword [eax + edx]
add edx, 4
add ebp, dword [esp + 0x18]
dec ebx
mov dword [edx - 4], ebp
jne 0x1001ccb5
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
lea eax, [ecx + ecx*2]
shl eax, 1
sub edi, eax
test ecx, ecx
jle 0x1001ccf5
mov edx, esi
lea eax, [edi + 2]
mov bl, 0x25
mov byte [eax - 2], 0xff
mov byte [eax - 1], bl
mov dword [eax], edx
add edx, 4
add eax, 6
dec ecx
jne 0x1001ccdf
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc4]
test eax, eax
je 0x1001cda1
mov ecx, dword [edx + 0xc0]
xor esi, esi
mov eax, dword [ecx + ebp + 0xc]
mov dword [esp + 0x24], eax
cmp dword [eax], 0
je 0x1001cd23
mov ecx, dword [eax + 4]
add eax, 4
inc esi
test ecx, ecx
jne 0x1001cd18
lea ebx, [esi*4 + 4]
push 4
push 0x1000
push ebx
push 0
call dword [fcn.10015004]
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [0x10023008], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
test esi, esi
jle 0x1001cd71
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, esi
mov edx, dword [ecx + eax*4 - 4]
mov ecx, dword [0x10023008]
mov dword [ecx + eax*4 - 4], edx
jl 0x1001cd5a
mov eax, dword [0x10022ff8]
mov dword [0x10022ff4], 1
test eax, eax
je 0x1001cd9d
mov edx, dword [0x10023004]
mov eax, dword [0x10023000]
mov ecx, dword [0x10022ffc]
push edx
push eax
push ecx
call fcn.1001c090
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x28]
pop edi
add edx, ebp
pop esi
pop ebp
mov dword [0x10023010], edx
mov eax, 1
pop ebx
add esp, 0x10
ret