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

Disassembly:
push 0xffffffffffffffff
push 0x100205d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
call fcn.1000be20
mov ebp, dword [esp + 0xc4]
mov esi, eax
xor ebx, ebx
cmp esi, 2
mov dword [esp + 0x24], edx
jne 0x1000dd9f
mov eax, edx
cmp eax, ebx
jne 0x1000dd9f
lea eax, [ebp + 0xe0]
mov ecx, edi
push eax
call fcn.1000c330
mov ecx, dword [edi + 0x38]
call fcn.1000be20
mov esi, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp esi, 3
mov dword [esp + 0xbc], ebx
jne 0x1000de75
cmp dword [esp + 0x24], ebx
jne 0x1000de75
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xcc]
push ecx
mov ecx, dword [esp + 0xcc]
push edx
push eax
mov eax, dword [ebp + 0xf4]
lea edx, [esp + 0x38]
lea esi, [ebp + 0x100]
push ecx
mov ecx, dword [ebp + 0xf0]
push edx
push esi
push eax
push ecx
mov ecx, edi
call fcn.1000d900
cmp eax, ebx
mov dword [esp + 0x38], eax
je 0x1000de4d
mov edi, dword [esp + 0x30]
cmp edi, ebx
je 0x1000de37
mov edx, dword [esp + 0x2c]
dec edi
mov esi, dword [edx + edi*4]
cmp esi, ebx
je 0x1000de33
mov eax, dword [esi]
push eax
call sub.MSVCRT.dll_free
push esi
call sub.MSVCRT.dll_free
add esp, 8
cmp edi, ebx
jne 0x1000de16
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0x3c]
add esp, 4
jmp 0x1000e675
mov edx, dword [ebp + 0xf0]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add eax, edx
mov dword [esi], eax
mov eax, dword [ebp + 0xf4]
adc ecx, eax
mov dword [esi + 4], ecx
mov ecx, dword [edi + 0x38]
call fcn.1000be20
mov esi, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
lea ecx, [esp + 0xa8]
mov byte [esp + 0xbc], 1
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
call fcn.10005340
cmp esi, 4
mov byte [esp + 0xbc], 2
jne 0x1000df06
cmp dword [esp + 0x24], ebx
jne 0x1000df06
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x74]
push ecx
lea esi, [ebp + 0xf8]
push edx
push ebp
lea eax, [esp + 0x38]
push esi
push eax
mov ecx, edi
call fcn.1000d550
mov ecx, dword [ebp + 0xf0]
mov edx, dword [esi]
mov eax, dword [esi + 4]
add edx, ecx
mov dword [esi], edx
mov edx, dword [ebp + 0xf4]
adc eax, edx
mov dword [esi + 4], eax
mov ecx, dword [edi + 0x38]
call fcn.1000be20
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 5
mov dword [ebp + 0x5c], ebx
jne 0x1000e60f
cmp dword [esp + 0x24], ebx
jne 0x1000e60f
mov ecx, dword [edi + 0x38]
call fcn.1000bf70
lea esi, [ebp + 0x58]
push eax
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.1000f200
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
lea esi, [ebp + 0x108]
mov ecx, esi
call fcn.1000f0c0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [edx + ecx*8], 9
mov dword [edx + ecx*8 + 4], ebx
mov edx, dword [esi + 4]
inc edx
mov ecx, esi
mov dword [esi + 4], edx
call fcn.1000f0c0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [ecx + eax*8], 6
mov dword [ecx + eax*8 + 4], ebx
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x14]
inc ecx
cmp eax, ebx
mov dword [esi + 4], ecx
jbe 0x1000dfab
cmp dword [esp + 0xa0], ebx
je 0x1000dfab
mov ecx, esi
call fcn.1000f0c0
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [eax + edx*8], 0xa
mov dword [eax + edx*8 + 4], ebx
mov eax, dword [esi + 4]
inc eax
mov dword [esi + 4], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x50]
push ecx
push edx
mov byte [esp + 0xc4], 3
call fcn.100042b0
add esp, 8
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov ecx, dword [edi + 0x38]
xor esi, esi
mov byte [esp + 0xbc], 5
mov dword [esp + 0x1c], esi
call fcn.1000be20
mov dword [esp + 0x20], eax
or eax, edx
mov dword [esp + 0x24], edx
je 0x1000e419
mov ecx, dword [edi + 0x38]
call fcn.1000be20
mov ecx, dword [edi + 0x38]
mov esi, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + 4]
mov ebx, dword [ecx + 8]
sub eax, ebx
xor ebx, ebx
cmp edx, ebx
jb 0x1000e03d
ja 0x1000e038
cmp esi, eax
jbe 0x1000e03d
call fcn.1000bce0
mov byte [esp + 0x84], 0
mov byte [esp + 0x85], 0
mov eax, dword [edi + 0x38]
push 1
push esi
mov byte [esp + 0xc4], 6
mov ecx, dword [eax + 8]
mov esi, dword [eax]
add ecx, esi
push ecx
push edi
lea ecx, [esp + 0x90]
call fcn.1000bc30
cmp dword [esp + 0x24], ebx
ja case.0x1000e09a.22
jb 0x1000e08a
cmp dword [esp + 0x20], 0x40000000
ja case.0x1000e09a.22
mov edx, dword [esp + 0x20]
lea eax, [edx - 0xe]
cmp eax, 0xb
ja case.0x1000e09a.22
jmp dword [eax*4 + 0x1000e690]
mov byte [esp + 0x44], 0
mov byte [esp + 0x45], 0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x40]
push eax
push edi
mov byte [esp + 0xc4], 7
call fcn.1000bc80
mov eax, dword [edi + 0x38]
mov esi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0xd4]
sub esi, ecx
cmp esi, eax
mov dword [esp + 0x28], esi
je 0x1000e113
mov eax, dword [ebp + 0xd0]
cmp eax, ebx
je 0x1000e0f4
push eax
call sub.MSVCRT.dll_free
add esp, 4
mov dword [ebp + 0xd0], ebx
cmp esi, ebx
mov dword [ebp + 0xd4], ebx
je 0x1000e113
push esi
call fcn.100017f0
add esp, 4
mov dword [ebp + 0xd0], eax
mov dword [ebp + 0xd4], esi
mov eax, dword [ebp + 0xd0]
mov ecx, dword [edi + 0x38]
push esi
push eax
call fcn.1000bd60
mov eax, dword [ebp + 0xd8]
mov esi, dword [ebp + 0x5c]
push eax
call sub.MSVCRT.dll_free
lea ecx, [esi*4 + 4]
mov dword [ebp + 0xd8], ebx
push ecx
call fcn.100017f0
mov dword [ebp + 0xd8], eax
mov eax, dword [ebp + 0x5c]
add esp, 8
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x18], ebx
jbe 0x1000e1ab
mov edx, ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0xd0]
sub eax, esi
mov ebx, 0
shr eax, 1
lea ecx, [ecx + esi]
je 0x1000e181
cmp word [ecx + ebx*2], 0
je 0x1000e181
inc ebx
cmp ebx, eax
jb 0x1000e175
cmp ebx, eax
jne 0x1000e18e
call fcn.1000bce0
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0xd8]
mov ecx, esi
shr ecx, 1
mov dword [eax + edx*4], ecx
mov eax, dword [ebp + 0x5c]
inc edx
lea esi, [esi + ebx*2 + 2]
cmp edx, eax
mov dword [esp + 0x18], edx
jb 0x1000e15d
mov eax, dword [ebp + 0xd8]
mov ecx, dword [esp + 0x18]
mov edx, esi
shr edx, 1
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x28]
cmp esi, eax
je 0x1000e1c8
mov byte [edi + 0x3c], 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xbc], 6
call fcn.1000bbe0
jmp 0x1000e326
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov eax, dword [ebp + 0x5c]
lea edx, [esp + 0x88]
push edx
push eax
mov ecx, edi
mov byte [esp + 0xc4], 8
call fcn.1000d7b0
mov byte [esp + 0x4c], 0
mov byte [esp + 0x4d], 0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x48]
push eax
push edi
mov byte [esp + 0xc4], 9
call fcn.1000bc80
cmp dword [esp + 0x14], ebx
jbe 0x1000e272
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x88]
mov esi, dword [ebp + 0x58]
mov edx, dword [esp + 0x18]
mov al, byte [ebx + ecx]
add esi, edx
test al, al
mov byte [esi + 0x13], al
je 0x1000e25e
mov ecx, dword [edi + 0x38]
call fcn.1000bfa0
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc ebx
add ecx, 0x18
cmp ebx, eax
mov dword [esp + 0x18], ecx
jb 0x1000e239
lea ecx, [esp + 0x48]
call fcn.1000bbe0
mov edx, dword [esp + 0x88]
mov byte [esp + 0xbc], 6
push edx
call sub.MSVCRT.dll_free
add esp, 4
jmp 0x1000e326
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
push ecx
mov ecx, edi
call fcn.1000d730
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
xor esi, esi
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x1c], esi
jbe 0x1000e2cd
cmp byte [eax + edx], 0
je 0x1000e2c4
inc esi
inc eax
cmp eax, ecx
jb 0x1000e2bd
mov dword [esp + 0x1c], esi
lea edx, [esp + 0x68]
push esi
push edx
call fcn.100042b0
lea eax, [esp + 0x64]
push esi
push eax
call fcn.100042b0
add esp, 0x10
jmp 0x1000e326
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x68]
push ecx
push edx
mov ecx, edi
call fcn.1000d730
jmp 0x1000e326
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x5c]
push eax
push ecx
mov ecx, edi
call fcn.1000d730
jmp 0x1000e326
mov edx, dword [esp + 0x14]
lea eax, [ebp + 0xac]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, edi
call fcn.1000d830
lea esi, [ebp + 0x108]
mov ecx, esi
call fcn.1000f0c0
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*8], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [esi + 4]
inc eax
mov dword [esi + 4], eax
jmp 0x1000e3d5
mov edx, dword [esp + 0x14]
lea eax, [ebp + 0x64]
push edx
jmp 0x1000e319
mov edx, dword [esp + 0x14]
lea eax, [ebp + 0x7c]
push edx
jmp 0x1000e319
mov edx, dword [esp + 0x14]
lea eax, [ebp + 0x94]
push edx
jmp 0x1000e319
mov eax, dword [esp + 0x3c]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x94], ebx
jb 0x1000e3d5
ja 0x1000e38f
mov eax, dword [esp + 0x38]
test eax, eax
jbe 0x1000e3d5
mov ecx, dword [edi + 0x38]
call fcn.1000bd40
test al, al
je 0x1000e39f
mov byte [edi + 0x3c], 1
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x3c]
add edx, 1
adc esi, 0
mov dword [esp + 0x94], edx
cmp esi, eax
jb 0x1000e38f
ja 0x1000e3d5
cmp edx, dword [esp + 0x38]
jb 0x1000e38f
jmp 0x1000e3d5
mov byte [ebp + 0x135], 1
mov eax, dword [edi + 0x38]
mov ecx, dword [eax + 4]
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x38]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
sub edx, ecx
je 0x1000e3e7
call fcn.1000bce0
lea ecx, [esp + 0x80]
mov byte [esp + 0xbc], 5
call fcn.1000bbe0
mov ecx, dword [edi + 0x38]
call fcn.1000be20
mov dword [esp + 0x20], eax
or eax, edx
mov dword [esp + 0x24], edx
jne 0x1000e00f
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov ecx, dword [edi + 0x38]
call fcn.1000be20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
sub eax, esi
cmp eax, ecx
je 0x1000e446
mov cl, byte [esp + 0x13]
lea edx, [esp + 0x13]
push 0x10023730
push edx
mov byte [esp + 0x1b], cl
call sub.MSVCRT.dll__CxxThrowException
xor edx, edx
xor ecx, ecx
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ecx
jbe 0x1000e46c
mov edi, dword [esp + 0x5c]
cmp byte [eax + edi], 0
je 0x1000e463
inc ecx
inc eax
cmp eax, esi
jb 0x1000e458
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x38], edi
jbe 0x1000e5e6
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x68]
sub eax, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x58]
mov ecx, dword [esp + 0x1c]
add eax, ecx
mov ecx, dword [esp + 0x50]
cmp byte [edi + ecx], 0
mov dword [eax + 0xc], ebx
sete cl
test cl, cl
mov byte [eax + 0x10], cl
je 0x1000e50b
mov byte [eax + 0x11], 0
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x13], 0
mov edx, dword [ecx + edx*8]
mov dword [eax], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx + edx*8 + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa0]
cmp edx, ecx
jae 0x1000e4ee
mov ecx, dword [esp + 0x9c]
cmp byte [edx + ecx], 0
je 0x1000e4ee
mov ecx, 1
jmp 0x1000e4f0
xor ecx, ecx
test cl, cl
mov byte [eax + 0x12], cl
je 0x1000e504
mov ecx, dword [esp + 0xa8]
mov ecx, dword [ecx + edx*4]
mov dword [eax + 0xc], ecx
inc edx
mov dword [esp + 0x18], edx
jmp 0x1000e52d
mov ecx, dword [esp + 0x20]
cmp byte [ecx + esi], 0
sete cl
mov byte [eax + 0x11], cl
mov cl, byte [esi]
inc esi
mov byte [esp + 0x13], cl
mov dword [esp + 0x40], esi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov byte [eax + 0x12], 0
cmp dword [esp + 0x28], ebx
je 0x1000e5ca
mov eax, dword [ebp + 0xcc]
mov ecx, dword [ebp + 0xc8]
cmp ecx, eax
jne 0x1000e5a6
mov edx, eax
shr edx, 2
lea ebx, [edx + eax + 1]
push ebx
call fcn.100017f0
mov ecx, dword [ebp + 0xc8]
add esp, 4
test ecx, ecx
mov dword [esp + 0x48], eax
je 0x1000e57d
mov esi, dword [ebp + 0xc4]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc4]
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
add esp, 4
mov dword [ebp + 0xcc], ebx
mov dword [ebp + 0xc4], ecx
xor ebx, ebx
mov edx, dword [ebp + 0xc8]
mov eax, dword [ebp + 0xc4]
mov cl, byte [esp + 0x13]
mov byte [edx + eax], cl
mov eax, dword [ebp + 0xc8]
mov edx, dword [esp + 0x18]
inc eax
mov dword [ebp + 0xc8], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc edi
add ecx, 0x18
cmp edi, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], ecx
jb 0x1000e494
mov edx, dword [esp + 0x5c]
push edx
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0x6c]
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0x58]
mov byte [esp + 0xc4], 2
push ecx
call sub.MSVCRT.dll_free
add esp, 0xc
mov ecx, ebp
call fcn.1000e6c0
mov edx, dword [esp + 0xa8]
push edx
call sub.MSVCRT.dll_free
mov eax, dword [esp + 0xa0]
push eax
call sub.MSVCRT.dll_free
mov ecx, dword [esp + 0x7c]
push ecx
call sub.MSVCRT.dll_free
mov edi, dword [esp + 0x3c]
add esp, 0xc
cmp edi, ebx
je 0x1000e666
mov edx, dword [esp + 0x2c]
dec edi
mov esi, dword [edx + edi*4]
cmp esi, ebx
je 0x1000e662
mov eax, dword [esi]
push eax
call sub.MSVCRT.dll_free
push esi
call sub.MSVCRT.dll_free
add esp, 8
cmp edi, ebx
jne 0x1000e645
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MSVCRT.dll_free
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 0x14