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

Disassembly:
sub esp, 0x88
cmp dword [esp + 0x98], 0xa
push ebx
push ebp
push esi
push edi
jb 0x107a4c38
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0xac]
mov ebx, dword [esp + 0x9c]
add eax, ebx
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
lea eax, [edi + 4]
push esi
mov dword [esp + 0x18], eax
call fcn.107a5c34
movzx ebp, ax
lea eax, [esi + 2]
push eax
mov dword [esp + 0x9c], ebp
call fcn.107a5c34
movzx eax, ax
mov dword [esp + 0x3c], eax
lea eax, [esi + 4]
push eax
call fcn.107a5c34
mov ecx, dword [esp + 0xb4]
add esi, 6
movzx eax, ax
sub ecx, eax
mov dword [esp + 0x3c], eax
sub ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xac]
sub ecx, ebp
sub ecx, 6
add eax, 3
shr eax, 2
mov dword [esp + 0x9c], ecx
lea ecx, [esi + ebp]
mov dword [esp + 0x48], ecx
push edi
lea ecx, [eax + ebx]
lea edx, [ecx + eax]
mov dword [esp + 0x2c], ecx
add eax, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
mov ebp, edx
mov dword [esp + 0x30], ecx
mov ebx, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], eax
call fcn.107a57b4
mov edi, dword [esp + 0xa0]
add esp, 0x10
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x10], eax
cmp edi, dword [esp + 0xa8]
ja 0x107a4c38
push dword [esp + 0x94]
lea eax, [esp + 0x80]
push esi
push eax
call fcn.107a3be4
add esp, 0xc
cmp eax, 0xffffff88
ja 0x107a4c3b
push dword [esp + 0x34]
lea eax, [esp + 0x6c]
push dword [esp + 0x40]
push eax
call fcn.107a3be4
add esp, 0xc
cmp eax, 0xffffff88
ja 0x107a4c3b
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push esi
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.107a3be4
add esp, 0xc
cmp eax, 0xffffff88
ja 0x107a4c3b
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x34]
add eax, esi
push edi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.107a3be4
add esp, 0xc
cmp eax, 0xffffff88
ja 0x107a4c3b
lea eax, [esp + 0x40]
push eax
call fcn.107a3d28
mov edi, eax
lea eax, [esp + 0x58]
push eax
call fcn.107a3d28
or edi, eax
lea eax, [esp + 0x70]
push eax
call fcn.107a3d28
mov esi, eax
lea eax, [esp + 0x88]
push eax
or esi, edi
call fcn.107a3d28
add esp, 0x10
or eax, esi
jne 0x107a48dd
mov eax, dword [esp + 0x38]
add eax, 0xfffffff9
mov dword [esp + 0x30], eax
cmp ebx, eax
jae 0x107a48d5
push dword [esp + 0x10]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x80]
push esi
push eax
call fcn.107a3fc4
mov edi, dword [esp + 0xa8]
push dword [esp + 0x1c]
push esi
mov byte [edi], al
lea eax, [esp + 0x7c]
push eax
call fcn.107a3fc4
mov esi, dword [esp + 0x38]
push dword [esp + 0x28]
push dword [esp + 0x30]
mov byte [esi], al
lea eax, [esp + 0x74]
push eax
call fcn.107a3fc4
push dword [esp + 0x34]
mov byte [ebp], al
lea eax, [esp + 0x68]
push dword [esp + 0x3c]
push eax
call fcn.107a3fc4
push dword [esp + 0x40]
mov byte [ebx], al
lea eax, [esp + 0xb0]
push dword [esp + 0x48]
push eax
call fcn.107a3fc4
push dword [esp + 0x4c]
mov byte [edi + 1], al
add edi, 2
mov dword [esp + 0xdc], edi
lea eax, [esp + 0xa8]
mov edi, dword [esp + 0x54]
push edi
push eax
call fcn.107a3fc4
mov byte [esi + 1], al
add esp, 0x48
add esi, 2
lea eax, [esp + 0x54]
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x10]
push esi
push edi
push eax
call fcn.107a3fc4
mov byte [ebp + 1], al
add ebp, 2
push esi
lea eax, [esp + 0x50]
push edi
push eax
call fcn.107a3fc4
mov byte [ebx + 1], al
lea eax, [esp + 0x58]
push eax
add ebx, 2
call fcn.107a3d28
mov edi, eax
lea eax, [esp + 0x70]
push eax
call fcn.107a3d28
or edi, eax
lea eax, [esp + 0x88]
push eax
call fcn.107a3d28
mov esi, eax
lea eax, [esp + 0xa0]
push eax
or esi, edi
call fcn.107a3d28
add esp, 0x28
or eax, esi
mov eax, dword [esp + 0x30]
je 0x107a47be
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x9c]
cmp edi, dword [esp + 0x1c]
ja 0x107a4c38
mov esi, dword [esp + 0x20]
cmp esi, dword [esp + 0x24]
ja 0x107a4c38
cmp ebp, dword [esp + 0x2c]
ja 0x107a4c38
lea eax, [esp + 0x7c]
push eax
call fcn.107a3d28
pop ecx
test eax, eax
jne 0x107a496e
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
add ebp, 0xfffffffc
mov ebx, dword [esp + 0x10]
cmp edi, ebp
ja 0x107a4962
push ebx
lea eax, [esp + 0x80]
push esi
push eax
call fcn.107a3fc4
push ebx
mov byte [edi], al
lea eax, [esp + 0x8c]
push esi
push eax
call fcn.107a3fc4
mov byte [edi + 1], al
lea eax, [esp + 0x94]
push eax
add edi, 2
call fcn.107a3d28
add esp, 0x1c
test eax, eax
je 0x107a4924
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x7c]
push eax
call fcn.107a3d28
pop ecx
jmp 0x107a49a9
cmp edi, dword [esp + 0x1c]
jae 0x107a49e4
push dword [esp + 0x10]
lea eax, [esp + 0x80]
push dword [esp + 0x18]
push eax
call fcn.107a3fc4
mov byte [edi], al
lea eax, [esp + 0x88]
push eax
inc edi
call fcn.107a3d28
add esp, 0x10
test eax, eax
je 0x107a497b
cmp edi, dword [esp + 0x1c]
jae 0x107a49e4
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
push ebx
lea eax, [esp + 0x80]
push esi
push eax
call fcn.107a3fc4
add esp, 0xc
mov byte [edi], al
inc edi
cmp edi, ebp
jb 0x107a49bf
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x68]
push eax
call fcn.107a3d28
pop ecx
test eax, eax
jne 0x107a4a42
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
add ebp, 0xfffffffc
mov ebx, dword [esp + 0x10]
cmp esi, ebp
ja 0x107a4a3a
push ebx
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.107a3fc4
push ebx
mov byte [esi], al
lea eax, [esp + 0x78]
push edi
push eax
call fcn.107a3fc4
mov byte [esi + 1], al
lea eax, [esp + 0x80]
push eax
add esi, 2
call fcn.107a3d28
add esp, 0x1c
test eax, eax
je 0x107a4a02
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x68]
push eax
call fcn.107a3d28
mov edi, dword [esp + 0x18]
pop ecx
test eax, eax
jne 0x107a4a7c
cmp esi, dword [esp + 0x24]
jae 0x107a4aa8
push dword [esp + 0x10]
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.107a3fc4
mov byte [esi], al
lea eax, [esp + 0x74]
push eax
inc esi
call fcn.107a3d28
add esp, 0x10
jmp 0x107a4a51
cmp esi, dword [esp + 0x24]
jae 0x107a4aa8
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.107a3fc4
add esp, 0xc
mov byte [esi], al
inc esi
cmp esi, ebp
jb 0x107a4a8a
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x54]
push eax
call fcn.107a3d28
pop ecx
test eax, eax
jne 0x107a4afc
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
add ebx, 0xfffffffc
cmp ebp, ebx
ja 0x107a4af8
push esi
lea eax, [esp + 0x58]
push edi
push eax
call fcn.107a3fc4
push esi
mov byte [ebp], al
lea eax, [esp + 0x64]
push edi
push eax
call fcn.107a3fc4
mov byte [ebp + 1], al
lea eax, [esp + 0x6c]
push eax
add ebp, 2
call fcn.107a3d28
add esp, 0x1c
test eax, eax
je 0x107a4ac2
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
call fcn.107a3d28
mov esi, dword [esp + 0x14]
pop ecx
test eax, eax
jne 0x107a4b34
cmp ebp, dword [esp + 0x2c]
jae 0x107a4b59
push esi
lea eax, [esp + 0x58]
push edi
push eax
call fcn.107a3fc4
mov byte [ebp], al
lea eax, [esp + 0x60]
push eax
inc ebp
call fcn.107a3d28
add esp, 0x10
jmp 0x107a4b0b
cmp ebp, dword [esp + 0x2c]
jae 0x107a4b59
mov ebx, dword [esp + 0x2c]
push esi
lea eax, [esp + 0x58]
push edi
push eax
call fcn.107a3fc4
add esp, 0xc
mov byte [ebp], al
inc ebp
cmp ebp, ebx
jb 0x107a4b3e
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x40]
push eax
call fcn.107a3d28
pop ecx
test eax, eax
jne 0x107a4ba6
mov eax, dword [esp + 0x38]
add eax, 0xfffffffc
mov ebp, eax
cmp ebx, ebp
ja 0x107a4ba6
push esi
lea eax, [esp + 0x44]
push edi
push eax
call fcn.107a3fc4
push esi
mov byte [ebx], al
lea eax, [esp + 0x50]
push edi
push eax
call fcn.107a3fc4
mov byte [ebx + 1], al
lea eax, [esp + 0x58]
push eax
add ebx, 2
call fcn.107a3d28
add esp, 0x1c
test eax, eax
je 0x107a4b71
mov ebp, dword [esp + 0x38]
lea eax, [esp + 0x40]
push eax
call fcn.107a3d28
pop ecx
jmp 0x107a4bd7
cmp ebx, ebp
jae 0x107a4bf3
push esi
lea eax, [esp + 0x44]
push edi
push eax
call fcn.107a3fc4
mov byte [ebx], al
lea eax, [esp + 0x4c]
push eax
inc ebx
call fcn.107a3d28
add esp, 0x10
test eax, eax
je 0x107a4bb7
jmp 0x107a4bef
push esi
lea eax, [esp + 0x44]
push edi
push eax
call fcn.107a3fc4
add esp, 0xc
mov byte [ebx], al
inc ebx
cmp ebx, ebp
jb 0x107a4bdd
lea eax, [esp + 0x40]
push eax
call fcn.107a3bbc
mov edx, eax
lea eax, [esp + 0x58]
push eax
call fcn.107a3bbc
and edx, eax
lea eax, [esp + 0x70]
push eax
call fcn.107a3bbc
and edx, eax
lea eax, [esp + 0x88]
push eax
call fcn.107a3bbc
add esp, 0x10
test eax, edx
mov eax, dword [esp + 0xa0]
push 0xffffffffffffffec
pop ecx
cmove eax, ecx
jmp 0x107a4c3b
push 0xffffffffffffffec
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret