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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x9c]
cmp eax, dword [ecx + 8]
jbe 0x5af024
sub esp, 0x11c
mov eax, dword [esp + 0x120]
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov dword [esp], eax
call fcn.005b0a40
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ecx, ecx
jne 0x5af00f
mov byte [esp + 0x67], al
mov eax, dword [esp + 0x78]
movzx ecx, word [eax + 0x24]
mov edx, dword [esp + 0x120]
mov ebx, dword [edx + 0x14]
mov word [esp], cx
mov dword [esp + 4], ebx
call fcn.005cbf70
lea edi, [esp + 0x8c]
lea esi, [esp + 8]
call fcn.0045ff5e
mov eax, dword [esp + 0x120]
lea edi, [eax + 0x18]
mov dword [esp + 0x88], edi
mov ecx, dword [0x894e10]
test ecx, ecx
jne 0x5aeadd
lea esi, [esp + 0x8c]
call fcn.0045ff5e
jmp 0x5aeb01
lea eax, [0x684460]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
call fcn.004109f0
mov eax, dword [esp + 0x120]
movzx ecx, byte [esp + 0x67]
test cl, cl
je 0x5aeb10
mov edx, dword [esp + 0x78]
jmp 0x5aeb25
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x28]
mov ebp, dword [ebx + 0x10]
test ebp, ebp
jne 0x5aeb55
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x5aeb55
nop
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov ebx, dword [0x894e10]
test ebx, ebx
jne 0x5aeb47
mov dword [eax + 0x38], 0
jmp 0x5aeb55
lea edi, [eax + 0x38]
mov ebx, eax
xor eax, eax
call fcn.0045f830
mov eax, ebx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.005b6550
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.005cc230
mov eax, dword [esp + 0x120]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call fcn.005bd7e0
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.005cc230
mov eax, dword [esp + 0x78]
mov byte [eax + 0x1ac], 1
movzx ecx, byte [esp + 0x67]
mov byte [eax + 0x30], cl
test cl, cl
je 0x5aed9a
mov eax, dword [esp + 0x120]
mov dword [esp], eax
call fcn.005b0550
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5aed85
mov eax, dword [esp + 0x120]
mov dword [esp], eax
call fcn.005b1310
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5aed70
mov eax, dword [esp + 0x120]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
lea edx, [ecx + 0xa5]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call fcn.005b1030
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5aed5b
mov eax, dword [esp + 0x78]
mov byte [eax + 0x8c], 0
mov ecx, dword [eax + 0x28]
mov ecx, dword [ecx + 0x2c]
test ecx, ecx
je 0x5aec9c
mov dword [esp], eax
call fcn.005ac280
lea edi, [esp + 0xc0]
lea esi, [esp + 4]
call fcn.0045fefa
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x70], ecx
lea edi, [esp]
lea esi, [esp + 0xc0]
call fcn.0045fefa
mov ecx, dword [esp + 0x70]
call ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
test eax, eax
jne 0x5aed1f
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x120]
mov dword [esp], ecx
lea edx, [eax + 0x99]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call fcn.005b1770
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5aed0a
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.005a9070
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x5aeeb0
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
add esp, 0x11c
ret
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
add esp, 0x11c
ret
mov dword [esp + 0x74], edx
mov dword [esp + 0x84], ecx
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005a8ba0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x128], eax
add esp, 0x11c
ret
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
add esp, 0x11c
ret
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
add esp, 0x11c
ret
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
add esp, 0x11c
ret
mov eax, dword [esp + 0x120]
mov dword [esp], eax
call fcn.005af120
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5aeffa
mov eax, dword [esp + 0x120]
mov dword [esp], eax
call fcn.005b0550
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5aefe5
mov eax, dword [esp + 0x120]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
lea edx, [ecx + 0x99]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call fcn.005b1770
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5aefd0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.005a9070
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x5aefbb
mov eax, dword [esp + 0x78]
mov byte [eax + 0x8c], 1
mov ecx, dword [esp + 0x120]
mov dword [esp], ecx
call fcn.005b1310
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x5aefa6
mov eax, dword [esp + 0x120]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
lea edx, [ecx + 0xa5]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], 0xc
call fcn.005b1030
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x5aef91
mov eax, dword [esp + 0x120]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov ebx, dword [esp + 0x78]
movzx ebp, word [ebx + 0x24]
mov esi, dword [eax + 0x14]
mov edi, dword [eax + 0x4c]
mov ebx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x68], ecx
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x7c], ecx
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov word [esp], bp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call fcn.005cc920
mov eax, dword [0x894e10]
mov ecx, dword [esp + 0x2c]
test eax, eax
jne 0x5aef51
mov eax, dword [esp + 0x78]
mov dword [eax + 0x70], ecx
jmp 0x5aef61
mov edx, dword [esp + 0x78]
lea edi, [edx + 0x70]
mov eax, ecx
call fcn.0045f830
mov eax, edx
add eax, 0x10
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00463ca0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
add esp, 0x11c
ret
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
add esp, 0x11c
ret
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
add esp, 0x11c
ret
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
add esp, 0x11c
ret
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
add esp, 0x11c
ret
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
add esp, 0x11c
ret
mov dword [esp + 0x124], ecx
mov dword [esp + 0x128], edx
add esp, 0x11c
ret
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], ebx
add esp, 0x11c
ret
call fcn.0045e420
jmp fcn.005aea30