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

Disassembly:
sub esp, 0x88
cmp dword [esp + 0x98], 0xa
jae 0x1048ea11
push 0xffffffffffffffec
pop eax
jmp 0x1048f0ce
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push ebx
push ebp
mov ebp, dword [esp + 0x94]
add eax, ebp
movzx ebx, word [ecx]
mov dword [esp + 0x24], eax
lea eax, [edx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa0]
push esi
movzx esi, word [ecx + 4]
sub eax, esi
mov dword [esp + 0x90], ebx
push edi
movzx edi, word [ecx + 2]
sub eax, edi
mov dword [esp + 0x3c], edi
sub eax, ebx
sub eax, 6
mov dword [esp + 0x14], eax
lea eax, [ecx + 6]
mov dword [esp + 0x1c], eax
add eax, ebx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa0]
add eax, 3
shr eax, 2
lea ecx, [eax + ebp]
lea ebx, [ecx + eax]
mov dword [esp + 0x30], ecx
add eax, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
mov edi, eax
mov dword [esp + 0x20], eax
mov eax, dword [edx]
shr eax, 0x10
movzx eax, al
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ebx
cmp eax, dword [esp + 0xa8]
ja 0x1048ecbc
push dword [esp + 0x94]
lea eax, [esp + 0x48]
push dword [esp + 0x20]
push eax
call fcn.1048df18
add esp, 0xc
cmp eax, 0xffffff88
ja 0x1048f0ca
push dword [esp + 0x3c]
lea eax, [esp + 0x5c]
push dword [esp + 0x44]
push eax
call fcn.1048df18
add esp, 0xc
cmp eax, 0xffffff88
ja 0x1048f0ca
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x3c]
push esi
push eax
lea eax, [esp + 0x74]
push eax
call fcn.1048df18
add esp, 0xc
cmp eax, 0xffffff88
ja 0x1048f0ca
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x3c]
push dword [esp + 0x14]
add eax, esi
push eax
lea eax, [esp + 0x88]
push eax
call fcn.1048df18
add esp, 0xc
cmp eax, 0xffffff88
ja 0x1048f0ca
lea eax, [esp + 0x80]
push eax
call fcn.1048c35f
mov esi, eax
lea eax, [esp + 0x70]
push eax
call fcn.1048c35f
or esi, eax
lea eax, [esp + 0x60]
push eax
call fcn.1048c35f
or esi, eax
lea eax, [esp + 0x50]
push eax
call fcn.1048c35f
add esp, 0x10
or esi, eax
jne 0x1048eca6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff9
mov dword [esp + 0x1c], eax
cmp edi, eax
jae 0x1048ec9e
push dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x48]
push esi
push eax
call fcn.1048e68e
push dword [esp + 0x1c]
mov byte [ebp], al
lea eax, [esp + 0x68]
push esi
push eax
call fcn.1048e68e
mov esi, dword [esp + 0x40]
push dword [esp + 0x28]
push dword [esp + 0x34]
mov byte [esi], al
lea eax, [esp + 0x8c]
push eax
call fcn.1048e68e
push dword [esp + 0x34]
mov byte [ebx], al
lea eax, [esp + 0xa8]
push dword [esp + 0x40]
push eax
call fcn.1048e68e
push dword [esp + 0x40]
mov byte [edi], al
lea eax, [esp + 0x78]
push dword [esp + 0x4c]
push eax
call fcn.1048e68e
push dword [esp + 0x4c]
mov byte [ebp + 1], al
add ebp, 2
push dword [esp + 0x58]
lea eax, [esp + 0x9c]
push eax
call fcn.1048e68e
add esp, 0x48
mov byte [esi + 1], al
add esi, 2
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x18]
push dword [esp + 0x10]
push esi
push eax
call fcn.1048e68e
push dword [esp + 0x1c]
mov byte [ebx + 1], al
add ebx, 2
lea eax, [esp + 0x90]
push esi
push eax
call fcn.1048e68e
mov byte [edi + 1], al
lea eax, [esp + 0x98]
push eax
add edi, 2
call fcn.1048c35f
mov esi, eax
lea eax, [esp + 0x88]
push eax
call fcn.1048c35f
or esi, eax
lea eax, [esp + 0x78]
push eax
call fcn.1048c35f
or esi, eax
lea eax, [esp + 0x68]
push eax
call fcn.1048c35f
add esp, 0x28
or esi, eax
mov eax, dword [esp + 0x1c]
je 0x1048eb8f
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edi
cmp ebp, dword [esp + 0x30]
ja 0x1048ecbc
mov esi, dword [esp + 0x28]
cmp esi, dword [esp + 0x34]
ja 0x1048ecbc
cmp ebx, dword [esp + 0x38]
jbe 0x1048ecc4
push 0xffffffffffffffec
pop eax
jmp 0x1048f0ca
lea eax, [esp + 0x44]
push eax
call fcn.1048c35f
pop ecx
test eax, eax
jne 0x1048ed24
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
add ebx, 0xfffffffc
mov esi, dword [esp + 0x10]
cmp ebp, ebx
ja 0x1048ed18
push esi
lea eax, [esp + 0x48]
push edi
push eax
call fcn.1048e68e
push esi
mov byte [ebp], al
lea eax, [esp + 0x54]
push edi
push eax
call fcn.1048e68e
mov byte [ebp + 1], al
lea eax, [esp + 0x5c]
push eax
add ebp, 2
call fcn.1048c35f
add esp, 0x1c
test eax, eax
je 0x1048ece2
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x44]
push eax
call fcn.1048c35f
pop ecx
test eax, eax
jne 0x1048ed70
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
cmp ebp, edi
jae 0x1048ed64
push ebx
lea eax, [esp + 0x48]
push esi
push eax
call fcn.1048e68e
mov byte [ebp], al
lea eax, [esp + 0x50]
push eax
inc ebp
call fcn.1048c35f
add esp, 0x10
test eax, eax
je 0x1048ed3f
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
xor edx, edx
and dword [esp + 0x14], 0
sub eax, ebp
cmp ebp, dword [esp + 0x30]
cmova eax, edx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1048edc2
mov edi, dword [esp + 0x18]
mov esi, eax
mov ebx, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x48]
push edi
push eax
call fcn.1048e68e
mov byte [ebp], al
add esp, 0xc
mov eax, dword [esp + 0x14]
inc ebp
inc eax
mov dword [esp + 0x14], eax
cmp eax, esi
jb 0x1048ed96
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x58]
push eax
call fcn.1048c35f
pop ecx
test eax, eax
jne 0x1048ee1d
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
add edi, 0xfffffffc
mov ebx, dword [esp + 0x10]
cmp esi, edi
ja 0x1048ee15
push ebx
lea eax, [esp + 0x5c]
push ebp
push eax
call fcn.1048e68e
push ebx
mov byte [esi], al
lea eax, [esp + 0x68]
push ebp
push eax
call fcn.1048e68e
mov byte [esi + 1], al
lea eax, [esp + 0x70]
push eax
add esi, 2
call fcn.1048c35f
add esp, 0x1c
test eax, eax
je 0x1048ede0
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x58]
push eax
call fcn.1048c35f
pop ecx
test eax, eax
jne 0x1048ee62
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
cmp esi, dword [esp + 0x34]
jae 0x1048ee5a
push ebx
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.1048e68e
mov byte [esi], al
lea eax, [esp + 0x64]
push eax
inc esi
call fcn.1048c35f
add esp, 0x10
test eax, eax
je 0x1048ee34
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
xor edx, edx
and dword [esp + 0x14], 0
sub eax, esi
cmp esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x18]
cmova eax, edx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1048eeaf
mov edi, dword [esp + 0x10]
mov ebx, eax
push edi
lea eax, [esp + 0x5c]
push ebp
push eax
call fcn.1048e68e
mov byte [esi], al
add esp, 0xc
mov eax, dword [esp + 0x14]
inc esi
inc eax
mov dword [esp + 0x14], eax
cmp eax, ebx
jb 0x1048ee88
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x6c]
push eax
call fcn.1048c35f
pop ecx
test eax, eax
jne 0x1048ef05
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
add edi, 0xfffffffc
cmp ebx, edi
ja 0x1048ef01
push esi
lea eax, [esp + 0x70]
push ebp
push eax
call fcn.1048e68e
push esi
mov byte [ebx], al
lea eax, [esp + 0x7c]
push ebp
push eax
call fcn.1048e68e
mov byte [ebx + 1], al
lea eax, [esp + 0x84]
push eax
add ebx, 2
call fcn.1048c35f
add esp, 0x1c
test eax, eax
je 0x1048eec9
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x6c]
push eax
call fcn.1048c35f
pop ecx
test eax, eax
jne 0x1048ef42
mov edi, dword [esp + 0x10]
cmp ebx, dword [esp + 0x38]
jae 0x1048ef3e
push edi
lea eax, [esp + 0x70]
push ebp
push eax
call fcn.1048e68e
mov byte [ebx], al
lea eax, [esp + 0x78]
push eax
inc ebx
call fcn.1048c35f
add esp, 0x10
test eax, eax
je 0x1048ef18
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
xor edx, edx
and dword [esp + 0x14], 0
sub eax, ebx
cmp ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
cmova eax, edx
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1048ef87
mov edi, eax
push esi
lea eax, [esp + 0x70]
push ebp
push eax
call fcn.1048e68e
mov byte [ebx], al
add esp, 0xc
mov eax, dword [esp + 0x14]
inc ebx
inc eax
mov dword [esp + 0x14], eax
cmp eax, edi
jb 0x1048ef64
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x80]
push eax
call fcn.1048c35f
pop ecx
test eax, eax
jne 0x1048efe0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffffc
mov ebx, eax
cmp edi, ebx
ja 0x1048efe0
push esi
lea eax, [esp + 0x84]
push ebp
push eax
call fcn.1048e68e
push esi
mov byte [edi], al
lea eax, [esp + 0x90]
push ebp
push eax
call fcn.1048e68e
mov byte [edi + 1], al
lea eax, [esp + 0x98]
push eax
add edi, 2
call fcn.1048c35f
add esp, 0x1c
test eax, eax
je 0x1048efa2
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0x80]
push eax
call fcn.1048c35f
pop ecx
jmp 0x1048f01a
cmp edi, ebx
jae 0x1048f01e
push esi
lea eax, [esp + 0x84]
push ebp
push eax
call fcn.1048e68e
mov byte [edi], al
lea eax, [esp + 0x8c]
push eax
inc edi
call fcn.1048c35f
add esp, 0x10
test eax, eax
je 0x1048eff4
and dword [esp + 0x14], 0
sub ebx, edi
xor ecx, ecx
cmp edi, dword [esp + 0x2c]
cmova ebx, ecx
test ebx, ebx
je 0x1048f054
push esi
lea eax, [esp + 0x84]
push ebp
push eax
call fcn.1048e68e
mov byte [edi], al
add esp, 0xc
mov eax, dword [esp + 0x14]
inc edi
inc eax
mov dword [esp + 0x14], eax
cmp eax, ebx
jb 0x1048f032
mov eax, dword [esp + 0x4c]
xor ecx, ecx
inc ecx
push 0x20
pop ebx
cmp eax, dword [esp + 0x50]
jne 0x1048f06e
cmp dword [esp + 0x48], ebx
jne 0x1048f06e
mov edi, ecx
jmp 0x1048f070
xor edi, edi
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x64]
jne 0x1048f084
cmp dword [esp + 0x5c], ebx
jne 0x1048f084
mov esi, ecx
jmp 0x1048f086
xor esi, esi
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x78]
jne 0x1048f09a
cmp dword [esp + 0x70], ebx
jne 0x1048f09a
mov edx, ecx
jmp 0x1048f09c
xor edx, edx
mov eax, dword [esp + 0x88]
cmp eax, dword [esp + 0x8c]
jne 0x1048f0b5
cmp dword [esp + 0x84], ebx
je 0x1048f0b7
xor ecx, ecx
mov eax, dword [esp + 0xa0]
and ecx, edx
and ecx, esi
test edi, ecx
push 0xffffffffffffffec
pop ecx
cmove eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret