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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5adbac
sub esp, 0x74
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
mov ebx, dword [eax + 0x44]
mov ebp, dword [eax + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.0053b3c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x78]
cmp ebx, 2
jg 0x5ad7bf
cmp ebx, 1
jne 0x5ad3cc
mov ebx, dword [0x10d83b0]
mov ebp, dword [esp + 0x7c]
mov esi, dword [ebp + 0x34]
mov ebp, dword [ebp + 0x30]
lea edi, [0x10d83b0]
cmp dword [edi + 4], esi
je 0x5ad195
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x25
lea ecx, [0xbb1776]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
call fcn.00402a10
movzx eax, byte [esp + 0xc]
test al, al
je 0x5ad146
lea eax, [0xae97a0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
nop
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
lea ecx, [0xa5fd00]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0053fb50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
test eax, eax
jne 0x5ad3a4
test ecx, ecx
jne 0x5ad355
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5ad33a
xor ecx, ecx
test ecx, ecx
jle 0x5ad2eb
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x5ad29c
lea eax, [0xae8fc0]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov ecx, dword [0x10fd360]
mov eax, dword [eax]
test ecx, ecx
jne 0x5ad295
mov dword [edi], eax
lea eax, [0xadf3c0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
call fcn.00460b40
jmp 0x5ad267
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0xbbcc7c]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2a
lea ecx, [0xbb698e]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
movzx ecx, byte [ecx]
test cl, cl
je 0x5ad34b
mov ecx, 0xffffffff
jmp 0x5ad22e
mov ecx, 1
jmp 0x5ad22e
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0xbb49d8]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
cmp ebx, 2
je 0x5ad401
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0xb8bd40]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
nop
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
lea ecx, [0xa5d440]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0053fb50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
test eax, eax
jne 0x5ad797
test ecx, ecx
jne 0x5ad748
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 0x38]
mov dword [esp + 0x44], eax
lea ebx, [0xb04740]
mov dword [esp], ebx
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
nop
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
lea ecx, [0xa5fbc0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0053fb50
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
test eax, eax
jne 0x5ad720
test ecx, ecx
jne 0x5ad6d1
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5ad6b6
xor ecx, ecx
test ecx, ecx
jg 0x5ad55a
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x24
lea ecx, [0xbb0802]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5ad69b
xor edx, edx
test edx, edx
jle 0x5ad50b
mov edx, dword [ecx + 4]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5ad680
xor edx, edx
test edx, edx
jle 0x5ad50b
mov edx, dword [ecx + 8]
mov ebx, dword [edx + 8]
test ebx, ebx
jne 0x5ad665
xor edx, edx
test edx, edx
jle 0x5ad50b
lea eax, [0xae8ea0]
mov dword [esp], eax
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [0x10fd360]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
test eax, eax
jne 0x5ad659
mov dword [edi], edx
mov edx, dword [0x10fd360]
mov eax, dword [ecx + 4]
test edx, edx
jne 0x5ad646
mov dword [edi + 4], eax
mov edx, dword [0x10fd360]
mov eax, dword [ecx + 8]
test edx, edx
jne 0x5ad636
mov dword [edi + 8], eax
mov ecx, dword [0x10fd360]
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
test ecx, ecx
jne 0x5ad626
mov dword [edi + 0xc], eax
lea eax, [0xa5f2c0]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea ecx, [edi + 0xc]
mov edx, edi
mov edi, ecx
call fcn.00460b40
mov edi, edx
jmp 0x5ad5f8
lea ecx, [edi + 8]
mov edx, edi
mov edi, ecx
call fcn.00460b40
mov edi, edx
jmp 0x5ad5e5
lea edx, [edi + 4]
mov ebx, edi
mov edi, edx
call fcn.00460b40
mov edi, ebx
jmp 0x5ad5d5
mov eax, edx
call fcn.00460b40
jmp 0x5ad5c5
movzx edx, byte [edx]
test dl, dl
je 0x5ad676
mov edx, 0xffffffff
jmp 0x5ad595
mov edx, 1
jmp 0x5ad595
movzx edx, byte [edx]
test dl, dl
je 0x5ad691
mov edx, 0xffffffff
jmp 0x5ad581
mov edx, 1
jmp 0x5ad581
movzx edx, byte [edx]
test dl, dl
je 0x5ad6ac
mov edx, 0xffffffff
jmp 0x5ad56d
mov edx, 1
jmp 0x5ad56d
movzx ecx, byte [ecx]
test cl, cl
je 0x5ad6c7
mov ecx, 0xffffffff
jmp 0x5ad507
mov ecx, 1
jmp 0x5ad507
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0xbb4988]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0xbb49b0]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
cmp ebx, 3
je 0x5ad8ef
cmp ebx, 4
jne 0x5ad3d1
mov edx, dword [esp + 0x7c]
mov edx, dword [edx + 0x34]
test edx, edx
jne 0x5ad8a0
cmp eax, 0x20
je 0x5ad834
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x23
lea ecx, [0xbaf845]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea edx, [0xaa98e0]
mov dword [esp], edx
mov dword [esp + 4], 0x20
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00446de0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x20
call fcn.00409500
mov eax, dword [esp + 0xc]
lea ecx, [0xac7c60]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x31
lea ecx, [0xbbc0fd]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x34], edx
mov eax, dword [eax + 0x38]
mov dword [esp + 0x40], eax
lea ebx, [0xae4060]
mov dword [esp], ebx
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
nop
mov ecx, dword [esp + 0x58]
mov dword [esp], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
lea ecx, [0xadfea0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.0053fb50
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x5adb5d
test eax, eax
jne 0x5adb0e
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.005abc60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5adabf
mov dword [esp + 0x54], ecx
mov dword [esp + 0x30], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], edx
call fcn.0052f5d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x5ada70
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
lea eax, [0xb556c0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x5ada46
mov ecx, dword [esp + 0x54]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
lea ecx, [0xb460e0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.00460b40
lea edi, [ecx + 8]
mov eax, dword [esp + 0x50]
call fcn.00460b40
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x4c]
call fcn.00460b40
mov eax, ecx
jmp 0x5ada18
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2e
lea ecx, [0xbb9c13]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x20
lea ecx, [0xbac649]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x2a
lea ecx, [0xbb69b8]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
lea eax, [0xad4dc0]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x35
lea ecx, [0xbbe850]
mov dword [eax], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0xc7fc40]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x74
ret
call fcn.0045f5f0
jmp fcn.005ad0c0