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

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5fb118
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov dword [esp], eax
movzx ecx, word [esp + 0x94]
mov word [esp + 4], cx
call fcn.005fa7f0
mov eax, dword [esp + 8]
test eax, eax
jne 0x5fb0f7
nop
mov edx, dword [esp + 0x90]
cmp edx, 0xc
jb 0x5fb10d
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 8]
bswap eax
test eax, eax
je 0x5fb0dd
mov dword [esp + 0x30], eax
lea eax, [0x63e820]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x98]
mov dword [eax], ecx
mov ecx, dword [0x82b968]
test ecx, ecx
jne 0x5fadb6
mov ecx, dword [esp + 0x9c]
jmp 0x5fadc4
call fcn.0046b930
mov ecx, dword [esp + 0x9c]
mov dword [edi], ecx
mov dword [esp + 0x44], eax
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
mov edx, dword [esp + 0x84]
test byte [edx], al
lea ebx, [edx + 0x20]
mov dword [esp + 0x40], ebx
mov dword [esp], ebx
call fcn.00475060
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x84]
cmp dword [ecx], eax
jb 0x5fafd6
mov edx, dword [ecx + 0x1c]
test edx, edx
jne 0x5fae7f
lea ecx, [0x630a60]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.00450080
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
lea ecx, [0x6430a0]
mov dword [esp], ecx
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [0x82b968]
test ecx, ecx
jne 0x5fae5d
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x84]
jmp 0x5fae78
call fcn.0046b950
mov ecx, dword [esp + 0x3c]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + 0x1c]
mov dword [edi + 8], ebx
mov dword [eax], ecx
mov dword [edx + 0x1c], eax
mov ecx, edx
mov eax, dword [ecx + 0x1c]
lea edx, [0x6b9794]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x6b98d4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004770e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x5faf89
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x84]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
je 0x5faef6
mov ebx, dword [eax + 4]
jmp 0x5faef8
mov ebx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ecx
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0046bbaa
lea ecx, [0x5fb130]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], 0x2b
lea ecx, [0x66de73]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], 1
mov dword [esp + 0x7c], 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x74], ecx
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x68]
mov dword [esp + 0xc], ecx
call fcn.005eefc0
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call fcn.004753e0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xa4], ecx
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x84]
sub dword [ecx], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004753e0
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0x58]
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00406ed0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
sub esp, 0xffffff80
ret
mov edx, dword [ecx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x34], edx
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0046bbaa
mov ecx, dword [esp + 0x84]
mov ebx, dword [ecx + 8]
mov dword [esp], ebx
call fcn.0040aa60
mov ecx, dword [esp + 4]
lea edx, [0x630b60]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x84]
mov ecx, dword [ecx]
mov dword [esp], ecx
call fcn.0040aa60
mov ecx, dword [esp + 4]
lea edx, [0x630b60]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.0040aa60
mov ecx, dword [esp + 4]
lea edx, [0x630b60]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0046bbaa
lea ecx, [0x5fb1b0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], 0x47
lea ecx, [0x67241f]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x78], 3
mov dword [esp + 0x7c], 3
lea ecx, [esp + 0x50]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x68]
mov dword [esp + 0xc], ecx
call fcn.005eefc0
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call fcn.004753e0
mov ecx, dword [0x7ec578]
mov edx, dword [0x7ec57c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
sub esp, 0xffffff80
ret
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
sub esp, 0xffffff80
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
sub esp, 0xffffff80
ret
mov ecx, 0xc
call fcn.0046b9f0
nop
call fcn.0046a530
jmp fcn.005fad20