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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], dl
mov dword [ebp - 4], eax
lea edi, [ebp - 4]
xor eax, eax
push ebp
push 0x7af1b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0xe8]
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0xec]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0xcc]
mov ebx, eax
cmp byte [ebp - 0x11], 0
jne 0x7aee1d
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x60]
test byte [eax + 0x1f], 8
je 0x7aee1d
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x60]
add eax, 0x1c
mov edx, 0x7af1c0
mov cl, 5
call fcn.00408268
push ebp
xor eax, eax
call fcn.007aec88
pop ecx
mov cl, 1
mov dl, 1
mov eax, dword [edi]
call fcn.007af56c
mov byte [ebp - 0x29], al
mov eax, dword [edi]
cmp dword [eax + 0x40], 0
jne 0x7aef51
mov eax, dword [edi]
test byte [eax + 0x1c], 1
je 0x7aef34
cmp byte [ebp - 0x11], 0
jne 0x7aef34
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x20
jne 0x7aee73
cmp dword [ebp - 0x20], 0
jge 0x7aee6b
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x7aee73
cmp esi, dword [ebp - 0x20]
jge 0x7aee73
mov dword [ebp - 0x20], esi
mov esi, dword [ebp + 0xc]
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, 0x20
jne 0x7aee8f
test esi, esi
jge 0x7aee89
xor esi, esi
jmp 0x7aee8f
cmp ebx, esi
jge 0x7aee8f
mov esi, ebx
mov eax, dword [edi]
test byte [eax + 0x1c], 2
je 0x7aeeab
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0xc]
mov edx, esi
add edx, dword [ebp - 8]
mov eax, dword [edi]
call fcn.007b59f4
jmp 0x7aeebd
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0xc]
mov edx, esi
add edx, dword [ebp - 8]
mov eax, dword [edi]
call fcn.007b5720
mov eax, dword [edi]
add eax, 0x1c
mov edx, 0x7af1c8
mov cl, 5
call fcn.00408268
mov eax, dword [edi]
mov eax, dword [eax + 0x44]
call fcn.00408618
mov eax, dword [edi]
xor edx, edx
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edi]
call fcn.007adb08
mov eax, dword [edi]
mov si, 0xff8d
call fcn.00408964
mov dl, 1
mov eax, dword [edi]
mov si, 0xff80
call fcn.00408964
xor ecx, ecx
xor edx, edx
mov eax, dword [edi]
call fcn.007af56c
test al, al
je 0x7aef22
mov eax, dword [edi]
call fcn.007b40f0
mov eax, dword [edi]
call fcn.007ad988
mov eax, dword [edi]
mov si, 0xff98
call fcn.00408964
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, 0x10000
je 0x7aef51
cmp byte [ebp - 0x11], 1
jne 0x7aef51
push ebp
mov al, 1
call fcn.007aec88
pop ecx
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edi]
call fcn.007adb08
mov eax, dword [edi]
mov ebx, dword [eax + 0x64]
cmp ebx, 0xffffffff
je 0x7aefee
mov edx, ebx
mov eax, dword [edi]
mov eax, dword [eax + 0x90]
call fcn.0083528c
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
push 0
push 0
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x38]
mov eax, dword [edi]
call fcn.007a891c
mov eax, dword [edi]
mov edx, dword [eax + 0x64]
mov eax, dword [edi]
mov eax, dword [eax + 0x90]
call fcn.0083528c
mov ebx, eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebx + 4]
push eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 0x14]
push eax
mov eax, dword [edi]
push eax
mov edx, dword [ebx + 0x14]
mov eax, dword [edi]
call fcn.00803f74
movzx edx, byte [ebp - 0x11]
movzx ecx, word [ebp - 0x13]
mov si, 0xffe1
call fcn.00408964
jmp 0x7aeff5
mov dword [ebp - 0x30], 0xffffffff
mov eax, dword [edi]
cmp dword [eax + 0x40], 0
jne 0x7af19a
cmp byte [ebp - 0x29], 0
jne 0x7af080
movzx eax, byte [ebp - 0x11]
sub al, 2
jae 0x7af080
cmp dword [ebp - 0x30], 0xffffffff
je 0x7af080
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x50]
push eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edi]
call fcn.00803f74
mov dl, 3
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
je 0x7af080
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x58]
mov edx, dword [0x6fd32c]
call fcn.004088e0
test al, al
je 0x7af080
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x58]
cmp byte [eax + 0xb0], 0
je 0x7af080
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [edi]
mov edx, dword [ebp - 0x30]
mov eax, dword [edi]
mov si, 0xffb2
call fcn.00408964
mov edx, dword [ebp - 0x30]
mov eax, dword [edi]
call fcn.00803f74
mov si, 0xffd1
call fcn.00408964
mov eax, dword [edi]
mov si, 0xffa5
call fcn.00408964
test al, al
je 0x7af0ae
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
movzx edx, byte [ebp - 0x11]
movzx ecx, word [ebp - 0x13]
mov eax, dword [edi]
mov si, 0xff9f
call fcn.00408964
cmp byte [ebp - 0x11], 1
jne 0x7af11e
mov eax, dword [edi]
mov si, 0xffa3
call fcn.00408964
test al, al
je 0x7af11e
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
call fcn.007b4e74
test al, al
je 0x7af11e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x48]
mov eax, dword [edi]
mov si, 0xffab
call fcn.00408964
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [edi]
mov si, 0xff9d
call fcn.00408964
cmp byte [ebp - 0x11], 0
jne 0x7af188
mov eax, dword [edi]
cmp dword [eax + 0x68], 0
jl 0x7af188
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
mov edx, dword [edi]
cmp eax, dword [edx + 0x64]
jne 0x7af188
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x58]
mov si, 0xffa2
call fcn.00408964
test al, al
je 0x7af188
cmp byte [ebp - 0x29], 0
jne 0x7af188
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov eax, dword [edi]
mov eax, dword [eax + 0x90]
call fcn.0083528c
mov edx, dword [eax + 0x14]
mov eax, dword [edi]
call fcn.00803f74
mov eax, dword [eax + 0x1c]
mov edx, dword [edi]
add eax, dword [edx + 4]
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x58]
pop edx
mov si, 0xff9c
call fcn.00408964
mov eax, dword [edi]
mov dword [eax + 0x68], 0xffffffff
mov eax, dword [edi]
mov dword [eax + 0x78], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7af1b7
lea eax, [ebp - 0x10]
call fcn.0040a2fc
ret