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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5b0925
sub esp, 0x94
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x5b0857
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x5b0788
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x48]
mov dword [esp + 0x7c], edx
mov ebx, dword [ecx + 0x4c]
mov dword [esp + 0x4c], ebx
xor ebp, ebp
xor esi, esi
jmp 0x5b0098
mov dword [esp + 0x54], edx
mov byte [esp + 0x22], bl
lea ecx, [eax + edx*8]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea ecx, [0x61d34d]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
call fcn.004a7ad0
mov eax, dword [esp + 0x54]
lea edx, [eax + 1]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
setne bl
movzx eax, byte [esp + 0x22]
or ebx, eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
cmp edx, ecx
jl 0x5aff7c
test bl, bl
je 0x5b010b
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004a7440
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x58]
mov ebx, dword [edx + 0xc]
mov edx, dword [edx + 8]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004a7440
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x80], ebx
mov dword [esp + 4], ecx
lea ecx, [0x5e2f60]
mov dword [esp], ecx
mov ebp, dword [esp + 0x84]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0xc], ebp
call fcn.0040e300
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0x7d95f0]
test eax, eax
jne 0x5b00fa
mov eax, dword [esp + 0x80]
mov dword [edi], eax
mov eax, 1
mov edi, dword [esp + 0x48]
lea ebp, [edi + 1]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x9c]
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
cmp ebp, ebx
jge 0x5b028a
mov dword [esp + 0x48], ebp
lea eax, [edx + ebp*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x61cf65]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 2
call fcn.004a6400
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp ecx, 2
jne 0x5b01bc
mov dword [esp + 0x58], eax
mov dword [esp + 0x24], ecx
xor edx, edx
xor ebx, ebx
jmp 0x5affca
mov eax, dword [esp + 0x80]
call fcn.0044b6a0
jmp 0x5b0074
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004a7440
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x58]
mov ebx, dword [edx + 0xc]
mov edx, dword [edx + 8]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004a7440
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x80], ebx
mov dword [esp + 4], ecx
lea ecx, [0x5e2f60]
mov dword [esp], ecx
mov ebp, dword [esp + 0x84]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0xc], ebp
call fcn.0040e300
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0x7d95f0]
test eax, eax
jne 0x5b01ae
mov eax, dword [esp + 0x80]
mov dword [edi], eax
movzx eax, byte [esp + 0x23]
jmp 0x5b0079
mov eax, dword [esp + 0x80]
call fcn.0044b6a0
jmp 0x5b01a4
lea eax, [0x62d05c]
mov dword [esp], eax
mov dword [esp + 4], 0x4d
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004982e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x8c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x88]
cmp ebx, ebp
jg 0x5b0240
lea ebx, [edx + 1]
mov dword [esp + 0x8c], ebx
lea ebx, [esi + edx*8]
mov dword [ebx], eax
lea edi, [esi + edx*8 + 4]
mov edx, dword [0x7d95f0]
test edx, edx
jne 0x5b0237
mov dword [edi], ecx
movzx eax, byte [esp + 0x23]
jmp 0x5b0079
mov eax, ecx
call fcn.0044b6a0
jmp 0x5b022d
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], ecx
lea eax, [0x5e8f00]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00437c70
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
jmp 0x5b020e
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x61cf5e]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004a6470
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, 2
jg 0x5b06be
je 0x5b0560
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 4]
test ecx, ecx
jg 0x5b044b
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x61d34d]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
call fcn.004a7ad0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [0x61d34d]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 4
call fcn.004a7ad0
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
setne al
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x23]
or edx, eax
cmp ecx, 0xffffffff
je 0x5b037a
lea eax, [esp + 0x88]
mov dword [esp], eax
call fcn.005947d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x94
ret
test dl, dl
jne 0x5b034e
lea eax, [0x62ca45]
mov dword [esp], eax
mov dword [esp + 4], 0x44
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004982e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x8c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x90]
cmp ebx, esi
jg 0x5b0401
lea ebx, [edx + 1]
mov dword [esp + 0x8c], ebx
lea ebx, [ebp + edx*8]
mov dword [ebx], eax
mov ebx, dword [0x7d95f0]
lea edi, [ebp + edx*8 + 4]
test ebx, ebx
jne 0x5b03f5
mov dword [edi], ecx
jmp 0x5b034e
mov eax, ecx
call fcn.0044b6a0
jmp 0x5b034e
mov dword [esp + 0x28], eax
mov dword [esp + 0x5c], ecx
lea eax, [0x5e8f00]
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.00437c70
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x5c]
jmp 0x5b03d0
mov ecx, dword [esp + 0x9c]
mov word [ecx + 0x40], 0x100
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x40
call fcn.00451270
movsd xmm0, qword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
movsd qword [ecx + 0x30], xmm0
test eax, eax
je 0x5b02d6
lea eax, [0x62d7a6]
mov dword [esp], eax
mov dword [esp + 4], 0x61
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004982e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x8c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x90]
cmp ebx, esi
jg 0x5b0516
lea ebx, [edx + 1]
mov dword [esp + 0x8c], ebx
lea ebx, [ebp + edx*8]
mov dword [ebx], eax
mov ebx, dword [0x7d95f0]
lea edi, [ebp + edx*8 + 4]
test ebx, ebx
jne 0x5b050d
mov dword [edi], ecx
mov ecx, dword [esp + 0x9c]
jmp 0x5b02d6
mov eax, ecx
call fcn.0044b6a0
jmp 0x5b0501
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], ecx
lea eax, [0x5e8f00]
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.00437c70
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], ebp
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x6c]
jmp 0x5b04e1
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x9c]
mov word [ecx + 0x40], 0x101
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], 0x40
call fcn.00451270
movsd xmm0, qword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x9c]
movsd qword [ecx + 0x30], xmm0
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0xc]
mov edx, dword [edx + 8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x40
call fcn.00451270
movsd xmm0, qword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x9c]
movsd qword [ecx + 0x38], xmm0
mov edx, dword [esp + 0x30]
test edx, edx
je 0x5b06b1
lea eax, [0x62d010]
mov dword [esp], eax
mov dword [esp + 4], 0x4c
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004982e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x8c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x90]
cmp ebx, esi
jg 0x5b0667
lea ebx, [edx + 1]
mov dword [esp + 0x8c], ebx
lea ebx, [ebp + edx*8]
mov dword [ebx], eax
mov ebx, dword [0x7d95f0]
lea edi, [ebp + edx*8 + 4]
test ebx, ebx
jne 0x5b065b
mov dword [edi], ecx
jmp 0x5b02d6
mov eax, ecx
call fcn.0044b6a0
jmp 0x5b02d6
mov dword [esp + 0x3c], eax
mov dword [esp + 0x74], ecx
lea eax, [0x5e8f00]
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.00437c70
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], ebp
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
jmp 0x5b0636
test eax, eax
jne 0x5b05e4
jmp 0x5b02d6
lea eax, [0x62d7a6]
mov dword [esp], eax
mov dword [esp + 4], 0x61
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004982e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x8c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x88]
cmp ebx, ebp
jg 0x5b073e
lea ebx, [edx + 1]
mov dword [esp + 0x8c], ebx
lea ebx, [esi + edx*8]
mov dword [ebx], ecx
lea edi, [esi + edx*8 + 4]
mov ecx, dword [0x7d95f0]
test ecx, ecx
jne 0x5b0734
mov dword [edi], eax
jmp 0x5b02d6
call fcn.0044b6a0
jmp 0x5b02d6
mov dword [esp + 0x68], eax
mov dword [esp + 0x38], ecx
lea eax, [0x5e8f00]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00437c70
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], esi
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
jmp 0x5b0710
lea eax, [0x62107f]
mov dword [esp], eax
mov dword [esp + 4], 0x13
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004982e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x8c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x90]
cmp ebx, esi
jg 0x5b080d
lea ebx, [edx + 1]
mov dword [esp + 0x8c], ebx
lea ebx, [ebp + edx*8]
mov dword [ebx], ecx
lea edi, [ebp + edx*8 + 4]
mov ecx, dword [0x7d95f0]
test ecx, ecx
jne 0x5b0806
mov dword [edi], eax
mov eax, dword [esp + 0x9c]
jmp 0x5aff5e
call fcn.0044b6a0
jmp 0x5b07fa
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], ecx
lea eax, [0x5e8f00]
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.00437c70
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], ebp
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x44]
jmp 0x5b07da
lea eax, [0x62106c]
mov dword [esp], eax
mov dword [esp + 4], 0x13
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004982e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x8c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x88]
cmp ebx, ebp
jg 0x5b08db
lea ebx, [edx + 1]
mov dword [esp + 0x8c], ebx
lea ebx, [esi + edx*8]
mov dword [ebx], ecx
lea edi, [esi + edx*8 + 4]
mov ecx, dword [0x7d95f0]
test ecx, ecx
jne 0x5b08d4
mov dword [edi], eax
mov eax, dword [esp + 0x9c]
jmp 0x5aff53
call fcn.0044b6a0
jmp 0x5b08c8
mov dword [esp + 0x70], eax
mov dword [esp + 0x40], ecx
lea eax, [0x5e8f00]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00437c70
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x88], esi
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x40]
jmp 0x5b08a9
call fcn.00449f40
jmp fcn.005aff00