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

Disassembly:
push 0xffffffffffffffff
push 0x1009df8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
call fcn.10004a4b
xor edi, edi
mov dword [esp + 0xac], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], edi
push 0x100000
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 1
call fcn.10004a5e
test al, al
jne 0x1007d66f
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 2
call fcn.10006583
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x1007d634
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 3
call fcn.10004a9c
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x1007d6ef
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 0x8007000e
jmp 0x1007dc95
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x1c]
push eax
call fcn.10004aad
lea ecx, [esp + 0x1c]
call fcn.10004abc
push 0x100000
lea ecx, [esp + 0x44]
call fcn.10006547
test al, al
jne 0x1007d6f9
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 4
call fcn.10006583
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x1007d6c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 5
call fcn.10004a9c
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x1007d6ef
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 0x8007000e
jmp 0x1007dc95
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x40]
push eax
call fcn.10006592
lea ecx, [esp + 0x40]
call fcn.100065a1
mov al, byte [ebp + 0x18]
mov cl, al
and ecx, 0x1f
mov ebx, ecx
cmp ebx, 9
mov dword [esp + 0x74], ebx
jl 0x1007dc3c
cmp ebx, 0x10
jg 0x1007dc3c
mov esi, 1
shr al, 7
shl esi, cl
mov byte [esp + 0x13], al
mov eax, dword [ebp + 0x1c]
cmp ebx, eax
mov dword [esp + 0x70], esi
jne 0x1007d75f
cmp dword [ebp + 0xc], edi
je 0x1007d75f
cmp dword [ebp + 0x10], edi
je 0x1007d75f
cmp dword [ebp + 0x14], edi
jne 0x1007d8b2
mov ecx, ebp
call fcn.1007d550
lea ecx, [esi + esi]
call fcn.10081910
cmp eax, edi
mov dword [ebp + 0xc], eax
jne 0x1007d7d7
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 8
call fcn.10006583
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x1007d79c
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 9
call fcn.10004a9c
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x1007d8a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x8007000e
jmp 0x1007dc95
mov ecx, esi
call fcn.10081910
cmp eax, edi
mov dword [ebp + 0x10], eax
jne 0x1007d843
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0xa
call fcn.10006583
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x1007d80c
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 0xb
call fcn.10004a9c
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x1007d8a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x8007000e
jmp 0x1007dc95
mov ecx, esi
call fcn.10081910
cmp eax, edi
mov dword [ebp + 0x14], eax
jne 0x1007d8af
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0xc
call fcn.10006583
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x1007d878
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 0xd
call fcn.10004a9c
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x1007d8a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x8007000e
jmp 0x1007dc95
mov dword [ebp + 0x1c], ebx
mov cl, byte [esp + 0x13]
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [esp + 0x68], edi
test cl, cl
setne dl
mov word [eax + 0x200], di
mov ecx, dword [ebp + 0x10]
add edx, 0x100
mov dword [esp + 0x6c], edi
mov ebx, 9
mov dword [esp + 0x18], edx
mov byte [esp + 0x12], 0
mov dword [esp + 0x14], edi
mov byte [ecx + 0x100], 0
cmp dword [esp + 0x14], edi
jne 0x1007d9ff
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub edx, eax
cmp edx, ebx
jb 0x1007d92e
test ebx, ebx
jbe 0x1007d926
mov ecx, ebx
mov esi, eax
mov edx, ecx
lea edi, [esp + 0x90]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, ebx
mov dword [esp + 0x1c], eax
jmp 0x1007d95e
xor esi, esi
test ebx, ebx
jbe 0x1007d95e
cmp eax, dword [esp + 0x20]
jb 0x1007d94b
lea ecx, [esp + 0x1c]
call fcn.10004ad0
test al, al
je 0x1007d960
mov eax, dword [esp + 0x1c]
mov cl, byte [eax]
inc eax
mov byte [esp + esi + 0x90], cl
inc esi
cmp esi, ebx
mov dword [esp + 0x1c], eax
jb 0x1007d934
mov esi, ebx
lea edx, [esi*8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], edx
xor edi, edi
call fcn.100065b9
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x88], eax
test ecx, ecx
mov dword [esp + 0x8c], edx
je 0x1007d9ff
mov esi, dword [esp + 0x68]
mov ecx, eax
sub ecx, esi
mov esi, edx
sbb esi, dword [esp + 0x6c]
mov dword [esp + 0x7c], esi
jne 0x1007d9ab
cmp ecx, 0x40000
jb 0x1007d9ff
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], edx
cdq
add eax, esi
adc edx, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x84], edx
lea edx, [esp + 0x88]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x84]
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
jne 0x1007db52
mov edx, 1
mov ecx, ebx
shl edx, cl
mov eax, edi
xor ecx, ecx
shr eax, 3
mov cl, byte [esp + eax + 0x90]
mov dword [esp + 0x78], edx
xor edx, edx
mov dh, byte [esp + eax + 0x92]
mov dl, byte [esp + eax + 0x91]
mov eax, dword [esp + 0x78]
shl edx, 8
or edx, ecx
mov ecx, edi
and ecx, 7
add edi, ebx
shr edx, cl
mov ecx, dword [esp + 0x14]
dec eax
and eax, edx
cmp edi, ecx
mov dword [esp + 0x3c], eax
ja 0x1007db86
cmp eax, dword [esp + 0x18]
jae 0x1007dbec
mov cl, byte [esp + 0x13]
test cl, cl
je 0x1007da85
cmp eax, 0x100
jne 0x1007da85
xor edi, edi
mov ebx, 9
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x101
mov byte [esp + 0x12], 0
jmp 0x1007d8f1
mov eax, dword [esp + 0x3c]
xor esi, esi
cmp eax, 0x100
jb 0x1007dab2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
inc esi
mov cl, byte [eax + ecx]
mov byte [esi + edx - 1], cl
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [edx + eax*2]
mov eax, ecx
cmp eax, 0x100
jae 0x1007da92
mov edx, dword [ebp + 0x14]
mov cl, byte [esp + 0x12]
mov byte [esi + edx], al
inc esi
test cl, cl
je 0x1007dada
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
mov byte [ecx + edx - 1], al
mov edx, dword [esp + 0x3c]
dec ecx
cmp edx, ecx
jne 0x1007dada
mov ecx, dword [ebp + 0x14]
mov byte [ecx], al
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x40]
dec esi
mov al, byte [esi + edx]
mov edx, dword [esp + 0x44]
mov byte [edx + ecx], al
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x44], eax
jne 0x1007db06
lea ecx, [esp + 0x40]
call fcn.1000668f
test esi, esi
jg 0x1007dada
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
cmp eax, ecx
jae 0x1007da7b
mov ecx, dword [ebp + 0xc]
mov dx, word [esp + 0x3c]
mov byte [esp + 0x12], 1
mov word [ecx + eax*2], dx
mov ecx, dword [esp + 0x78]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jbe 0x1007d8f1
cmp ebx, dword [esp + 0x74]
jge 0x1007d8f1
xor edi, edi
inc ebx
mov dword [esp + 0x14], edi
jmp 0x1007d8f1
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0xe
call fcn.10006583
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
test eax, eax
je 0x1007db79
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xac], 0xf
jmp 0x1007dbc3
lea ecx, [esp + 0x40]
call fcn.10006673
mov esi, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0x12
call fcn.10006583
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
test eax, eax
je 0x1007dbb8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xac], 0x13
lea ecx, [esp + 0x1c]
call fcn.10004a9c
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
test eax, eax
je 0x1007dbe5
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, esi
jmp 0x1007dc95
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0x10
call fcn.10006583
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
test eax, eax
je 0x1007dc13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 0x11
call fcn.10004a9c
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
test eax, eax
je 0x1007dc90
jmp 0x1007dc8a
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 6
call fcn.10006583
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x1007dc63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 7
call fcn.10004a9c
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x1007dc90
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 1
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 0x14