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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x1003a084]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov ebx, ecx
mov dword [esp + 0x34], edx
mov ecx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], edi
test ecx, ecx
jne 0x1001bc96
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10037970
mov esp, ebp
pop ebp
ret 0x38
mov eax, dword [ebx + 0x78]
lea edx, [esp + 0x28]
push edx
push 0
push ecx
mov esi, dword [eax]
push eax
mov esi, dword [esi + 4]
mov ecx, esi
call dword [0x1003b29c]
call esi
mov dword [esp + 0x14], eax
test eax, eax
js 0x1001bce5
mov edi, dword [ebx + 0x78]
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x1003b29c]
mov edx, dword [esp + 0x28]
mov ecx, edi
call esi
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jne 0x1001bd35
mov dword [esp + 0x14], 0x80004005
xor edi, edi
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x28]
test edx, edx
je 0x1001c334
test edi, edi
je 0x1001c31f
mov edi, dword [ebp + 8]
test edi, edi
je 0x1001c334
mov eax, dword [ebx + 0x3c]
lea ecx, [esp + 0x28]
push 0
push 0
push 0
mov esi, dword [eax]
push ecx
push 1
push eax
mov esi, dword [esi + 0x18]
mov ecx, esi
call dword [0x1003b29c]
call esi
inc dword [esp + 0x28]
sub edi, 1
jne 0x1001bd07
jmp 0x1001c334
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x1001bd7b
mov eax, dword [ebp + 8]
cmp eax, 0x3fffffff
ja 0x1001bd63
mov ecx, dword [0x1003a494]
shl eax, 2
push eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x1003b29c]
call esi
jmp 0x1001bd65
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
test eax, eax
jne 0x1001bd7b
mov dword [esp + 0x14], 0x8007000e
jmp 0x1001bce3
mov esi, dword [ebp + 8]
cmp esi, 0x38e38e3
ja 0x1001c310
lea eax, [esi + esi*8]
shl eax, 3
push eax
call dword [sym.imp.MSDART.DLL_mpMalloc]
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
je 0x1001c310
mov edx, edi
test esi, esi
je 0x1001bdd0
mov dword [esp + 0x1c], esi
mov esi, edx
mov edi, eax
mov ecx, 0x11
add eax, 0x48
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x70]
add edx, ecx
sub dword [esp + 0x1c], 1
jne 0x1001bdb0
mov edi, dword [esp + 0x10]
jmp 0x1001bdd3
mov ecx, dword [ebx + 0x70]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x68]
imul ecx, dword [ebp + 8]
push edx
mov esi, dword [eax]
push ecx
push edi
mov esi, dword [esi + 0xc]
mov ecx, esi
push eax
call dword [0x1003b29c]
call esi
mov dword [esp + 0x14], eax
test eax, eax
js 0x1001c2f3
mov eax, dword [ebp + 8]
mov edx, edi
test eax, eax
je 0x1001be41
mov esi, dword [esp + 0x64]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x20]
mov edi, edx
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
mov dword [edx + 0x20], eax
add esi, 0x48
mov eax, dword [ebx + 0x68]
mov dword [edx + 0x40], eax
add edx, dword [ebx + 0x70]
sub dword [esp + 0x34], 1
mov dword [esp + 0x1c], esi
jne 0x1001be13
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
add edx, ecx
cmp edx, ecx
jb 0x1001c2eb
add edx, dword [ebp + 0x20]
cmp edx, ecx
jb 0x1001c2eb
add edx, dword [ebp + 0x28]
cmp edx, ecx
jb 0x1001c2eb
add edx, dword [ebp + 0x30]
cmp edx, ecx
jb 0x1001c2eb
mov esi, dword [ebp + 0x38]
add esi, edx
mov dword [esp + 0x1c], esi
cmp esi, ecx
jb 0x1001c2eb
test byte [ebx + 0x64], 8
je 0x1001beef
test esi, esi
je 0x1001beef
cmp esi, 0x3fffffff
ja 0x1001c2eb
lea eax, [esi*4]
push eax
call dword [sym.imp.MSDART.DLL_mpMalloc]
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
je 0x1001c2eb
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x1c], esi
cmp dword [ebx + 0x68], ecx
jbe 0x1001beef
xor edx, edx
mov edi, eax
jmp 0x1001bed0
mov eax, dword [ebx + 0x6c]
test byte [edx + eax + 0x34], 0x10
je 0x1001bede
mov dword [edi + esi*4], ecx
inc esi
inc ecx
add edx, 0x38
cmp ecx, dword [ebx + 0x68]
jb 0x1001bed0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
test byte [ebx + 0x64], 1
je 0x1001c0b6
mov ecx, dword [ebx + 0x68]
test ecx, ecx
je 0x1001bf2a
mov eax, dword [ebx + 0x6c]
add eax, 0x34
xor edi, edi
test byte [eax], 6
je 0x1001bf0e
inc edi
add eax, 0x38
sub ecx, 1
jne 0x1001bf08
mov dword [esp + 0x20], edi
cmp edi, 0x3fffffff
mov edi, dword [esp + 0x10]
ja 0x1001c2d7
mov eax, dword [esp + 0x20]
shl eax, 2
push eax
call dword [sym.imp.MSDART.DLL_mpMalloc]
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x1001c2d7
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x20], esi
cmp dword [ebx + 0x68], ecx
jbe 0x1001bf7f
xor edx, edx
mov edi, eax
jmp 0x1001bf60
mov eax, dword [ebx + 0x6c]
test byte [edx + eax + 0x34], 6
je 0x1001bf6e
mov dword [edi + esi*4], ecx
inc esi
inc ecx
add edx, 0x38
cmp ecx, dword [ebx + 0x68]
jb 0x1001bf60
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], esi
mov edx, edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x34], edx
test edi, edi
je 0x1001c0be
mov eax, edi
mov dword [esp + 0x5c], edi
xor edi, edi
test esi, esi
je 0x1001c024
mov eax, dword [esp + 0x30]
mov eax, dword [eax + edi*4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebx + 0x6c]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 0x2c]
cmp dword [edx + eax], 0
jne 0x1001c01b
mov eax, dword [ecx + 0x28]
mov esi, dword [eax + edx]
add esi, 2
cmp esi, 2
jb 0x1001bfe9
cmp dword [esp + 0x24], 0
jne 0x1001bff1
mov ecx, dword [ebx + 0x84]
mov edx, esi
call fcn.10034960
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x1001bff1
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebx + 0x6c]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x18], esi
mov esi, dword [esp + 0x20]
mov eax, dword [eax + edx*8 + 0x30]
mov edx, dword [esp + 0x34]
mov dword [edx + eax], ecx
inc edi
cmp edi, esi
jb 0x1001bfa0
mov eax, dword [esp + 0x5c]
add edx, dword [ebx + 0x70]
sub eax, 1
mov dword [esp + 0x34], edx
mov dword [esp + 0x5c], eax
jne 0x1001bf96
cmp dword [esp + 0x24], 0
je 0x1001c04c
mov dword [esp + 0x14], 0x8007000e
jmp 0x1001c2c5
mov edi, dword [esp + 0x18]
test edi, edi
je 0x1001c0be
mov ecx, dword [ebx + 0x84]
mov edx, edi
call fcn.10034960
mov ecx, eax
mov dword [esp + 0x60], ecx
test ecx, ecx
jne 0x1001c080
mov dword [esp + 0x24], 1
mov dword [esp + 0x14], 0x8007000e
jmp 0x1001c2c5
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x68]
push edx
push edi
push ecx
mov esi, dword [eax]
mov dword [esp + 0x38], ecx
push eax
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x1003b29c]
call esi
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
jns 0x1001c0ba
mov dword [esp + 0x24], 1
jmp 0x1001c2b0
xor esi, esi
jmp 0x1001c0be
mov esi, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x38], edi
cmp dword [ebp + 8], edi
jbe 0x1001c2b0
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x10], 1
mov ecx, dword [esp + 0x28]
add ecx, edi
mov eax, dword [eax]
mov dword [eax + edi*4], ecx
xor edi, edi
test esi, esi
je 0x1001c13c
lea esp, [esp]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + edi*4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebx + 0x6c]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 0x2c]
cmp dword [edx + eax], 0
jne 0x1001c137
mov eax, dword [ecx + 0x28]
mov esi, dword [eax + edx]
mov eax, dword [ecx + 0x30]
add esi, 2
push esi
push dword [esp + 0x30]
push dword [eax + edx]
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
add esp, 0xc
add dword [esp + 0x2c], esi
mov esi, dword [esp + 0x20]
inc edi
cmp edi, esi
jb 0x1001c0f0
xor edx, edx
cmp dword [esp + 0x1c], edx
jbe 0x1001c293
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x58]
mov esi, dword [ebp + 0x3c]
shl eax, 4
add esi, 8
add eax, dword [ebp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
shl edi, 4
add edi, dword [ebp + 0x34]
shl eax, 4
add esi, eax
nop
mov eax, dword [esp + 0x40]
mov eax, dword [eax + edx*4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebx + 0x6c]
lea ecx, [eax + ecx*8]
movzx eax, word [ecx + 0xc]
test eax, 0x2000
je 0x1001c1ad
mov ebx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x30]
mov eax, dword [esi]
inc dword [esp + 0x44]
add esi, 0x10
mov dword [ebx + ecx], eax
mov ebx, dword [esp + 0x3c]
jmp case.0x1001c1c7.10
and eax, 0xffff0fff
add eax, 0xfffffff8
cmp eax, 0x82
ja case.0x1001c1c7.10
movzx eax, byte [eax + 0x1001c364]
jmp dword [eax*4 + 0x1001c34c]
mov ebx, dword [esp + 0x48]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx + 0x30]
inc dword [esp + 0x48]
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x10]
mov dword [ebx + ecx], eax
mov ebx, dword [esp + 0x3c]
jmp case.0x1001c1c7.10
mov ecx, dword [ecx + 0x30]
add ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc dword [esp + 0x4c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x18], 0x10
mov eax, dword [eax + 0xc]
jmp 0x1001c281
mov ebx, dword [esp + 0x50]
mov eax, dword [ebp + 0x24]
mov ecx, dword [ecx + 0x30]
inc dword [esp + 0x50]
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x10]
mov dword [ebx + ecx], eax
mov ebx, dword [esp + 0x3c]
jmp case.0x1001c1c7.10
mov ebx, dword [esp + 0x54]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ecx + 0x30]
inc dword [esp + 0x54]
mov eax, dword [eax + ebx*4]
mov ebx, dword [esp + 0x10]
mov dword [ebx + ecx], eax
mov ebx, dword [esp + 0x3c]
jmp case.0x1001c1c7.10
mov ecx, dword [ecx + 0x30]
add ecx, dword [esp + 0x10]
mov eax, dword [edi]
inc dword [esp + 0x58]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
mov dword [ecx + 0xc], eax
inc edx
cmp edx, dword [esp + 0x1c]
jb 0x1001c170
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
inc edi
add edx, dword [ebx + 0x70]
mov dword [esp + 0x10], edx
mov dword [esp + 0x38], edi
cmp edi, dword [ebp + 8]
jb 0x1001c0d1
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1001c2c5
mov ecx, dword [ebx + 0x84]
mov edx, eax
call fcn.10034d60
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1001c2d7
push eax
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1001c2f3
push eax
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
jmp 0x1001c2f3
mov dword [esp + 0x14], 0x8007000e
push dword [esp + 0x64]
call dword [sym.imp.MSDART.DLL_mpFree]
add esp, 4
cmp dword [esp + 0x14], 0
jge 0x1001c334
mov edi, dword [esp + 0x24]
jmp 0x1001bce5
mov dword [esp + 0x14], 0x8007000e
xor edi, edi
jmp 0x1001bce8
mov eax, dword [ebx + 0x78]
push esi
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1003b29c]
call esi
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10037970
mov esp, ebp
pop ebp
ret 0x38