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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5add5d
sub esp, 0x74
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00494680
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x5adc2b
mov dword [esp + 0x6c], ebx
nop
mov dword [esp], ebx
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call fcn.004fbf30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x5adbeb
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x68], ebx
lea eax, [0x634b60]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x5ad92c
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5ad919
mov dword [eax + 0x2bc], ecx
jmp 0x5ad967
lea edi, [eax + 0x2bc]
mov edx, eax
mov eax, ecx
call fcn.0045e940
mov eax, edx
jmp 0x5ad967
lea eax, [0x633fe0]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [0x84c5a0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x5ad954
mov eax, dword [esp + 0x70]
mov dword [eax + 0x2bc], ecx
jmp 0x5ad967
mov edx, dword [esp + 0x70]
lea edi, [edx + 0x2bc]
mov eax, ecx
call fcn.0045e940
mov eax, edx
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x5ad97b
mov dword [ecx + 4], 0x10000
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x5ad98f
mov dword [ecx + 8], 0x1000
mov ecx, dword [eax + 0x2bc]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
test edx, edx
je 0x5ada19
mov dword [esp + 0x30], edx
mov dword [esp + 0x64], ecx
lea eax, [0x61a220]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
mov ecx, dword [0x81fb30]
mov edx, dword [0x81fb34]
mov dword [eax + 0xc], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5ad9d7
mov dword [eax + 8], ecx
jmp 0x5ad9e5
lea edi, [eax + 8]
mov edx, eax
mov eax, ecx
call fcn.0045e940
mov eax, edx
mov ecx, dword [esp + 0x30]
mov dword [eax], ecx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x5ad9fe
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
jmp 0x5ada0e
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045e940
mov eax, ecx
mov dword [esp + 0x44], eax
xor ecx, ecx
jmp 0x5add2c
mov eax, dword [0x825000]
mov dword [esp + 0x60], eax
lea ecx, [0x629d00]
mov dword [esp], ecx
call fcn.0040b380
mov eax, dword [esp + 4]
lea ecx, [0x6a4e10]
mov dword [eax + 0x14], ecx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5ada51
mov edx, dword [esp + 0x60]
mov dword [eax + 0x18], edx
jmp 0x5ada65
lea edi, [eax + 0x18]
mov edx, eax
mov eax, dword [esp + 0x60]
call fcn.0045e940
mov ebx, eax
mov eax, edx
mov edx, ebx
mov dword [esp + 0x4c], eax
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov ebx, dword [0x81fb84]
cmp dword [0x81fb80], ecx
jne 0x5adab0
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004033f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x5adab0
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x28], 1
lea eax, [0x61a280]
mov dword [esp], eax
call fcn.0040b380
mov edi, dword [esp + 4]
mov dword [esp + 0x5c], edi
mov eax, dword [0x84c5a0]
test eax, eax
jne 0x5adad8
mov eax, dword [esp + 0x4c]
mov dword [edi], eax
jmp 0x5adae1
mov eax, dword [esp + 0x4c]
call fcn.0045e940
lea eax, [0x62a5c0]
mov dword [esp], eax
call fcn.0040b380
mov eax, dword [esp + 4]
lea ecx, [0x65c2cc]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x5adb0f
mov ecx, dword [esp + 0x5c]
mov dword [ecx + 4], eax
jmp 0x5adb1b
mov ecx, dword [esp + 0x5c]
lea edi, [ecx + 4]
call fcn.0045e940
nop
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 0
lea eax, [0x5add70]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 2
mov dword [esp + 0x54], 0
lea eax, [esp + 0x3c]
mov dword [esp + 0x54], eax
lea eax, [0x6a4ca8]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004fc4f0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
lea ecx, [0x61a220]
mov dword [esp], ecx
call fcn.0040b380
mov eax, dword [esp + 4]
mov ecx, dword [0x81fb30]
mov edx, dword [0x81fb34]
mov dword [eax + 0xc], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5adbaa
mov dword [eax + 8], ecx
jmp 0x5adbb8
lea edi, [eax + 8]
mov edx, eax
mov eax, ecx
call fcn.0045e940
mov eax, edx
lea ecx, [0x6a4c80]
mov dword [eax], ecx
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x5adbd3
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], ecx
jmp 0x5adbe3
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x58]
call fcn.0045e940
mov eax, ecx
mov dword [esp + 0x48], eax
xor ecx, ecx
jmp 0x5adc63
nop
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x5adc0e
mov dword [esp + 0x64], ecx
mov dword [esp + 0x50], edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00495440
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x74
ret
mov dword [esp + 0x2c], ecx
shl ecx, 2
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x2c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x48]
test ecx, ecx
jl 0x5adc48
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x5adc7d
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x2c0], eax
jmp 0x5adc8c
mov ecx, dword [esp + 0x70]
lea edi, [ecx + 0x2c0]
call fcn.0045e940
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x28c], edx
mov ebx, dword [esp + 0x38]
mov dword [ecx + 0x290], ebx
mov ebx, dword [0x84c5a0]
test ebx, ebx
jne 0x5adcb6
mov ebx, dword [esp + 0x68]
mov dword [ecx + 0x288], ebx
jmp 0x5adcc5
lea edi, [ecx + 0x288]
mov eax, dword [esp + 0x68]
call fcn.0045e940
mov dword [ecx + 0x2ac], edx
mov edx, dword [0x84c5a0]
test edx, edx
jne 0x5adce1
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0x2b8], eax
jmp 0x5adcf0
lea edi, [ecx + 0x2b8]
mov eax, dword [esp + 0x6c]
call fcn.0045e940
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x74
ret
mov dword [esp + 0x2c], ecx
shl ecx, 2
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x2c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x44]
test ecx, ecx
jl 0x5add11
mov ecx, dword [0x84c5a0]
test ecx, ecx
jne 0x5add49
mov ecx, dword [esp + 0x70]
mov dword [ecx + 0x2c0], eax
jmp 0x5adc8c
mov ecx, dword [esp + 0x70]
lea edi, [ecx + 0x2c0]
call fcn.0045e940
jmp 0x5adc8c
call fcn.0045d530
jmp fcn.005ad830