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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff48
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov esi, 3
mov dword [esp + 0x28], 3
mov eax, dword [0x66c674]
lea ebx, [eax + 0x10c]
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
cmp dword [ebx + 8], 1
jle 0x5aa521
mov eax, dword [ebx + 8]
imul eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
je 0x5ab6eb
cmp dword [esp + 0x1c], 0x10000
jg 0x5ab6eb
mov eax, dword [esp]
mov eax, dword [eax]
mov ebp, dword [eax + 0x14e0]
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x24]
cdq
push edx
push eax
mov eax, ebp
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
sub eax, 1
sbb edx, 0
call fcn.0040517c
imul ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp]
mov eax, dword [eax]
xor edx, edx
call fcn.00480ac8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0xc]
cmp eax, 0x7fff0000
jbe 0x5aa5a3
mov eax, 0x7fff0000
sub eax, dword [esp + 0xc]
xor edx, edx
div ebp
imul ebp
mov dword [esp + 0x10], eax
cmp ebp, dword [esp + 0x10]
ja 0x5ab6eb
cmp dword [esp + 0x10], 0x8000
jb 0x5aa5c5
mov eax, dword [esp + 0x10]
shr eax, 0xc
shl eax, 0xc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp]
xor edx, edx
call fcn.004a273c
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
mov eax, dword [esp + 0x1c]
cdq
cmp edx, dword [esp + 0x6c]
jne 0x5aa5f6
cmp eax, dword [esp + 0x68]
jbe 0x5aa602
jmp 0x5aa5f8
jle 0x5aa602
mov esi, 1
jmp 0x5ab6eb
cmp byte [ebx + 0x11], 0
je 0x5aa727
mov eax, dword [esp + 8]
mov edx, dword [eax]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
cmp dword [esp + 0x44], 0xffffffff
jne 0x5aa62f
cmp dword [esp + 0x40], 0xffffffff
je 0x5ab6eb
cmp byte [ebx + 0xe], 0
je 0x5aa717
cmp dword [esp + 0x44], 0
jne 0x5aa649
cmp dword [esp + 0x40], 0
jae 0x5aa6ae
jmp 0x5aa64b
jge 0x5aa6ae
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
jbe 0x5aa67a
mov eax, ebp
sub eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x68]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
jmp 0x5aa6e6
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
call fcn.00405210
mov dword [esp + 0x58], eax
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
call fcn.0040517c
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
call fcn.00405158
push edx
push eax
mov eax, dword [ebx + 4]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
call fcn.0040d7d8
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
lea eax, [ebx + 0x18]
mov ecx, dword [ebx]
call fcn.00402da0
cmp byte [ebx + 0xd], 0
jne 0x5aa76d
cmp byte [ebx + 0xf], 0
je 0x5aa762
mov edx, dword [ebx]
sar edx, 1
jns 0x5aa757
adc edx, 0
mov eax, dword [esp + 0x18]
call fcn.00414548
jmp 0x5aa76d
mov edx, dword [ebx]
mov eax, dword [esp + 0x18]
call fcn.004144fc
cmp dword [ebx + 8], 1
jle 0x5aa7ab
mov eax, dword [ebx + 8]
dec eax
test eax, eax
jle 0x5aa7ab
mov dword [esp + 0x7c], eax
mov dword [esp + 0x2c], 1
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx]
imul edx, eax
mov ecx, dword [esp + 0x18]
lea edx, [ecx + edx]
mov ecx, dword [esp + 0x18]
xchg ecx, eax
call fcn.00402da0
inc dword [esp + 0x2c]
dec dword [esp + 0x7c]
jne 0x5aa787
mov eax, dword [esp + 0x14]
call fcn.0040d7d8
mov dword [esp + 0x20], eax
cmp byte [ebx + 0xf], 0
je 0x5aa7d3
cmp byte [ebx + 0xd], 0
jne 0x5aa7d3
mov eax, dword [esp + 0x14]
call fcn.0040d7d8
mov dword [esp + 0x24], eax
jmp 0x5aa7d9
xor eax, eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x74], 0
cmp byte [ebx + 0x11], 0
je 0x5aa94a
cmp byte [ebx + 0xc], 0
je 0x5aa877
mov eax, dword [esp + 0x1c]
cdq
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x6c]
jne 0x5aa80d
cmp eax, dword [esp + 0x68]
ja 0x5aa877
jmp 0x5aa80f
jg 0x5aa877
push dword [esp + 0x54]
push dword [esp + 0x54]
push 0x100080
lea eax, [esp + 0x6c]
push eax
push 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
call fcn.004a2a68
mov dword [esp + 0x78], eax
cmp byte [ebx + 0xd], 0
jne 0x5aa862
cmp byte [ebx + 0xf], 0
je 0x5aa855
mov edx, dword [esp + 0x60]
shr edx, 1
mov eax, dword [esp + 0x20]
call fcn.00414548
jmp 0x5aa862
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x20]
call fcn.004144fc
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
call fcn.00411368
mov byte [esp + 0x74], al
cmp byte [ebx + 0xe], 0
je 0x5aa883
mov dword [esp + 0x30], ebp
jmp 0x5aa89c
cmp byte [esp + 0x74], 0
je 0x5aa894
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
jmp 0x5aa89c
mov dword [esp + 0x30], 1
cmp byte [ebx + 0x10], 0
je 0x5aa8e9
mov eax, dword [esp + 0x30]
cdq
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x1c]
cdq
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x6c]
jne 0x5aa8d6
cmp eax, dword [esp + 0x68]
jbe 0x5aa982
jmp 0x5aa8dc
jle 0x5aa982
mov dword [esp + 0x28], 1
jmp 0x5ab6c5
mov eax, dword [esp + 0x30]
cdq
cmp edx, dword [esp + 0x44]
jne 0x5aa8fc
cmp eax, dword [esp + 0x40]
jbe 0x5aa90b
jmp 0x5aa8fe
jle 0x5aa90b
mov dword [esp + 0x28], 1
jmp 0x5ab6c5
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push edx
push eax
mov eax, dword [esp + 0x38]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x1c]
cdq
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x6c]
jne 0x5aa946
cmp eax, dword [esp + 0x68]
ja 0x5aa8e9
jmp 0x5aa982
jg 0x5aa8e9
jmp 0x5aa982
cmp byte [ebx + 0x10], 0
je 0x5aa962
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
jmp 0x5aa982
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
push edx
push eax
mov eax, dword [esp + 0x24]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
cmp byte [ebx + 0xe], 0
je 0x5aaa5a
cmp dword [esp + 0x44], 0
jne 0x5aa99c
cmp dword [esp + 0x40], 0
jae 0x5aaa01
jmp 0x5aa99e
jge 0x5aaa01
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
jbe 0x5aa9cd
mov eax, ebp
sub eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x68]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
jmp 0x5aaa39
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
call fcn.00405210
mov dword [esp + 0x58], eax
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
call fcn.0040517c
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
call fcn.00405158
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov byte [esp + 0x75], 1
mov byte [esp + 0x76], 0
xor edi, edi
mov eax, edi
xor edx, edx
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
cmp edx, 0
jne 0x5aaa7e
cmp eax, 0
jae 0x5aaaeb
jmp 0x5aaa80
jge 0x5aaaeb
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
add eax, dword [esp + 0x48]
adc edx, dword [esp + 0x4c]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
jbe 0x5aaab3
mov eax, ebp
sub eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
add eax, dword [esp + 0x48]
adc edx, dword [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x68]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
jmp 0x5aab2b
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
add eax, dword [esp + 0x48]
adc edx, dword [esp + 0x4c]
call fcn.00405210
mov dword [esp + 0x58], eax
mov eax, ebp
xor edx, edx
push edx
push eax
mov eax, edi
xor edx, edx
add eax, dword [esp + 0x48]
adc edx, dword [esp + 0x4c]
call fcn.0040517c
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
lea eax, [esp + 0xa8]
mov edx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 4], edx
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.00442a3c
mov dword [esp + 0xb4], eax
cmp byte [ebx + 0x10], 0
je 0x5aab77
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb0], eax
jmp 0x5aab9d
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
sub eax, dword [esp + 0x40]
sbb edx, dword [esp + 0x44]
push edx
push eax
push dword [esp + 0x74]
push dword [esp + 0x74]
call fcn.00442a3c
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb4]
push eax
lea ecx, [esp + 0xac]
mov edx, 0x7d0
mov eax, dword [esp + 8]
call fcn.004444a8
cmp byte [ebx + 0x10], 0
je 0x5aad27
cmp edi, dword [esp + 0xc]
ja 0x5ab6c5
mov eax, edi
xor edx, edx
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
cmp dword [esp + 0x44], 0
jne 0x5aabf2
cmp dword [esp + 0x40], 0
jae 0x5aac5d
jmp 0x5aabf4
jge 0x5aac5d
mov eax, dword [esp + 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
jbe 0x5aac27
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x68]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
jmp 0x5aac99
mov eax, dword [esp + 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
call fcn.00405210
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
call fcn.0040517c
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0xc]
ja 0x5aacb7
mov eax, dword [esp + 0x10]
add dword [esp + 0x60], eax
cmp byte [esp + 0x75], 0
je 0x5aaced
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0x100080
lea eax, [esp + 0x6c]
push eax
push 0
mov ecx, dword [esp + 0x34]
add ecx, edi
mov edx, dword [esp + 0x74]
sub edx, edi
mov eax, dword [esp + 0x14]
call fcn.004a2a68
mov dword [esp + 0x78], eax
jmp 0x5aad1a
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0x106080
lea eax, [esp + 0x6c]
push eax
push 0
mov ecx, dword [esp + 0x34]
add ecx, edi
mov edx, dword [esp + 0x74]
sub edx, edi
mov eax, dword [esp + 0x14]
call fcn.004a2a68
mov dword [esp + 0x78], eax
mov dword [esp + 0x34], edi
add edi, dword [esp + 0x60]
jmp 0x5aaf4c
cmp dword [esp + 0x44], 0
jne 0x5aad37
cmp dword [esp + 0x40], 0
jae 0x5aada2
jmp 0x5aad39
jge 0x5aada2
mov eax, dword [esp + 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
neg eax
adc edx, 0
neg edx
call fcn.00405210
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x5c], 0
jbe 0x5aad6c
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push edx
push eax
mov eax, dword [esp + 0x6c]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040517c
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
jmp 0x5aadde
mov eax, dword [esp + 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
call fcn.00405210
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
call fcn.0040517c
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov eax, dword [esp + 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
call fcn.00405158
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
cmp dword [esp + 0x5c], 0
jne 0x5aae61
mov eax, dword [esp + 0x10]
xor edx, edx
cmp edx, dword [esp + 0x44]
jne 0x5aae1c
cmp eax, dword [esp + 0x40]
ja 0x5aae49
jmp 0x5aae1e
jg 0x5aae49
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
push edx
push eax
mov eax, dword [esp + 0x18]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
jmp 0x5aae61
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x60], eax
test edi, edi
jbe 0x5aaeac
cmp edi, dword [esp + 0xc]
jbe 0x5aae77
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
lea edx, [eax + edx]
mov eax, dword [esp + 0x20]
mov ecx, edi
call fcn.00402da0
cmp dword [esp + 0x24], 0
je 0x5aaeb4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
lea edx, [eax + edx]
mov eax, dword [esp + 0x24]
mov ecx, edi
call fcn.00402da0
jmp 0x5aaeb4
mov eax, dword [esp + 0x1c]
add dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
cmp byte [esp + 0x75], 0
je 0x5aaf19
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0x100080
lea eax, [esp + 0x6c]
push eax
push 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
call fcn.004a2a68
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x60]
jbe 0x5aaf42
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
add eax, edx
mov edx, dword [esp + 0x14]
sub edx, dword [esp + 0x60]
xor ecx, ecx
call fcn.004032f4
jmp 0x5aaf42
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push 0x106080
lea eax, [esp + 0x6c]
push eax
push 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x74]
call fcn.004a2a68
mov dword [esp + 0x78], eax
add edi, dword [esp + 0x60]
xor eax, eax
mov dword [esp + 0x34], eax
cmp dword [esp + 0x78], 0x8013
je 0x5aaf5d
cmp dword [esp + 0x60], 0
jne 0x5aaf6c
mov eax, dword [esp + 4]
call fcn.004449c4
xor eax, eax
mov dword [esp + 0x78], eax
mov eax, dword [esp]
mov eax, dword [eax]
mov edx, dword [esp + 4]
call fcn.0049bae8
test al, al
je 0x5aaf8b
mov dword [esp + 0x28], 4
jmp 0x5ab6c5
cmp dword [esp + 0x60], 0
je 0x5aaa66
cmp byte [ebx + 0xd], 0
jne 0x5ab0db
cmp byte [ebx + 0xf], 0
je 0x5ab0ca
cmp dword [esp + 0x24], 0
je 0x5aafca
mov edx, dword [esp + 0x24]
add edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x60]
call fcn.00402da0
mov edx, dword [esp + 0x60]
shr edx, 1
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x34]
call fcn.00414548
test byte [esp + 0x60], 1
je 0x5ab033
mov eax, dword [esp + 0x34]
cdq
push edx
push eax
mov eax, dword [esp + 0x68]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
add eax, 1
adc edx, 0
push edx
push eax
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5ab018
cmp eax, dword [esp]
pop edx
pop eax
jb 0x5ab033
jmp 0x5ab01c
pop edx
pop eax
jl 0x5ab033
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x34]
add eax, dword [esp + 0x60]
dec eax
mov edx, 1
call fcn.00414548
cmp dword [esp + 0x24], 0
je 0x5ab0db
cmp dword [esp + 0x34], 1
jle 0x5ab058
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x34]
dec eax
mov edx, 1
call fcn.00414548
cmp dword [esp + 0x60], 2
jbe 0x5ab074
mov edx, dword [esp + 0x60]
dec edx
shr edx, 1
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x34]
inc eax
call fcn.00414548
mov eax, dword [esp + 0x34]
inc eax
cdq
push edx
push eax
mov eax, dword [esp + 0x68]
inc eax
and eax, 0xfffffffe
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5ab0a7
cmp eax, dword [esp]
pop edx
pop eax
jb 0x5ab0db
jmp 0x5ab0ab
pop edx
pop eax
jl 0x5ab0db
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x34]
inc eax
mov edx, dword [esp + 0x60]
dec edx
and edx, 0xfffffffe
add eax, edx
mov edx, 1
call fcn.00414548
jmp 0x5ab0db
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x34]
mov edx, dword [esp + 0x60]
call fcn.004144fc
cmp byte [ebx + 0x10], 0
je 0x5ab15a
mov byte [esp + 0x75], 0
mov eax, dword [esp + 0x60]
xor edx, edx
add eax, dword [esp + 0x48]
adc edx, dword [esp + 0x4c]
cmp edx, dword [esp + 0x6c]
jne 0x5ab102
cmp eax, dword [esp + 0x68]
jb 0x5ab109
jmp 0x5ab104
jl 0x5ab109
mov byte [esp + 0x76], 1
cmp byte [esp + 0x76], 0
je 0x5ab146
mov eax, edi
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x24]
cdq
cmp edx, dword [esp + 4]
jne 0x5ab12a
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x5ab13b
jmp 0x5ab12e
pop edx
pop eax
jle 0x5ab13b
mov dword [esp + 0x28], 1
jmp 0x5ab6c5
sub edi, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x60], edi
jmp 0x5ab1ad
cmp edi, dword [esp + 0xc]
jbe 0x5aaa66
sub edi, dword [esp + 0xc]
mov dword [esp + 0x60], edi
jmp 0x5ab1ad
cmp byte [esp + 0x75], 0
je 0x5ab195
mov eax, dword [esp + 0x60]
xor edx, edx
push edx
push eax
mov eax, dword [esp + 0x24]
cdq
cmp edx, dword [esp + 4]
jne 0x5ab180
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x5ab188
jmp 0x5aaa66
pop edx
pop eax
jg 0x5aaa66
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x75], 0
cmp dword [esp + 0x4c], 0
jne 0x5ab1a6
cmp dword [esp + 0x48], 0
sete al
mov byte [esp + 0x76], al
cmp byte [esp + 0x74], 0
je 0x5ab436
mov dword [esp + 0x38], 0xffffffff
cmp byte [ebx + 0xe], 0
je 0x5ab1eb
mov dword [esp + 0x30], ebp
cmp byte [ebx + 0x10], 0
je 0x5ab1d5
mov esi, dword [ebx + 4]
jmp 0x5ab252
mov eax, dword [esp + 0x60]
add eax, ebp
dec eax
xor edx, edx
div ebp
mov esi, eax
dec esi
imul esi, ebp
add esi, dword [ebx + 4]
jmp 0x5ab252
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
cmp edx, dword [esp + 0x44]
jne 0x5ab209
cmp eax, dword [esp + 0x40]
jae 0x5ab20f
jmp 0x5ab20b
jge 0x5ab20f
xor esi, esi
jmp 0x5ab252
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub eax, dword [esp + 0x40]
sbb edx, dword [esp + 0x44]
push edx
push eax
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5ab236
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5ab240
jmp 0x5ab23a
pop edx
pop eax
jg 0x5ab240
mov esi, dword [esp + 0x14]
jmp 0x5ab252
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub eax, dword [esp + 0x40]
sbb edx, dword [esp + 0x44]
mov esi, eax
cmp byte [ebx + 0x10], 0
je 0x5ab31f
ret
add byte [eax], al
invalid
jmp 0x5ab2f1
test esi, esi
jl 0x5ab2d8
mov eax, dword [esp + 0x20]
add eax, esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
call fcn.00411368
test al, al
jne 0x5ab2d8
cmp byte [ebx + 0xe], 0
jne 0x5ab2cf
cmp dword [ebx + 8], 1
jle 0x5ab2cf
mov eax, dword [ebx + 8]
dec eax
test eax, eax
jl 0x5ab2cf
inc eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x20]
add eax, esi
mov edx, dword [esp + 0x2c]
imul edx, dword [ebx]
add eax, edx
mov ecx, dword [ebx]
mov edx, dword [esp + 0x18]
call fcn.00411368
test al, al
jne 0x5ab2c5
mov eax, dword [esp + 0x2c]
imul dword [ebx]
add esi, eax
jmp 0x5ab2cf
inc dword [esp + 0x2c]
dec dword [esp + 0x7c]
jne 0x5ab29d
mov dword [esp + 0x38], esi
jmp 0x5ab633
add esi, dword [esp + 0x30]
mov eax, dword [esp + 0x30]
cdq
add eax, dword [esp + 0x50]
adc edx, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov eax, esi
cdq
push edx
push eax
mov eax, dword [esp + 0x68]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5ab312
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5ab261
jmp 0x5ab633
pop edx
pop eax
jg 0x5ab261
jmp 0x5ab633
test esi, esi
jl 0x5ab633
jmp 0x5ab34d
sub esi, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push edx
push eax
mov eax, dword [esp + 0x38]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov eax, esi
cdq
push edx
push eax
mov eax, dword [esp + 0x68]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5ab367
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x5ab329
jmp 0x5ab36b
pop edx
pop eax
jle 0x5ab329
test esi, esi
jl 0x5ab412
test esi, esi
jl 0x5ab3e0
mov eax, dword [esp + 0x20]
add eax, esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
call fcn.00411368
test al, al
jne 0x5ab3e0
cmp byte [ebx + 0xe], 0
jne 0x5ab3da
cmp dword [ebx + 8], 1
jle 0x5ab3da
mov eax, dword [ebx + 8]
dec eax
cmp eax, 0
jl 0x5ab3da
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add eax, esi
mov edx, dword [esp + 0x2c]
imul edx, dword [ebx]
add eax, edx
mov ecx, dword [ebx]
mov edx, dword [esp + 0x18]
call fcn.00411368
test al, al
jne 0x5ab3cf
mov eax, dword [esp + 0x2c]
imul dword [ebx]
add esi, eax
jmp 0x5ab3da
dec dword [esp + 0x2c]
cmp dword [esp + 0x2c], 0xffffffff
jne 0x5ab3a7
mov dword [esp + 0x38], esi
jmp 0x5ab412
cmp esi, dword [esp + 0x30]
jl 0x5ab412
sub esi, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
push edx
push eax
mov eax, dword [esp + 0x38]
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
test esi, esi
jge 0x5ab373
cmp dword [esp + 0x54], 0
jne 0x5ab426
cmp dword [esp + 0x50], 0
jae 0x5ab633
jmp 0x5ab42c
jge 0x5ab633
mov byte [esp + 0x76], 1
jmp 0x5ab633
cmp byte [ebx + 0xe], 0
je 0x5ab569
mov dword [esp + 0x38], 0xffffffff
cmp byte [ebx + 0x10], 0
je 0x5ab4bd
mov esi, dword [ebx + 4]
jmp 0x5ab497
test esi, esi
jl 0x5ab495
mov eax, dword [esp + 0x20]
add eax, esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
call fcn.00411368
test al, al
jne 0x5ab48c
cmp dword [esp + 0x24], 0
je 0x5ab495
mov eax, dword [esp + 0x24]
add eax, esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
call fcn.00411368
test al, al
je 0x5ab495
mov dword [esp + 0x38], esi
jmp 0x5ab633
add esi, ebp
mov eax, esi
cdq
push edx
push eax
mov eax, dword [esp + 0x68]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5ab4b4
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5ab453
jmp 0x5ab633
pop edx
pop eax
jg 0x5ab453
jmp 0x5ab633
mov eax, dword [esp + 0x60]
add eax, ebp
dec eax
xor edx, edx
div ebp
mov esi, eax
dec esi
imul esi, ebp
add esi, dword [ebx + 4]
mov eax, esi
cdq
push edx
push eax
mov eax, dword [esp + 0x68]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5ab4eb
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5ab4f1
jmp 0x5ab4ef
pop edx
pop eax
jg 0x5ab4f1
sub esi, ebp
test esi, esi
jl 0x5ab633
test esi, esi
jl 0x5ab53b
mov eax, dword [esp + 0x20]
add eax, esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
call fcn.00411368
test al, al
jne 0x5ab532
cmp dword [esp + 0x24], 0
je 0x5ab53b
mov eax, dword [esp + 0x24]
add eax, esi
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
call fcn.00411368
test al, al
je 0x5ab53b
mov dword [esp + 0x38], esi
jmp 0x5ab633
mov eax, esi
cdq
push edx
push eax
mov eax, ebp
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x5ab556
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x5ab55e
jmp 0x5ab633
pop edx
pop eax
jg 0x5ab633
sub esi, ebp
test esi, esi
jge 0x5ab4f9
jmp 0x5ab633
cmp byte [ebx + 0x10], 0
je 0x5ab58e
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [esp + 0x64]
sub ecx, 0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
call fcn.005aa478
mov dword [esp + 0x38], eax
jmp 0x5ab5a8
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
call fcn.005aa41c
mov dword [esp + 0x38], eax
cmp dword [esp + 0x38], 0xffffffff
je 0x5ab5b4
add dword [esp + 0x38], 0
cmp byte [ebx + 0xf], 0
je 0x5ab633
cmp dword [esp + 0x24], 0
je 0x5ab633
cmp dword [esp + 0x38], 0xffffffff
je 0x5ab5d2
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
jmp 0x5ab5da
mov eax, dword [esp + 0x60]
mov dword [esp + 0x30], eax
cmp byte [ebx + 0x10], 0
je 0x5ab601
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [esp + 0x34]
sub ecx, 0
dec ecx
mov eax, dword [esp + 0x28]
inc eax
mov edx, dword [esp + 0x1c]
call fcn.005aa478
mov dword [esp + 0x3c], eax
jmp 0x5ab620
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [esp + 0x34]
sub ecx, 0
dec ecx
mov eax, dword [esp + 0x28]
inc eax
mov edx, dword [esp + 0x1c]
call fcn.005aa41c
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x3c], 0xffffffff
je 0x5ab633
inc dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x38], 0xffffffff
je 0x5ab65a
mov dword [esp + 0x28], 2
mov eax, dword [esp + 0x38]
cdq
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x5ab6c5
cmp byte [esp + 0x76], 0
je 0x5ab66b
mov dword [esp + 0x28], 1
jmp 0x5ab6c5
cmp byte [ebx + 0x10], 0
je 0x5ab6bc
mov eax, dword [esp + 0x60]
xor edx, edx
add eax, dword [esp + 0x40]
adc edx, dword [esp + 0x44]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
add eax, edx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
call fcn.00402da0
cmp dword [esp + 0x24], 0
je 0x5ab6bc
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
add eax, edx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0xc]
call fcn.00402da0
mov edi, dword [esp + 0xc]
jmp 0x5aaa66
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x20]
call fcn.0040d7e8
cmp dword [esp + 0x24], 0
je 0x5ab6e2
lea eax, [esp + 0x24]
call fcn.0040d7e8
lea eax, [esp + 0x18]
call fcn.0040d7e8
mov eax, esi
add esp, 0xb8
pop ebp
pop edi
pop esi
pop ebx
ret