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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ab245
sub esp, 0x6c
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x2ac]
add ebx, 0xfffffffe
mov eax, dword [esp + 0x74]
cmp eax, ebx
jbe 0x5aa8c1
mov ebx, dword [0x8256f8]
xor ebp, ebp
jmp 0x5aa8fa
mov ecx, dword [edx + 0x28c]
mov ebx, dword [edx + 0x288]
mov ebp, dword [edx + 0x290]
cmp eax, ecx
ja 0x5ab23f
sub ecx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
cmp ecx, 1
jbe 0x5ab235
movzx ebp, word [ebp + ebx]
xor ebx, ebx
test ebx, ebx
jne 0x5ab197
xchg ebp, eax
mov byte [esp + 0x5c], al
xchg ebp, eax
mov ebx, ebp
and ebp, 0xf00
shr bp, 8
xchg ebp, eax
mov byte [esp + 0x5d], al
xchg ebp, eax
and ebx, 0xfffff000
shr bx, 0xc
mov byte [esp + 0x5e], bl
xchg ebp, eax
cmp al, 5
xchg ebp, eax
ja 0x5aadb4
xchg ebp, eax
cmp al, 2
xchg ebp, eax
ja 0x5aab40
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5aaad7
xchg ebp, eax
cmp al, 1
xchg ebp, eax
jne 0x5aaa7d
test bl, bl
jne 0x5aa9ee
mov ecx, dword [edx + 0x28c]
mov ebx, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
lea ebp, [eax + 2]
cmp ecx, ebp
jb 0x5ab22e
sub ecx, eax
sub edx, eax
add edx, 0xfffffffe
neg edx
sar edx, 0x1f
and ebp, edx
add ecx, 0xfffffffe
cmp ecx, 1
jbe 0x5ab224
movzx eax, word [ebp + ebx]
shl eax, 3
movzx eax, ax
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
mov dword [esp], 0
lea eax, [0x63cfb9]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call fcn.0044b330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, 2
jmp 0x5ab17f
mov ecx, dword [edx + 0x28c]
mov ebx, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
lea ebp, [eax + 2]
cmp ecx, ebp
jb 0x5ab21d
sub edx, eax
sub ecx, eax
add edx, 0xfffffffe
neg edx
sar edx, 0x1f
and ebp, edx
add ecx, 0xfffffffe
cmp ecx, 3
jbe 0x5ab213
mov eax, dword [ebp + ebx]
shl eax, 0x10
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
mov dword [esp], 0
lea eax, [0x63cfb9]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call fcn.0044b330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, 3
jmp 0x5ab17f
shl ebx, 3
lea eax, [ebx + 8]
movzx eax, al
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
mov dword [esp], 0
lea eax, [0x63cfb9]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call fcn.0044b330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, 1
jmp 0x5ab17f
mov eax, dword [0x8246e4]
lea ecx, [0x60f0c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x5e]
mov dword [esp + 8], eax
call fcn.0040c220
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], 0
lea edx, [0x6403c5]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0044b330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, 1
jmp 0x5ab17f
xchg ebp, eax
cmp al, 3
xchg ebp, eax
je 0x5aad4b
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jne 0x5aac51
mov ecx, dword [edx + 0x28c]
mov ebx, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
lea ebp, [eax + 2]
cmp ecx, ebp
jb 0x5ab20c
sub ecx, eax
sub edx, eax
add edx, 0xfffffffe
neg edx
sar edx, 0x1f
and ebp, edx
add ecx, 0xfffffffe
cmp ecx, 1
jbe 0x5ab202
movzx eax, word [ebp + ebx]
shl eax, 3
mov word [esp + 0x68], ax
movzx eax, ax
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
mov eax, dword [0x8246e4]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
lea ebx, [0x60f0c0]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x5e]
mov dword [esp + 8], eax
call fcn.0040c220
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], 0
lea edx, [0x6403c5]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x640239]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 9
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.0044b470
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, 2
jmp 0x5ab17f
mov ecx, dword [edx + 0x28c]
mov ebx, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
lea ebp, [eax + 2]
cmp ecx, ebp
jb 0x5ab1fb
sub edx, eax
sub ecx, eax
add edx, 0xfffffffe
neg edx
sar edx, 0x1f
and ebp, edx
add ecx, 0xfffffffe
cmp ecx, 3
jbe 0x5ab1f1
mov eax, dword [ebp + ebx]
shl eax, 3
mov word [esp + 0x68], ax
movzx eax, ax
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
mov eax, dword [0x8246e4]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], edx
lea ebx, [0x60f0c0]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0x5e]
mov dword [esp + 8], eax
call fcn.0040c220
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], 0
lea edx, [0x6403c5]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x640239]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 9
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
call fcn.0044b470
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, 3
jmp 0x5ab17f
mov eax, dword [0x8246e4]
lea ecx, [0x60f0c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x5e]
mov dword [esp + 8], eax
call fcn.0040c220
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], 0
lea edx, [0x6403c5]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0044b330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, 1
jmp 0x5ab17f
xchg ebp, eax
cmp al, 8
xchg ebp, eax
ja 0x5aaf97
xchg ebp, eax
cmp al, 6
xchg ebp, eax
jne 0x5aae8c
movzx eax, byte [esp + 0x78]
cmp al, 2
jne 0x5aae82
movzx eax, bl
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
movzx eax, byte [esp + 0x5c]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], edx
mov ebx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
lea edx, [0x63d9d2]
mov dword [esp + 4], edx
mov dword [esp + 8], 6
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
lea edx, [0x63e7e2]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 7
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.0044b470
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, 2
jmp 0x5ab17f
xchg ebp, eax
cmp al, 7
xchg ebp, eax
jne 0x5aae9d
mov eax, 3
jmp 0x5ab17f
mov ecx, dword [edx + 0x28c]
mov ebx, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
lea ebp, [eax + 2]
cmp ecx, ebp
jb 0x5ab1ea
sub ecx, eax
sub edx, eax
add edx, 0xfffffffe
neg edx
sar edx, 0x1f
and ebp, edx
add ecx, 0xfffffffe
cmp ecx, 1
jbe 0x5ab1e0
movzx eax, word [ebp + ebx]
shl eax, 4
mov word [esp + 0x68], ax
movzx eax, byte [esp + 0x5e]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
movzx eax, word [esp + 0x68]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], edx
mov ebx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
lea edx, [0x6422de]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], edx
lea edx, [0x640239]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 9
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.0044b470
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, 2
jmp 0x5ab17f
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jne 0x5ab098
mov ecx, dword [edx + 0x28c]
mov ebx, dword [edx + 0x288]
mov edx, dword [edx + 0x290]
lea ebp, [eax + 2]
cmp ecx, ebp
jb 0x5ab1d9
sub ecx, eax
sub edx, eax
add edx, 0xfffffffe
neg edx
sar edx, 0x1f
and ebp, edx
add ecx, 0xfffffffe
cmp ecx, 3
jbe 0x5ab1cf
mov eax, dword [ebp + ebx]
mov word [esp + 0x68], ax
movzx eax, byte [esp + 0x5e]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
movzx eax, word [esp + 0x68]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ebx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [esp + 8], 0xa
call fcn.0049e8b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], 0
lea edx, [0x6422de]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov edx, dword [esp + 0x44]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
lea edx, [0x640239]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 9
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.0044b470
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, 3
jmp 0x5ab17f
xchg ebp, eax
cmp al, 0xa
xchg ebp, eax
jne 0x5ab0a9
mov eax, 1
jmp 0x5ab17f
xchg ebp, eax
cmp al, 0xb
xchg ebp, eax
jne 0x5ab116
mov eax, dword [0x8246e4]
lea ecx, [0x60f0c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x5e]
mov dword [esp + 8], eax
call fcn.0040c220
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], 0
lea edx, [0x6403c5]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0044b330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, 2
jmp 0x5ab17f
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
movzx eax, byte [esp + 0x5d]
lea ecx, [0x6102e0]
mov dword [esp + 0x54], ecx
lea ecx, [0x800ac0]
lea eax, [ecx + eax*8]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 0x2c0]
mov dword [esp], eax
lea eax, [0x649464]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x16
lea eax, [esp + 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004fcf20
mov eax, 1
lea edi, [esp + 0x7c]
lea esi, [esp + 0x5c]
call fcn.0045f0a8
mov dword [esp + 0x8c], eax
add esp, 0x6c
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x6c
ret
mov eax, 3
call fcn.0045e9c0
mov eax, ebp
call fcn.0045ea30
mov eax, 1
call fcn.0045e9c0
mov eax, ebp
call fcn.0045ea30
mov eax, 3
call fcn.0045e9c0
mov eax, ebp
call fcn.0045ea30
mov eax, 1
call fcn.0045e9c0
mov eax, ebp
call fcn.0045ea30
mov eax, 3
call fcn.0045e9c0
mov eax, ebp
call fcn.0045ea30
mov eax, 1
call fcn.0045e9c0
mov eax, ebp
call fcn.0045ea30
mov eax, 1
call fcn.0045e9c0
call fcn.0045ea30
nop
call fcn.0045d530
jmp fcn.005aa840