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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
call fcn.101d0688
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [edi + 8]
xor edx, edx
imul esi, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
test byte [eax + 0x94], 0x80
mov ebx, dword [eax + 0x50]
je 0x101d0351
cmp dword [edi + 0x334], edx
jne 0x101d0351
push dword [edi + 0x2cc]
mov ecx, edi
call fcn.101d025b
mov ecx, dword [ebp + 0xc]
test eax, eax
je 0x101d0351
mov eax, dword [edi + 8]
inc ecx
mov dword [eax + 0x2c], ecx
mov ecx, edi
call fcn.101d0953
jmp 0x101d067a
mov eax, ebx
and eax, 0x40
mov dword [ebp - 4], eax
jne 0x101d0368
push ecx
push 0x10098a40
call fcn.100d3a8b
pop ecx
pop ecx
mov ecx, dword [edi + 8]
xor edx, edx
cmp dword [ecx + 0x44], edx
je 0x101d03f9
cmp dword [ecx + 0x48], edx
je 0x101d03f9
mov eax, dword [edi + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], eax
mov eax, edx
or eax, dword [ebp - 8]
mov dword [ebp - 0x18], edx
je 0x101d03f7
test bl, bl
jns 0x101d03f7
mov edx, dword [ecx + 0x38]
add edx, dword [ebp - 0x18]
push dword [ecx + 0x50]
mov eax, dword [ecx + 0x3c]
adc eax, dword [ebp - 8]
mov ecx, dword [ecx + 0x48]
push eax
push edx
mov edx, esi
call fcn.101ce3bc
test eax, eax
mov eax, dword [edi + 8]
jne 0x101d03dd
mov dword [eax + 0x74], 1
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [esi + 0x38]
add edx, dword [ecx + 0x10]
mov eax, dword [esi + 0x3c]
adc eax, dword [ecx + 0x14]
mov dword [esi + 0x78], edx
mov dword [esi + 0x7c], eax
xor eax, eax
jmp 0x101d067a
add dword [eax + 0x48], esi
xor edx, edx
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], 1
mov ecx, dword [eax + 0x48]
mov dword [ebp - 0x20], ecx
mov dword [eax + 0x44], edx
jmp 0x101d03f9
xor edx, edx
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x90]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x101d0472
mov eax, dword [edi + 0x18]
test eax, eax
je 0x101d0415
cmp word [eax], dx
jne 0x101d0472
cmp dword [edi + 0x10], 0xe
je 0x101d0421
cmp dword [edi + 0x10], 0xc
jne 0x101d042e
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x101d0472
cmp word [eax], 0x2a
jne 0x101d0472
mov eax, dword [edi]
mov dword [ecx + 0x20], eax
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [eax + 0x38]
add edx, dword [ecx + 0x10]
mov eax, dword [eax + 0x3c]
adc eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x40], edx
mov dword [ecx + 0x5c], eax
mov dword [ecx + 0x30], esi
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [eax + 0x38]
add edx, dword [ecx + 0x10]
mov eax, dword [eax + 0x3c]
adc eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x60], edx
mov dword [ecx + 0x64], eax
test bl, 0x10
je 0x101d04aa
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.101d0dfa
test eax, eax
jne 0x101d0678
test ebx, 0x4000
je 0x101d0678
push dword [ebp + 0xc]
push 0x10098a4c
call fcn.100d3a8b
pop ecx
pop ecx
jmp 0x101d0678
mov eax, ebx
and eax, 0x1000
mov dword [ebp - 0x10], eax
je 0x101d04f6
mov edx, dword [edi + 8]
mov eax, dword [edx + 0x90]
test eax, eax
je 0x101d04ec
mov eax, dword [edi + 0x18]
test eax, eax
je 0x101d04d1
xor ecx, ecx
cmp word [eax], cx
jne 0x101d04ec
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x10]
add ecx, dword [edx + 0x38]
mov eax, dword [eax + 0x14]
adc eax, dword [edx + 0x3c]
mov edx, dword [edx + 0x90]
mov dword [edx + 0x68], ecx
mov dword [edx + 0x6c], eax
mov eax, dword [edi + 8]
and dword [eax + 0x94], 0xfffffffd
test bl, bl
js 0x101d0678
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x10]
or eax, dword [ecx + 0x14]
jne 0x101d0531
test byte [edi + 0xd0], 8
je 0x101d0531
mov eax, dword [edi + 0xcc]
mov edx, dword [edi + 0xc8]
mov dword [ebp - 8], eax
mov eax, edx
or eax, dword [ebp - 8]
je 0x101d0531
mov eax, dword [ebp - 8]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x10]
or eax, dword [ecx + 0x14]
je 0x101d054f
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.101d0dfa
test eax, eax
jne 0x101d0678
xor eax, eax
mov ecx, eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x10], 0
je 0x101d0583
mov eax, dword [edi + 8]
and dword [eax + 0x50], 0xffffefff
mov eax, dword [edi + 8]
or dword [eax + 0x50], 0x10
mov eax, dword [edi + 8]
inc word [eax + 0x54]
mov eax, dword [edi + 8]
xor edx, edx
cmp word [eax + 0x54], dx
je 0x101d0603
test byte [eax + 0x58], 0x10
je 0x101d0603
test ebx, 0x2001
jne 0x101d05f0
mov edx, dword [ebp - 4]
test edx, edx
jne 0x101d05b1
push 2
xor ecx, ecx
pop edx
inc ecx
call fcn.100d335e
mov edx, dword [ebp - 4]
xor eax, eax
mov ecx, eax
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 8]
movzx eax, word [eax + 0x54]
imul eax, eax, 3
test eax, eax
jle 0x101d05ed
test edx, edx
jne 0x101d05db
push 0x1005d9d0
call fcn.100d3a8b
mov edx, dword [ebp - 4]
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [edi + 8]
inc ecx
mov dword [ebp - 0xc], ecx
movzx eax, word [eax + 0x54]
imul eax, eax, 3
cmp ecx, eax
jl 0x101d05c6
mov ecx, dword [ebp - 8]
cmp dword [ebp - 4], 0
jne 0x101d0603
push ecx
push 0x10098a64
call fcn.100d3a8b
pop ecx
pop ecx
mov ecx, edi
call fcn.101d0953
mov edx, eax
test edx, edx
je 0x101d064a
cmp dword [ebp - 0x10], 0
je 0x101d0622
mov ecx, dword [edi + 8]
mov eax, 0xffff
add word [ecx + 0x54], ax
mov eax, dword [edi + 0xc]
push 0
pop ecx
add dword [eax + 0x10], edx
mov edx, dword [ebp - 0x14]
adc dword [eax + 0x14], ecx
mov eax, edx
or eax, dword [ebp - 0x18]
je 0x101d064d
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp + 0xc]
jb 0x101d0565
jmp 0x101d064d
mov edx, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], 0
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 8]
mov dword [eax + 0x50], ebx
je 0x101d0678
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x48], ecx
mov eax, dword [edi + 8]
mov dword [eax + 0x44], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc