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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2e8]
cmp eax, dword [ecx + 8]
jbe 0x5ab60c
sub esp, 0x368
lea edi, [esp + 0x300]
xor eax, eax
call fcn.00461349
lea edi, [esp + 0x31c]
call fcn.0046133d
lea ecx, [esp + 0x31c]
mov dword [esp + 0x30c], ecx
call fcn.0044f2b0
mov ecx, dword [esp]
mov dword [esp + 0x308], ecx
lea edi, [esp + 0x2e4]
xor eax, eax
call fcn.00461349
lea edi, [esp + 0x84]
call fcn.0046133b
lea ecx, [esp + 0x84]
mov dword [esp + 0x2f0], ecx
call fcn.0044f2b0
mov ecx, dword [esp]
mov dword [esp + 0x2ec], ecx
mov ecx, dword [esp + 0x370]
test ecx, ecx
je 0x5aaae1
mov edx, dword [esp + 0x374]
mov ebx, dword [esp + 0x36c]
mov eax, ecx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x40], eax
mov ecx, 0xffffffff
mov dword [esp + 0x38], ecx
mov eax, 0xffffffff
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x28], eax
lea eax, [0x7e1a80]
mov dword [esp + 0x2b8], eax
mov eax, dword [esp + 0x370]
mov ecx, eax
jmp 0x5aab6d
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
lea ebx, [ebx + ebx*2]
mov dword [esi + ebx*4], edx
mov dword [esi + ebx*4 + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esi + ebx*4 + 8], eax
add eax, 8
mov edx, dword [esp + 0x374]
mov ebx, dword [esp + 0x36c]
mov edi, dword [esp + 0x370]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2b8], esi
mov ecx, eax
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x370]
add edx, eax
cmp ecx, edx
jae 0x5aafed
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], ecx
cmp esi, 0xf
setae dl
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
seta cl
and ebp, edx
or ecx, ebp
test cl, cl
je 0x5aabe2
mov ecx, dword [0x7b5f80]
mov dword [esp + 0x2d0], ecx
mov edx, dword [0x7b5f84]
mov dword [esp + 0x5c], edx
mov ebp, dword [ebx + 0x274]
mov dword [esp + 0x50], ebp
mov ebx, dword [ebx + 0x270]
mov dword [esp + 0x2c4], ebx
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
jmp 0x5ab4b5
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esp + 0x3c]
sbb edi, edx
cmp ecx, 0x8000000
seta cl
test edi, edi
mov edi, edx
sete dl
xchg ebp, ebx
seta bl
xchg ebp, ebx
and edx, ecx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5aac54
mov ecx, dword [0x7b5f78]
mov dword [esp + 0x2cc], ecx
mov edx, dword [0x7b5f7c]
mov dword [esp + 0x58], edx
mov ebp, dword [ebx + 0x274]
mov dword [esp + 0x4c], ebp
mov ebx, dword [ebx + 0x270]
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
jmp 0x5ab347
movzx ecx, byte [esp + 0x378]
test cl, cl
je 0x5aacca
lea edi, [esp + 0x1c8]
xor eax, eax
call fcn.00461314
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
lea ebp, [0x605ea0]
cmp ecx, ebp
jne 0x5ab31a
lea edi, [esp + 0x1c8]
mov esi, edx
call fcn.00461608
lea edi, [esp + 0xd8]
lea esi, [esp + 0x1c8]
call fcn.00461608
mov eax, dword [esp + 0xf0]
mov dword [esp], ebx
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 4], ecx
call fcn.005a8720
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
jne 0x5aace7
jmp 0x5ab066
mov dword [esp], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.005a8720
mov eax, dword [esp + 8]
cmp eax, 0xffffffff
je 0x5ab15f
mov dword [esp + 0x34], eax
lea ecx, [0x5ec2e0]
mov dword [esp], ecx
call fcn.0040b6c0
mov eax, dword [esp + 4]
mov dword [esp + 0x2d8], eax
mov ecx, dword [esp + 0x36c]
mov dword [esp], ecx
lea edx, [0x5d7360]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 8
call fcn.005a9440
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5ab121
mov ecx, dword [esp + 0x2d8]
mov edx, dword [ecx + 4]
test edx, edx
sete bl
mov ebp, dword [ecx]
test ebp, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5ab025
mov esi, dword [esp + 0x370]
cmp esi, ebp
mov eax, esi
xchg esi, ebx
setbe bl
xchg esi, ebx
test edx, edx
mov edi, ecx
seta cl
and esi, ebx
or esi, ecx
xchg esi, eax
test al, al
xchg esi, eax
je 0x5aada0
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x5aada4
jmp 0x5ab0a4
mov ecx, dword [esp + 0x20]
mov ebx, edx
and edx, 0x80000000
test edx, edx
jbe 0x5aae12
and ebp, 0x7fffffff
cmp ebp, 0xffff
seta dl
and edx, 1
test dl, dl
je 0x5ab19d
mov edx, dword [0x7b5f50]
mov dword [esp + 0x2c8], edx
mov ebx, dword [0x7b5f54]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x36c]
mov esi, dword [ebp + 0x274]
mov dword [esp + 0x48], esi
mov ecx, dword [ebp + 0x270]
mov dword [esp + 0x2bc], ecx
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x7c]
jmp 0x5ab1dd
lea eax, [0x5e69e0]
mov dword [esp], eax
lea ecx, [esp + 0x2e4]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebp
call fcn.0040ea60
movzx eax, byte [esp + 0x14]
test al, al
je 0x5aae4c
mov esi, dword [esp + 0x2c]
add esi, 1
mov ebp, dword [esp + 0x30]
adc ebp, 0
jmp 0x5aae88
mov eax, dword [esp + 0x2d8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea ebx, [0x5e69e0]
mov dword [esp], ebx
lea ebp, [esp + 0x2e4]
mov dword [esp + 4], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
call fcn.0040ebd0
mov eax, dword [esp + 0x10]
mov byte [eax], 1
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x2d8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x40]
cmp edx, ecx
setb bl
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x44]
cmp eax, edi
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setb bl
xchg esi, ebx
and ebp, ebx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5aaec9
mov eax, edi
mov edx, ecx
jmp 0x5aaed5
mov eax, edi
mov edx, ecx
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x38]
cmp ebx, edx
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov esi, dword [esp + 0x3c]
cmp esi, eax
sete cl
xchg edi, ebx
seta bl
xchg edi, ebx
and ebp, ecx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
jne 0x5aaf08
mov eax, esi
mov edx, ebx
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
lea edi, [0x5e68a0]
mov dword [esp], edi
lea edi, [esp + 0x300]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 8], edi
call fcn.0040e080
mov edi, dword [esp + 0xc]
test byte [edi], al
mov eax, dword [0x7e1c20]
test eax, eax
jne 0x5aaf6c
mov ecx, dword [esp + 0x2d8]
mov dword [edi], ecx
jmp 0x5aaf7a
mov eax, dword [esp + 0x2d8]
call fcn.004610d0
mov ecx, eax
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [esp + 0x24]
lea ebp, [ebx + 1]
mov eax, ecx
mov ecx, dword [esp + 0x28]
cmp ecx, ebp
jb 0x5aaf9c
mov esi, dword [esp + 0x2b8]
jmp 0x5aab1f
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
lea eax, [0x5f0660]
mov dword [esp], eax
mov edx, dword [esp + 0x2b8]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebp
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ebx, dword [esp + 0x24]
mov esi, eax
mov ecx, edx
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
jmp 0x5aab1f
mov eax, dword [ebx + 0x2c0]
mov dword [esp], eax
lea eax, [0x61df25]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x39
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.004ea7f0
mov eax, dword [esp + 0x2b8]
mov dword [esp + 0x37c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x380], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x384], eax
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov dword [esp + 0x2dc], 0
mov dword [esp + 0x2e0], 0
mov dword [esp], ecx
call fcn.00409040
mov eax, dword [esp + 4]
lea ecx, [0x5e4880]
mov dword [esp + 0x2dc], ecx
mov dword [esp + 0x2e0], eax
mov eax, dword [esp + 0x36c]
mov eax, dword [eax + 0x2c0]
mov dword [esp], eax
lea eax, [0x61f84b]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x5d
lea eax, [esp + 0x2dc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.004ea7f0
jmp 0x5ab025
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
add esp, 0x368
ret
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
jmp 0x5aaf18
lea ecx, [ebp + 1]
mov edx, dword [esp + 0x2bc]
mov edx, dword [esp + 0x2c8]
mov ebp, dword [esp + 0x36c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2bc]
mov ebp, dword [esp + 0x60]
cmp ebp, esi
jge 0x5ab245
lea edx, [ecx + ebp*8]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
cmp ecx, ebx
jne 0x5ab1ba
mov dword [esp], edx
mov eax, dword [esp + 0x2c8]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5ab22d
mov eax, dword [esp + 0x370]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x2d8]
jmp 0x5ab1ba
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
cmp ecx, edx
mov eax, dword [esp + 0x370]
mov edi, dword [esp + 0x2d8]
jl 0x5ab311
mov ecx, dword [esp + 0x36c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov esi, dword [ecx + 0x278]
cmp esi, ebx
jae 0x5ab2d3
lea eax, [0x5e4740]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x5ab2b4
mov dword [ebx + 0x270], eax
jmp 0x5ab2bf
lea edi, [ebx + 0x270]
call fcn.004610d0
mov edi, dword [esp + 0x2d8]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x370]
mov ecx, ebx
lea ebx, [edx + 1]
mov dword [ecx + 0x274], ebx
mov ebx, dword [0x7b5f50]
mov esi, dword [0x7b5f54]
lea ecx, [ebp + edx*8 + 4]
mov dword [ecx], esi
mov ecx, dword [0x7e1c20]
lea edx, [ebp + edx*8]
test ecx, ecx
jne 0x5ab300
mov dword [edx], ebx
jmp 0x5ab311
mov ecx, edi
mov edi, edx
mov ebp, eax
mov eax, ebx
call fcn.004610d0
mov eax, ebp
mov edi, ecx
mov ecx, dword [esp + 0x20]
jmp 0x5ab19d
mov dword [esp], ecx
mov dword [esp + 4], ebp
lea eax, [0x5e4100]
mov dword [esp + 8], eax
call fcn.00408da0
inc ecx
mov ebx, dword [esp + 0x2c0]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2cc]
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
jge 0x5ab3ad
lea ebx, [ebx + ecx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ebp, edx
jne 0x5ab330
mov dword [esp], ebx
mov eax, dword [esp + 0x2cc]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5ab394
mov eax, dword [esp + 0x370]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
jmp 0x5ab330
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
mov eax, dword [esp + 0x370]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
jl 0x5ab492
mov ecx, dword [esp + 0x36c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov ecx, dword [ecx + 0x278]
cmp ecx, ebx
jae 0x5ab43a
lea eax, [0x5e4740]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x5ab41c
mov dword [ebx + 0x270], eax
jmp 0x5ab427
lea edi, [ebx + 0x270]
call fcn.004610d0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x3c]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x370]
lea ecx, [edx + 1]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x274], ecx
mov ecx, dword [0x7b5f78]
mov dword [esp + 0x2d4], ecx
mov ebx, dword [0x7b5f7c]
lea ecx, [ebp + edx*8 + 4]
mov dword [ecx], ebx
mov ecx, dword [0x7e1c20]
lea edx, [ebp + edx*8]
test ecx, ecx
jne 0x5ab47c
mov ecx, dword [esp + 0x2d4]
mov dword [edx], ecx
jmp 0x5ab492
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x2d4]
call fcn.004610d0
mov eax, ebx
mov edi, ecx
mov ebx, dword [esp + 0x36c]
jmp 0x5aac54
inc ecx
mov ebx, dword [esp + 0x2c4]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2d0]
mov ecx, dword [esp + 0x60]
cmp ecx, ebp
jge 0x5ab51b
lea ebx, [ebx + ecx*8]
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx]
cmp ebp, edx
jne 0x5ab49e
mov dword [esp], ebx
mov eax, dword [esp + 0x2d0]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5ab502
mov eax, dword [esp + 0x370]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
jmp 0x5ab49e
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
cmp ecx, edx
mov eax, dword [esp + 0x370]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
jl 0x5ab600
mov ecx, dword [esp + 0x36c]
mov edx, dword [ecx + 0x274]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x270]
mov ecx, dword [ecx + 0x278]
cmp ecx, ebx
jae 0x5ab5a8
lea eax, [0x5e4740]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.0044a7d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x278], edx
mov edx, dword [0x7e1c20]
test edx, edx
jne 0x5ab58a
mov dword [ebx + 0x270], eax
jmp 0x5ab595
lea edi, [ebx + 0x270]
call fcn.004610d0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x370]
lea ecx, [edx + 1]
mov ebx, dword [esp + 0x36c]
mov dword [ebx + 0x274], ecx
mov ecx, dword [0x7b5f80]
mov dword [esp + 0x2d4], ecx
mov ebx, dword [0x7b5f84]
lea ecx, [ebp + edx*8 + 4]
mov dword [ecx], ebx
mov ecx, dword [0x7e1c20]
lea edx, [ebp + edx*8]
test ecx, ecx
jne 0x5ab5ea
mov ecx, dword [esp + 0x2d4]
mov dword [edx], ecx
jmp 0x5ab600
mov ecx, edi
mov edi, edx
mov ebx, eax
mov eax, dword [esp + 0x2d4]
call fcn.004610d0
mov eax, ebx
mov edi, ecx
mov ebx, dword [esp + 0x36c]
jmp 0x5aabe2
call fcn.0045fcc0
jmp fcn.005aa9f0