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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x5529bf
sub esp, 0xa4
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0xac]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xb0]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0xc], ebx
mov dword [esp], ecx
call edx
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
test al, al
je 0x55284b
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xac], edx
mov eax, dword [esp + 0xa8]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x552840
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xbc]
mov esi, dword [ecx + 0x10]
mov edi, esp
call fcn.0044bc54
call fcn.005519f0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov edx, dword [esp + 0xb0]
mov dword [esp + 4], edx
lea edx, [0x61c449]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x5c]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
test ecx, ecx
je 0x552503
mov dword [esp + 0x58], eax
mov dword [esp + 0x38], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x50], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x61cd68]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.004a4410
movzx eax, byte [esp + 0x10]
test al, al
je 0x5524c0
mov eax, 5
mov byte [esp + 0x2b], al
lea ecx, [0x5e7ec0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
call fcn.00407690
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x2b]
mov byte [esp + 8], al
mov dword [esp + 0xc], 0
call fcn.00553240
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x552405
test ecx, ecx
je 0x552396
mov ecx, dword [ecx + 4]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea eax, [0x6226aa]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00498df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
nop
call fcn.00426420
add esp, 0xa4
ret
mov eax, dword [esp + 0x38]
test eax, eax
je 0x552410
mov eax, dword [eax + 4]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov ecx, dword [esp + 0xbc]
mov ecx, dword [ecx + 0xc]
lea edx, [0x5ecaa0]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa0], eax
lea eax, [0x62267a]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00498df0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], eax
nop
call fcn.00426420
add esp, 0xa4
ret
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea eax, [0x621bd7]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x16
call fcn.004a4410
movzx eax, byte [esp + 0x10]
test al, al
je 0x5524f9
mov eax, 3
jmp 0x552336
mov eax, 4
jmp 0x552336
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], ebx
test byte [ebx], al
mov dword [esp + 8], edx
mov dword [esp], 0xc
lea eax, [ebx + 0x10]
mov dword [esp + 4], eax
call fcn.00425c60
test eax, eax
jne 0x552833
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [0x660510]
cmp eax, edx
jne 0x5529a1
mov dword [esp + 0x64], ecx
lea eax, [0x5fee00]
mov dword [esp], eax
call fcn.00409a30
mov edi, dword [esp + 4]
mov dword [esp + 0x68], edi
mov eax, dword [0x7db370]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x48], ecx
test eax, eax
jne 0x5527f8
xor eax, eax
call fcn.0044b77a
mov ecx, dword [esp + 0x68]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebp
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x14], eax
lea eax, [0x5e7ec0]
mov dword [esp], eax
mov edx, dword [esp + 0xb4]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 8], ebx
call fcn.00407690
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call fcn.00553240
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x552667
je 0x5525fe
mov eax, dword [eax + 4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
lea eax, [0x6226aa]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00498df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
nop
call fcn.00426420
add esp, 0xa4
ret
lea eax, [0x5d4180]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00403a80
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
lea ecx, [0x5e7ec0]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
call fcn.00407690
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xbc]
mov ebx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
mov dword [esp], 0x14
lea ecx, [0x631338]
mov dword [esp + 4], ecx
call fcn.0042e8f0
lea eax, [0x5e7ec0]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 8], eax
call fcn.00407690
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
lea edx, [0x5e7e00]
mov dword [esp], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], edx
call fcn.00407690
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], eax
mov dword [esp], 0x14
lea ecx, [0x631338]
mov dword [esp + 4], ecx
call fcn.0042e8f0
xor eax, eax
jmp 0x552781
mov ecx, dword [esp + 0x34]
lea eax, [ecx + 1]
cmp eax, 2
jge 0x5527d5
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [esp + 0x6c]
mov dword [esp + 4], ecx
call fcn.00404640
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
test eax, eax
je 0x55277a
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
nop
call fcn.00426420
add esp, 0xa4
ret
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
nop
call fcn.00426420
add esp, 0xa4
ret
mov dword [esp + 0x60], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebp
lea eax, [0x5fee00]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.0040f0e0
mov ecx, dword [esp + 0x68]
lea edi, [ecx + 8]
mov eax, dword [esp + 0x60]
call fcn.0044b680
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
jmp 0x55259b
nop
call fcn.00426420
add esp, 0xa4
ret
lea eax, [0x631334]
jmp 0x552275
lea eax, [0x5e7ec0]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 8], eax
call fcn.00407690
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 2
mov dword [esp + 0xc], 0
call fcn.00553240
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x552919
je 0x5528a1
mov ecx, dword [ecx + 4]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea eax, [0x6226aa]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00498df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
nop
call fcn.00426420
add esp, 0xa4
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0xc]
lea ecx, [0x5ecaa0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x624d59]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
lea eax, [esp + 0x84]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00498df0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
nop
call fcn.00426420
add esp, 0xa4
ret
mov dword [esp], eax
lea eax, [0x607940]
mov dword [esp + 4], eax
lea eax, [0x5ebc80]
mov dword [esp + 8], eax
call fcn.00407000
ud2
call fcn.00449f20
jmp fcn.005521d0