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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x80]
cmp eax, dword [ecx + 8]
jbe 0x5afc3f
sub esp, 0x100
mov eax, dword [esp + 0x108]
test eax, eax
je 0x5afbd0
mov ecx, dword [eax + 8]
cmp ecx, 0x95c8f315
jne 0x5afc0d
lea ecx, [0x7620c0]
cmp ecx, eax
jne 0x5afbed
mov ecx, dword [esp + 0x10c]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
jne 0x5afb89
test ebx, ebx
je 0x5afb6c
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], edx
call fcn.004062a0
mov eax, dword [esp]
mov dword [esp + 0x74], eax
lea ecx, [0x77e240]
mov dword [esp], ecx
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov edx, dword [0xa08230]
lea ebx, [eax + 4]
mov dword [esp + 0x70], ebx
lea ebp, [eax + 0xc]
test edx, edx
jne 0x5afb33
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov ebp, dword [esp + 0x74]
mov dword [eax + 0xc], ebp
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea edi, [esp + 0x98]
mov ebx, eax
xor eax, eax
call fcn.0044d9b8
lea ecx, [0x5b16a0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ebx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0xa8], ebp
mov esi, dword [esp + 0x4c]
mov dword [esp + 0xac], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0xb0], esi
lea esi, [esp + 0x78]
mov dword [esp + 0xb4], esi
mov esi, dword [0x9f33c8]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
lea edx, [esp + 0x98]
mov dword [esp + 0xc], edx
call fcn.00519da0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
test ebx, ebx
je 0x5af7b3
je 0x5af7af
mov eax, dword [ebx + 4]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ebp
add esp, 0x100
ret
mov eax, ebx
jmp 0x5af79a
mov eax, dword [esp + 0x104]
mov ebx, dword [eax + 0x4c]
mov dword [esp + 8], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0051fb50
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x5afa45
mov dword [esp + 0x5c], esi
lea edi, [esp + 0xb8]
call fcn.0044de76
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x3c], ecx
xor edx, edx
jmp 0x5af80b
add eax, 0xc
inc edx
cmp edx, ecx
jge 0x5af923
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 4]
mov esi, ebx
mov ebx, dword [eax]
cmp ebx, 7
jne 0x5af807
lea ebx, [0x744900]
cmp ebx, ebp
jne 0x5afc19
mov dword [esp + 0x48], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esi]
mov dword [esp + 0x58], ecx
lea edx, [0x7497e0]
mov dword [esp], edx
mov ebx, dword [0x9f33c4]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004090d0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
movzx edx, byte [esp + 0x14]
test dl, dl
jne 0x5af8ec
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0x48]
mov dword [esp + 4], ecx
lea ecx, [0x749820]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xc], ebx
call fcn.004090d0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
movzx edx, byte [esp + 0x14]
test dl, dl
jne 0x5af8c6
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
jmp 0x5af807
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.005aff20
jmp 0x5af8b5
lea edx, [0x75a660]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0040c6a0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 8], edx
call fcn.005aff20
jmp 0x5af877
mov eax, dword [0xa08230]
test eax, eax
jne 0x5afa24
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [eax], esi
lea edi, [esp + 0xdc]
call fcn.0044de76
mov ecx, dword [eax + 0xc]
lea edx, [0x801160]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov edi, esp
lea esi, [esp + 0xdc]
call fcn.0044de76
call fcn.0051ff00
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x5afa07
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.005afd70
mov eax, dword [esp + 4]
lea ecx, [0x73fdc0]
cmp ecx, eax
jne 0x5af9e8
lea eax, [0x778b00]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [0xa08230]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5af9ce
mov eax, dword [esp + 0x60]
mov dword [ecx], eax
lea eax, [0x776140]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
add esp, 0x100
ret
mov dword [esp + 0x68], ecx
mov dword [esp], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.0040f250
mov ecx, dword [esp + 0x68]
jmp 0x5af9b3
lea eax, [0x76ab60]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x114], eax
add esp, 0x100
ret
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0x100
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
jmp 0x5af93b
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
lea eax, [0x744900]
mov dword [esp], eax
call fcn.0040c190
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x744900]
mov dword [esp], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
call fcn.0040c190
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
lea eax, [0x7bfd31]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b9c90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x5afc31
mov ecx, dword [ecx + 4]
jmp 0x5afc31
mov dword [esp + 0x64], ebp
mov dword [esp], ebx
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
jmp 0x5af6eb
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0x100
ret
lea edx, [0x75a660]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0040c9e0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x5afbd0
test edx, edx
je 0x5afbcc
mov eax, dword [edx + 4]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
add esp, 0x100
ret
mov eax, edx
jmp 0x5afbb7
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0x100
ret
mov ecx, dword [esp + 0x10c]
mov esi, 0
mov ebp, 0
mov ebx, 0
mov edx, 0
jmp 0x5af67e
mov ecx, dword [esp + 0x10c]
jmp 0x5afb89
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea eax, [0x7441c0]
mov dword [esp + 8], eax
call fcn.0040bdf0
ud2
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004277b0
ud2
call fcn.0044be50
jmp fcn.005af620