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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x579e23
sub esp, 0x98
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
call fcn.0057d150
movzx eax, byte [esp + 0x11]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x10]
movzx ebx, byte [esp + 8]
test al, al
je 0x579a47
mov byte [esp + 0x43], bl
mov dword [esp + 0x44], ecx
mov byte [esp + 0x42], dl
xor eax, eax
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x579ac3
lea eax, [0x770f62]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0x19
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.004090a0
mov eax, dword [esp + 8]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea ecx, [0x7cabb8]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x98
ret
mov edi, dword [esp + 0x4c]
inc edi
mov ecx, edx
mov edx, esi
mov eax, dword [esp + 0x58]
mov esi, ebp
mov ebp, ebx
movzx ebx, byte [esp + 0x43]
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0xa0]
cmp eax, esi
jle 0x579cb7
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
call fcn.005793d0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
movzx edx, byte [esp + 0x1c]
test ecx, ecx
jne 0x579c7d
cmp ebp, 0x14
jg 0x579b3f
cmp ebp, 0xc
je 0x579b5f
cmp ebp, 0x12
je 0x579b5f
cmp ebp, 0x14
je 0x579b5f
jmp 0x579b64
cmp ebp, 0x18
jg 0x579b55
cmp ebp, 0x16
je 0x579b5f
cmp ebp, 0x17
jl 0x579b64
mov ebp, 0x17
jmp 0x579b64
cmp ebp, 0x1b
je 0x579b5f
cmp ebp, 0x1e
jne 0x579b64
mov ebp, 0x13
mov dword [esp + 0x58], ecx
movzx ecx, byte [esp + 0x43]
test cl, cl
je 0x579b7c
mov edx, dword [esp + 0x44]
movzx esi, byte [esp + 0x42]
jmp 0x579b9b
test esi, esi
jne 0x579c17
movzx esi, byte [esp + 0x42]
xchg esi, eax
cmp dl, al
xchg esi, eax
jne 0x579c17
mov edx, dword [esp + 0x44]
cmp ebp, edx
jne 0x579c17
lea ebp, [edi + eax]
cmp eax, ebp
jg 0x579bb1
mov eax, dword [esp + 0xa0]
cmp eax, ebp
jge 0x579aad
lea eax, [0x76d7e0]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x12
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.004090a0
mov eax, dword [esp + 8]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea ecx, [0x7caba4]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x98
ret
lea eax, [0x76eddb]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x15
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call fcn.004090a0
mov eax, dword [esp + 8]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea ecx, [0x7cabb8]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
add esp, 0x98
ret
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ebx
add esp, 0x98
ret
mov dword [esp + 0x64], ebp
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], edi
call fcn.00486d90
mov eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x5c], edx
lea edi, [esp + 0x80]
mov ebx, eax
xor eax, eax
call fcn.00456d5a
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
xor ebp, ebp
xor esi, esi
jmp 0x579d26
mov edi, dword [esp + 0x48]
lea ebp, [edi + 1]
mov ecx, edx
mov esi, ebx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
cmp ebp, edi
jge 0x579df5
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00484d30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x80]
call fcn.00457234
call fcn.00579e30
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
test eax, eax
je 0x579d13
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
add esp, 0x98
ret
mov ebp, dword [esp + 0x60]
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
add esp, 0x98
ret
call fcn.00455690
jmp fcn.005799e0