Function at 0x10102f00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.101f5240
mov eax, dword [0x103b9004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1028], edi
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x101030ec
cmp dword [edi + 4], 0
mov eax, dword [edi + 0x60]
jne 0x10102f45
and eax, 0xfffffffe
mov dword [edi + 0x60], eax
cmp dword [edi + 0xc], 0
mov ecx, eax
je 0x10102f57
test al, 2
jne 0x10102f57
and ecx, 0xfffffffe
mov dword [edi + 0x60], ecx
mov eax, dword [edi]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x10102f88
lea ecx, [ebp - 0x1024]
mov dword [ebp - 0x1024], str.Metadata
push ecx
mov ecx, eax
mov dword [ebp - 0x1020], 8
call fcn.1008aeb0
mov ecx, dword [edi + 0x60]
mov dword [edi + 0x2c], eax
test cl, 8
je 0x101030e0
push 0x84
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x101c], esi
test esi, esi
je 0x101030aa
push 0x84
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov dword [esi], 0
add esp, 0xc
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 4
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 4
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 4
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
jmp 0x101030ac
xor esi, esi
push ecx
push 0
mov ecx, esi
mov dword [edi + 0x30], esi
call fcn.10088940
mov dword [esi + 0x7c], 0
mov dword [esi + 0x20], 0
test byte [edi + 0x60], 1
je 0x101030e0
mov eax, dword [edi + 4]
test eax, eax
je 0x101030e0
mov ecx, dword [edi + 0x30]
mov eax, dword [eax + 0x194]
mov dword [ecx + 0x18], eax
mov dword [edi + 0x5c], 0xa
mov eax, 0xa
cmp eax, 0xa
jne 0x101031a6
test byte [edi + 0x60], 1
jne 0x1010318c
push 7
push str._PDF_1.
lea ecx, [edi + 0x3c]
call fcn.1008d210
test eax, eax
js 0x10103377
add dword [edi + 0x58], 7
mov ecx, 7
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x1010312d
mov ecx, eax
jmp 0x1010313a
mov eax, dword [edi + 4]
test eax, eax
je 0x1010313a
mov ecx, dword [eax + 0x188]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
push ecx
lea ecx, [edi + 0x3c]
call fcn.1008d300
test eax, eax
js 0x10103377
add dword [edi + 0x58], eax
lea ecx, [edi + 0x3c]
push 9
push 0x1039dfa4
call fcn.1008d210
test eax, eax
js 0x10103377
add dword [edi + 0x58], eax
mov ecx, edi
call fcn.10102b30
jmp 0x1010347c
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [edi + 0x58], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x5c], 0xf
jmp 0x101031af
cmp eax, 0xf
jne 0x10103483
mov eax, dword [edi + 0x60]
test al, 2
jne 0x1010347c
mov esi, dword [edi + 0x64]
test esi, esi
je 0x1010324e
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x1018], ecx
mov edx, dword [ecx]
mov eax, 0x1000
cmp esi, eax
mov ebx, esi
cmova ebx, eax
mov eax, dword [edi + 0x58]
push ebx
sub eax, esi
push eax
lea eax, [ebp - 0x100c]
push eax
call dword [edx + 0x1c]
test eax, eax
je 0x10103377
push ebx
lea eax, [ebp - 0x100c]
push eax
lea ecx, [edi + 0x3c]
call fcn.1008d210
test eax, eax
js 0x10103377
mov ecx, dword [ebp - 0x1014]
sub esi, ebx
test ecx, ecx
je 0x10103224
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x10103230
test esi, esi
je 0x1010324b
mov ecx, dword [ebp - 0x1018]
jmp 0x101031d1
mov dword [edi + 0x64], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x60]
test al, 2
jne 0x1010347c
mov eax, dword [edi + 4]
cmp dword [eax + 0x194], 0
jne 0x1010347c
mov ecx, edi
call fcn.10102b30
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [edi + 0x60]
shr ecx, 3
and ecx, 1
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1010], ecx
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 4]
test ebx, ebx
js 0x1010329f
cmp ebx, dword [eax + 0x1d0]
jl 0x101032a6
mov byte [0], 0
mov eax, dword [eax + 0x1cc]
cmp byte [ebx + eax], 0
je 0x10103313
mov eax, dword [edi + 4]
test ebx, ebx
js 0x101032c1
cmp ebx, dword [eax + 0x1d0]
jl 0x101032c8
mov byte [0], 0
mov eax, dword [eax + 0x1cc]
cmp byte [ebx + eax], 0xff
je 0x10103313
mov eax, dword [edi + 4]
test ebx, ebx
js 0x101032e3
cmp ebx, dword [eax + 0x1b8]
jl 0x101032ea
mov byte [0], 0
mov eax, dword [eax + 0x1b4]
lea ecx, [edi + 0x6c]
push ebx
lea esi, [eax + ebx*4]
call fcn.10105850
mov ecx, dword [esi]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x1010]
test ecx, ecx
je 0x10103319
mov ecx, dword [edi + 0x30]
push ebx
call fcn.101009e0
mov ecx, dword [ebp - 0x1010]
inc ebx
cmp ebx, dword [ebp - 0x1014]
jbe 0x10103290
test ecx, ecx
je 0x1010347c
test byte [edi + 0x60], 1
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x1014], ecx
jne 0x101033a5
lea ebx, [ecx + 0x70]
mov edx, 1
mov ecx, ebx
call fcn.100ffdd0
mov eax, dword [edi + 0x38]
mov esi, 1
inc eax
cmp eax, esi
jbe 0x10103453
lea eax, [edi + 0x6c]
push esi
mov ecx, eax
call fcn.10105850
mov ecx, ebx
test eax, eax
je 0x1010338d
mov edx, dword [eax]
call fcn.100ffef0
jmp 0x10103394
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret 4
xor edx, edx
call fcn.100ffdd0
mov eax, dword [edi + 0x38]
inc esi
inc eax
cmp esi, eax
lea eax, [edi + 0x6c]
jb 0x10103360
jmp 0x10103453
mov eax, dword [ecx + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1018], eax
test eax, eax
jle 0x10103453
xor ebx, ebx
mov dword [ebp - 0x1010], ebx
test ebx, ebx
js 0x101033d4
cmp ebx, dword [ecx + 8]
jge 0x101033d4
mov eax, dword [ecx + 4]
lea esi, [eax + ebx*4]
jmp 0x101033d6
xor esi, esi
mov esi, dword [esi]
lea eax, [ebx + 1]
test eax, eax
js 0x101033ef
cmp eax, dword [ecx + 8]
jge 0x101033ef
mov eax, dword [ecx + 4]
lea eax, [eax + ebx*4]
add eax, 4
jmp 0x101033f1
xor eax, eax
mov eax, dword [eax]
add eax, esi
mov dword [ebp - 0x1020], eax
cmp esi, eax
jae 0x1010343d
lea eax, [ecx + 0x70]
lea ebx, [edi + 0x6c]
mov dword [ebp - 0x101c], eax
mov edi, dword [ebp - 0x1020]
push esi
mov ecx, ebx
call fcn.10105850
mov ecx, dword [ebp - 0x101c]
mov edx, dword [eax]
call fcn.100ffef0
inc esi
cmp esi, edi
jb 0x10103411
mov edi, dword [ebp - 0x1028]
mov ebx, dword [ebp - 0x1010]
mov ecx, dword [ebp - 0x1014]
add ebx, 2
sub dword [ebp - 0x1018], 1
mov dword [ebp - 0x1010], ebx
jne 0x101033c3
mov ecx, dword [ebp - 0x1014]
push 0
push edi
call fcn.101003c0
mov esi, dword [edi + 0x30]
push ecx
push 0
mov ecx, esi
call fcn.10088940
mov dword [esi + 0x7c], 0
mov dword [esi + 0x20], 0
mov dword [edi + 0x5c], 0x14
mov ecx, edi
call fcn.10102c30
mov eax, dword [edi + 0x5c]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret 4