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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov edi, dword [esp + 0xb4]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0xa8]
mov eax, dword [0xa7d04c]
xor eax, esp
mov dword [esp + 0x8c], eax
xorps xmm0, xmm0
movups xmmword [esp + 0x6c], xmm0
movups xmmword [esp + 0x7c], xmm0
test edx, edx
je 0x7d8b0e
mov eax, edx
and eax, 3
xor ecx, ecx
cmp edx, 4
jb 0x7d8aef
and edx, 0xfffffffc
xor ecx, ecx
nop
movzx esi, word [ebp + ecx*2]
inc word [esp + esi*2 + 0x6c]
movzx esi, word [ebp + ecx*2 + 2]
inc word [esp + esi*2 + 0x6c]
movzx esi, word [ebp + ecx*2 + 4]
inc word [esp + esi*2 + 0x6c]
movzx esi, word [ebp + ecx*2 + 6]
inc word [esp + esi*2 + 0x6c]
add ecx, 4
cmp edx, ecx
jne 0x7d8ac0
test eax, eax
je 0x7d8b0e
lea ecx, [ecx*2]
add ecx, ebp
xor edx, edx
nop
movzx esi, word [ecx + edx*2]
inc word [esp + esi*2 + 0x6c]
inc edx
cmp eax, edx
jne 0x7d8b00
mov ecx, dword [edi]
movzx edi, word [esp + 0x8a]
mov edx, 0xf
test edi, edi
jne 0x7d8bed
mov edx, 0xe
cmp word [esp + 0x88], 0
jne 0x7d8bed
mov edx, 0xd
cmp word [esp + 0x86], 0
jne 0x7d8bed
mov edx, 0xc
cmp word [esp + 0x84], 0
jne 0x7d8bed
mov edx, 0xb
cmp word [esp + 0x82], 0
jne 0x7d8bed
mov edx, 0xa
cmp word [esp + 0x80], 0
jne 0x7d8bed
mov edx, 9
cmp word [esp + 0x7e], 0
jne 0x7d8bed
mov edx, 8
cmp word [esp + 0x7c], 0
jne 0x7d8bed
mov edx, 7
cmp word [esp + 0x7a], 0
jne 0x7d8bed
mov edx, 6
cmp word [esp + 0x78], 0
jne 0x7d8bed
mov edx, 5
cmp word [esp + 0x76], 0
jne 0x7d8bed
mov edx, 4
cmp word [esp + 0x74], 0
jne 0x7d8bed
mov edx, 3
cmp word [esp + 0x72], 0
jne 0x7d8bed
mov edx, 2
cmp word [esp + 0x70], 0
je 0x7d9275
cmp ecx, edx
cmovae ecx, edx
mov ebx, 1
nop word [eax + eax]
mov al, 1
cmp word [esp + ebx*2 + 0x6c], 0
jne 0x7d8c11
inc ebx
cmp edx, ebx
jne 0x7d8c00
mov ebx, edx
cmp ecx, ebx
cmovbe ecx, ebx
mov dword [esp + 8], ecx
movzx ecx, word [esp + 0x6e]
mov esi, 0xffffffff
cmp ecx, 2
ja 0x7d8c6b
mov dword [esp], edi
movzx edi, word [esp + 0x70]
mov dword [esp + 0x14], edi
lea edi, [edi + ecx*2]
cmp edi, 4
ja 0x7d8c6b
movzx esi, word [esp + 0x72]
mov dword [esp + 0x30], esi
lea edi, [esi + edi*2]
cmp edi, 8
jbe 0x7d8c55
mov esi, 0xffffffff
jmp 0x7d8c6b
movzx esi, word [esp + 0x74]
mov dword [esp + 0x48], esi
lea edi, [esi + edi*2]
cmp edi, 0x10
mov esi, 0xffffffff
jbe 0x7d8c86
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0091d849
mov eax, esi
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x10], edi
movzx edi, word [esp + 0x76]
mov dword [esp + 4], edi
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x10]
lea edi, [edi + esi*2]
cmp edi, 0x20
ja 0x7d8c4e
movzx esi, word [esp + 0x78]
mov dword [esp + 0x10], esi
lea edi, [esi + edi*2]
cmp edi, 0x40
mov esi, 0xffffffff
ja 0x7d8c6b
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], edi
movzx edi, word [esp + 0x7a]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
lea edi, [edi + ecx*2]
cmp edi, 0x80
ja 0x7d8c6b
movzx ecx, word [esp + 0x7c]
mov dword [esp + 0x1c], ecx
lea edi, [ecx + edi*2]
cmp edi, 0x100
ja 0x7d8c6b
movzx ecx, word [esp + 0x7e]
mov dword [esp + 0x2c], ecx
lea edi, [ecx + edi*2]
cmp edi, 0x200
ja 0x7d8c6b
movzx ecx, word [esp + 0x80]
mov dword [esp + 0x38], ecx
lea edi, [ecx + edi*2]
cmp edi, 0x400
ja 0x7d8c6b
movzx ecx, word [esp + 0x82]
mov dword [esp + 0x40], ecx
lea edi, [ecx + edi*2]
cmp edi, 0x800
ja 0x7d8c6b
movzx ecx, word [esp + 0x84]
mov dword [esp + 0x28], ecx
lea edi, [ecx + edi*2]
cmp edi, 0x1000
ja 0x7d8c6b
movzx ecx, word [esp + 0x86]
mov dword [esp + 0x24], ecx
lea edi, [ecx + edi*2]
cmp edi, 0x2000
ja 0x7d8c6b
movzx ecx, word [esp + 0x88]
mov dword [esp + 0x20], ecx
lea ecx, [ecx + edi*2]
mov dword [esp + 0x18], ecx
cmp ecx, 0x4000
ja 0x7d8c6b
mov edi, dword [esp]
mov esi, dword [esp + 0x18]
lea edi, [edi + esi*2]
cmp edi, 0x8000
ja 0x7d8c4e
cmp dword [esp + 0xa4], 0
setne byte [esp]
xor al, 1
test byte [esp], al
mov esi, 0xffffffff
jne 0x7d8dd2
cmp edi, 0x8000
jne 0x7d8c6b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
add eax, ecx
mov word [esp + 0x4e], 0
mov word [esp + 0x50], cx
mov ecx, dword [esp + 0x30]
add ecx, eax
mov word [esp + 0x52], ax
mov eax, dword [esp + 0x48]
add eax, ecx
mov word [esp + 0x54], cx
mov ecx, dword [esp + 4]
add ecx, eax
mov word [esp + 0x56], ax
mov eax, dword [esp + 0x10]
add eax, ecx
mov word [esp + 0x58], cx
mov ecx, dword [esp + 0xc]
add ecx, eax
mov word [esp + 0x5a], ax
mov eax, dword [esp + 0x1c]
add eax, ecx
mov word [esp + 0x5c], cx
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov word [esp + 0x5e], ax
mov eax, dword [esp + 0x38]
add eax, ecx
mov word [esp + 0x60], cx
mov ecx, dword [esp + 0x40]
add ecx, eax
mov word [esp + 0x62], ax
mov eax, dword [esp + 0x28]
add eax, ecx
mov word [esp + 0x64], cx
mov ecx, dword [esp + 0x24]
add ecx, eax
mov word [esp + 0x66], ax
mov eax, dword [esp + 0x20]
add eax, ecx
mov word [esp + 0x68], cx
mov word [esp + 0x6a], ax
cmp dword [esp + 0xac], 0
je 0x7d8f10
xor eax, eax
cmp dword [esp + 0xac], 1
je 0x7d8ef7
mov eax, dword [esp + 0xac]
and eax, 0xfffffffe
mov dword [esp], eax
xor eax, eax
jmp 0x7d8ea4
add eax, 2
cmp dword [esp], eax
je 0x7d8eeb
movzx esi, word [ebp + eax*2]
test esi, esi
je 0x7d8ec5
movzx edi, word [esp + esi*2 + 0x4c]
lea ecx, [edi + 1]
mov word [esp + esi*2 + 0x4c], cx
mov ecx, dword [esp + 0xb8]
mov word [ecx + edi*2], ax
movzx esi, word [ebp + eax*2 + 2]
test esi, esi
je 0x7d8e9c
movzx ecx, word [esp + esi*2 + 0x4c]
lea edi, [ecx + 1]
mov word [esp + esi*2 + 0x4c], di
lea esi, [eax + 1]
mov edi, dword [esp + 0xb8]
mov word [edi + ecx*2], si
jmp 0x7d8e9c
mov ecx, dword [esp + 0xac]
test cl, 1
je 0x7d8f10
movzx ecx, word [ebp + eax*2]
test ecx, ecx
je 0x7d8f10
movzx ecx, word [esp + ecx*2 + 0x4c]
mov esi, dword [esp + 0xb8]
mov word [esi + ecx*2], ax
cmp dword [esp + 0xa4], 0
je 0x7d8f60
cmp dword [esp + 0xa4], 1
jne 0x7d922b
mov esi, 1
cmp dword [esp + 8], 9
ja 0x7d8c6b
mov al, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0x101
mov dword [esp + 0x28], 0x9e2446
mov dword [esp + 0x24], 0x9e2408
mov dword [esp + 0x3c], 0
jmp 0x7d8f87
mov dword [esp + 0x2c], 0x14
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], 0
mov eax, 1
mov ecx, dword [esp + 8]
shl eax, cl
mov dword [esp + 0x20], eax
dec eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xb0]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x10], 0
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, 1
mov ecx, dword [esp]
shl eax, cl
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
add eax, 2
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x10]
movzx edi, word [eax + ecx*2]
movzx eax, di
lea ecx, [eax + 1]
mov esi, dword [esp + 0x2c]
cmp ecx, esi
jae 0x7d900f
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], 0
jmp 0x7d903b
sub eax, esi
jae 0x7d9023
mov al, 0x60
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], 0
jmp 0x7d903b
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx + eax*2]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x24]
movzx eax, word [ecx + eax*2]
mov dword [esp + 0x14], eax
mov ecx, ebx
mov eax, dword [esp + 0xc]
sub ecx, eax
mov edi, eax
mov esi, 0xffffffff
mov dword [esp], ecx
shl esi, cl
mov eax, dword [esp + 4]
mov ecx, edi
shr eax, cl
mov dword [esp + 0x48], esi
lea ecx, [esi*4]
lea esi, [ecx + eax*4]
add esi, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
mov edi, eax
mov ecx, dword [esp + 0x30]
mov byte [esi + eax*4 - 2], cl
mov ecx, dword [esp]
mov byte [esi + eax*4 - 1], cl
mov ecx, dword [esp + 0x14]
mov word [esi + eax*4], cx
add edi, dword [esp + 0x48]
mov eax, edi
jne 0x7d906f
mov edi, dword [esp]
mov ecx, ebx
dec cl
mov esi, 1
shl esi, cl
mov ecx, dword [esp + 4]
mov eax, esi
shr esi, 1
test eax, ecx
jne 0x7d90a0
mov esi, ecx
lea ecx, [eax - 1]
and ecx, esi
add ecx, eax
cmp eax, 1
mov eax, 0
cmovb ecx, eax
mov dword [esp + 4], ecx
inc dword [esp + 0x10]
dec word [esp + ebx*2 + 0x6c]
je 0x7d90d1
mov ecx, dword [esp + 8]
jmp 0x7d90f1
cmp ebx, edx
mov ecx, dword [esp + 8]
je 0x7d91e7
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0x10]
movzx eax, word [eax + esi*2]
movzx ebx, word [ebp + eax*2]
cmp ebx, ecx
jbe 0x7d8fe4
mov eax, dword [esp + 4]
and eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x38]
je 0x7d8fe4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
test eax, eax
cmove eax, dword [esp + 8]
mov ecx, ebx
mov dword [esp + 0xc], eax
sub ecx, eax
mov dword [esp], ecx
cmp ebx, edx
jae 0x7d9157
mov esi, 1
mov ecx, dword [esp]
shl esi, cl
mov eax, edx
sub eax, dword [esp + 0xc]
mov dword [esp], eax
mov edi, ebx
movzx ecx, word [esp + edi*2 + 0x6c]
sub esi, ecx
jle 0x7d9150
add esi, esi
inc edi
cmp edi, edx
jb 0x7d913e
jmp 0x7d9157
sub edi, dword [esp + 0xc]
mov dword [esp], edi
mov edi, 1
mov ecx, dword [esp]
shl edi, cl
mov eax, dword [esp + 0x20]
add eax, edi
cmp eax, 0x355
setae ch
mov dword [esp + 0x20], eax
cmp eax, 0x251
setae cl
test byte [esp + 0x34], ch
jne 0x7d92c5
and cl, byte [esp + 0x3c]
mov esi, 1
jne 0x7d8c6b
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea edi, [edi + eax*4]
mov ecx, dword [esp + 0xb0]
mov ecx, dword [ecx]
mov eax, dword [esp]
mov esi, dword [esp + 0x14]
mov byte [ecx + esi*4], al
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
mov eax, dword [esp + 8]
mov byte [ecx + esi*4 + 1], al
mov eax, esi
mov ecx, dword [esp + 0xb0]
mov ecx, dword [ecx]
mov dword [esp + 0x18], edi
mov esi, edi
sub esi, ecx
shr esi, 2
mov word [ecx + eax*4 + 2], si
mov dword [esp + 0x38], eax
jmp 0x7d8fcb
cmp dword [esp + 4], 0
je 0x7d9207
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 4]
mov byte [eax + ecx*4], 0x40
mov edx, edi
mov byte [eax + ecx*4 + 1], dl
mov word [eax + ecx*4 + 2], 0
mov ecx, dword [esp + 0x20]
shl ecx, 2
mov eax, dword [esp + 0xb0]
add dword [eax], ecx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
xor esi, esi
jmp 0x7d8c6b
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x9e24c4
mov dword [esp + 0x24], 0x9e2484
cmp dword [esp + 0xa4], 2
sete al
mov dword [esp + 0x3c], eax
jne 0x7d8f7f
mov esi, 1
mov dword [esp + 0x34], 0
cmp dword [esp + 8], 9
ja 0x7d8c6b
jmp 0x7d8f87
cmp word [esp + 0x6e], 0
je 0x7d9297
mov eax, ecx
xor ecx, ecx
test eax, eax
setne cl
mov edx, 1
xor eax, eax
mov ebx, 1
jmp 0x7d8c11
mov edx, dword [esp + 0xb0]
mov eax, dword [edx]
lea ecx, [eax + 4]
mov dword [edx], ecx
mov dword [eax], 0x140
mov eax, dword [edx]
lea ecx, [eax + 4]
mov dword [edx], ecx
mov dword [eax], 0x140
mov dword [esp + 8], 1
jmp 0x7d9217
mov esi, 1
jmp 0x7d8c6b