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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x81aef5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x68]
call fcn.0083c888
test eax, eax
je 0x81aed4
mov eax, dword [ebx + 0x68]
call fcn.0083c888
mov esi, eax
mov eax, dword [ebx + 0x68]
call fcn.0083c520
mov edi, eax
mov eax, dword [ebp - 0xc]
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x38]
or ecx, 0xffffffff
or edx, 0xffffffff
call fcn.00413688
mov eax, dword [ebx + 0x68]
mov edx, dword [eax + 0x94]
mov eax, esi
call fcn.00886944
test al, al
je 0x81ad37
mov eax, dword [ebx + 0x68]
call fcn.0083c520
push eax
mov eax, dword [ebx + 0x68]
mov edx, dword [eax + 0x94]
mov ecx, 0x81af10
mov eax, esi
call fcn.00887488
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.00886904
test al, al
je 0x81ab62
mov eax, ebx
call fcn.0081b234
test al, al
je 0x81ab35
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*8]
mov edx, dword [edi + 0x518]
lea eax, [edx + eax*8]
push eax
push 0
push 1
lea edx, [ebp - 0x7c]
lea eax, [ebx + 0x3c]
call fcn.00870528
lea edx, [ebp - 0x7c]
mov ecx, dword [0x90da08]
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.007d3784
jmp 0x81ad37
mov eax, dword [ebp - 0x1c]
lea eax, [eax + eax*8]
mov edx, dword [edi + 0x518]
lea eax, [edx + eax*8]
push eax
push 0
push 1
mov ecx, dword [0x90da08]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.007d3784
jmp 0x81ad37
mov eax, ebx
call fcn.0081b234
test al, al
jne 0x81ad37
mov eax, ebx
call fcn.0081b0f0
dec eax
cmp eax, dword [ebp - 8]
je 0x81ad37
mov eax, dword [esi + 0x7a60]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00886944
test al, al
je 0x81ad37
mov eax, dword [ebx + 0x68]
call fcn.0083c520
push eax
mov ecx, 0x81af3c
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00887488
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.00886904
test al, al
je 0x81ad37
mov eax, dword [ebp - 0x18]
lea eax, [eax + eax*8]
mov edx, dword [edi + 0x518]
movsx edx, word [edx + eax*8 + 0x28]
mov ecx, dword [edi + 0x518]
movsx eax, word [ecx + eax*8 + 0x2c]
add edx, eax
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 2
jge 0x81abf8
mov esi, 2
jmp 0x81abfb
mov esi, dword [ebp - 0x20]
mov edx, dword [ebx + 0x40]
sub edx, 2
mov eax, esi
call fcn.008a0988
mov dword [ebp - 0x10], eax
push 0xcc0020
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
sub edx, eax
push edx
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.005209e0
call fcn.0051a144
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.005209e0
call fcn.0051a144
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
xor ecx, ecx
xor edx, edx
call fcn.00870bd4
push 0
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
xor ecx, ecx
pop edx
call fcn.008704bc
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
pop edx
sub eax, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 1
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebx + 0x68]
call fcn.0083c520
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [ebp - 0x5c]
mov cl, 1
mov eax, dword [ebp - 0x14]
call fcn.00898bc0
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.005209e0
call fcn.0051a144
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 1
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 8]
sub edx, eax
push edx
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.005209e0
call fcn.0051a144
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [ebp - 0x10], edx
call fcn.00408198
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x81ad56
mov eax, dword [eax + 0x2a0]
mov eax, dword [eax + 8]
mov edx, dword [eax + 8]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0087030c
jmp 0x81ad58
xor eax, eax
test al, al
je 0x81ad76
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x2a0]
mov edx, dword [ebp - 8]
call fcn.00585420
cmp byte [eax + 0x18], 1
sete al
jmp 0x81ad78
xor eax, eax
test al, al
je 0x81ad97
lea edx, [ebp - 0x84]
mov eax, dword [ebx + 0x78]
call fcn.0058cd18
cmp word [ebp - 0x82], 0
setne al
jmp 0x81ad99
xor eax, eax
test al, al
je 0x81ae16
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x2a4]
call fcn.0051a144
mov esi, eax
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.005209e0
call fcn.0051a144
mov edx, eax
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x2a4]
call fcn.0051a1c8
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebx + 0x78]
mov eax, dword [edi + 0x2a0]
mov edx, dword [ebp - 8]
call fcn.00585420
push eax
lea edx, [ebp - 0x84]
mov eax, dword [ebx + 0x78]
call fcn.0058cd18
lea eax, [ebp - 0x84]
mov edx, edi
mov edi, eax
pop ecx
mov eax, dword [edi + 4]
call dword [edi]
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x2a4]
mov edx, esi
call fcn.0051a1c8
jmp 0x81aed4
dec dword [ebp - 0x2c]
add dword [ebp - 0x38], 2
sub dword [ebp - 0x30], 4
lea ecx, [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0081b104
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x38]
xor edx, edx
call fcn.00870654
push eax
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x4c]
call fcn.005209e0
mov edx, dword [ebp - 4]
pop ecx
call fcn.0089adb4
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 4]
call fcn.0040a3e8
cmp dword [ebx + 0x78], 0
je 0x81aed4
mov esi, dword [ebx + 0x78]
cmp byte [esi + 0x2ac], 0
jne 0x81ae8c
mov eax, dword [esi + 0x2a0]
mov eax, dword [eax + 8]
mov edx, dword [eax + 8]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0087030c
jmp 0x81ae8e
xor eax, eax
test al, al
je 0x81aebc
mov eax, dword [esi + 0x2a0]
mov edx, dword [ebp - 8]
call fcn.00585420
movzx edx, byte [eax + 0x14]
mov eax, dword [ebx + 0x78]
call fcn.0083204c
push eax
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0081a99c
jmp 0x81aed4
mov eax, dword [ebx + 0x78]
xor edx, edx
call fcn.0083204c
push eax
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0081a99c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x81aefc
lea eax, [ebp - 0x88]
call fcn.00409fc0
lea eax, [ebp - 4]
call fcn.00409fc0
ret