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

Disassembly:
push 0xffffffffffffffff
push 0x100a46ee
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.10004a86
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.10004a99
test al, al
jne 0x1008388f
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 2
call fcn.100065b1
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x10083854
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 3
call fcn.10004ad7
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x1008390f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 0x8007000e
jmp 0x10083eb5
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x1c]
push eax
call fcn.10004ae8
lea ecx, [esp + 0x1c]
call fcn.10004af7
push 0x100000
lea ecx, [esp + 0x44]
call fcn.10006575
test al, al
jne 0x10083919
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 4
call fcn.100065b1
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x100838e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 5
call fcn.10004ad7
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x1008390f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, 0x8007000e
jmp 0x10083eb5
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x40]
push eax
call fcn.100065c0
lea ecx, [esp + 0x40]
call fcn.100065cf
mov al, byte [ebp + 0x18]
mov cl, al
and ecx, 0x1f
mov ebx, ecx
cmp ebx, 9
mov dword [esp + 0x74], ebx
jl 0x10083e5c
cmp ebx, 0x10
jg 0x10083e5c
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 0x1008397f
cmp dword [ebp + 0xc], edi
je 0x1008397f
cmp dword [ebp + 0x10], edi
je 0x1008397f
cmp dword [ebp + 0x14], edi
jne 0x10083ad2
mov ecx, ebp
call fcn.10083770
lea ecx, [esi + esi]
call fcn.10087ba0
cmp eax, edi
mov dword [ebp + 0xc], eax
jne 0x100839f7
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 8
call fcn.100065b1
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x100839bc
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 9
call fcn.10004ad7
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x10083ac5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x8007000e
jmp 0x10083eb5
mov ecx, esi
call fcn.10087ba0
cmp eax, edi
mov dword [ebp + 0x10], eax
jne 0x10083a63
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0xa
call fcn.100065b1
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x10083a2c
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 0xb
call fcn.10004ad7
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x10083ac5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x8007000e
jmp 0x10083eb5
mov ecx, esi
call fcn.10087ba0
cmp eax, edi
mov dword [ebp + 0x14], eax
jne 0x10083acf
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0xc
call fcn.100065b1
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x10083a98
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 0xd
call fcn.10004ad7
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x10083ac5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x8007000e
jmp 0x10083eb5
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 0x10083c1f
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sub edx, eax
cmp edx, ebx
jb 0x10083b4e
test ebx, ebx
jbe 0x10083b46
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 0x10083b7e
xor esi, esi
test ebx, ebx
jbe 0x10083b7e
cmp eax, dword [esp + 0x20]
jb 0x10083b6b
lea ecx, [esp + 0x1c]
call fcn.10004b0b
test al, al
je 0x10083b80
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 0x10083b54
mov esi, ebx
lea edx, [esi*8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x14], edx
xor edi, edi
call fcn.100065e7
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x88], eax
test ecx, ecx
mov dword [esp + 0x8c], edx
je 0x10083c1f
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 0x10083bcb
cmp ecx, 0x40000
jb 0x10083c1f
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 0x10083d72
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 0x10083da6
cmp eax, dword [esp + 0x18]
jae 0x10083e0c
mov cl, byte [esp + 0x13]
test cl, cl
je 0x10083ca5
cmp eax, 0x100
jne 0x10083ca5
xor edi, edi
mov ebx, 9
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x101
mov byte [esp + 0x12], 0
jmp 0x10083b11
mov eax, dword [esp + 0x3c]
xor esi, esi
cmp eax, 0x100
jb 0x10083cd2
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 0x10083cb2
mov edx, dword [ebp + 0x14]
mov cl, byte [esp + 0x12]
mov byte [esi + edx], al
inc esi
test cl, cl
je 0x10083cfa
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 0x10083cfa
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 0x10083d26
lea ecx, [esp + 0x40]
call fcn.100066bd
test esi, esi
jg 0x10083cfa
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x70]
cmp eax, ecx
jae 0x10083c9b
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 0x10083b11
cmp ebx, dword [esp + 0x74]
jge 0x10083b11
xor edi, edi
inc ebx
mov dword [esp + 0x14], edi
jmp 0x10083b11
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0xe
call fcn.100065b1
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
test eax, eax
je 0x10083d99
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xac], 0xf
jmp 0x10083de3
lea ecx, [esp + 0x40]
call fcn.100066a1
mov esi, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0x12
call fcn.100065b1
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
test eax, eax
je 0x10083dd8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xac], 0x13
lea ecx, [esp + 0x1c]
call fcn.10004ad7
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
test eax, eax
je 0x10083e05
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, esi
jmp 0x10083eb5
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 0x10
call fcn.100065b1
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
test eax, eax
je 0x10083e33
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 0x11
call fcn.10004ad7
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
test eax, eax
je 0x10083eb0
jmp 0x10083eaa
lea ecx, [esp + 0x40]
mov byte [esp + 0xac], 6
call fcn.100065b1
mov eax, dword [esp + 0x54]
mov byte [esp + 0xac], 0
cmp eax, edi
je 0x10083e83
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xac], 7
call fcn.10004ad7
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], 0xffffffff
cmp eax, edi
je 0x10083eb0
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