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

Disassembly:
sub esp, 0x3c
test byte [esp + 0x4c], 0x10
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], ebx
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x20], 0
jne 0x81baf5
test dword [esi + 0x2e0], 0x8000
jne 0x81baf5
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x10], 1
test ebp, ebp
jne 0x81bb0f
xor ebx, ebx
mov dword [esp + 0x10], 1
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
jmp 0x81bb72
mov ebp, dword [esp + 0x54]
test ebp, ebp
jne 0x81bb07
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret
mov dword [esp + 0x10], 0
cmp dword [ebp + 0x30], 0
je 0x81bb29
push ebp
push 0x3e
push edi
call fcn.007821c0
add esp, 0xc
test eax, eax
jne 0x81c2ef
mov ecx, dword [ebp + 0x18]
cmp dword [ecx + 0x1c], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x1c], eax
je 0x81bb5c
mov esi, dword [ebp]
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0x9c]
and edx, 0x40
mov ecx, dword [ecx + 0x1c]
test edx, edx
jne 0x81bb52
add ecx, dword [esi + 0x28]
cmp dword [ecx + 0x1c], 0
jne 0x81bb48
mov esi, dword [esp + 0x50]
add ecx, 0x14
cmp dword [ecx], 0
jne 0x81bb6f
cmp dword [ecx + 4], 0
cmove ebx, ecx
mov dword [esp + 0x24], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x54]
mov dword [esp + 0x14], ebx
cmp dword [eax + 0xc], 0xffffffff
jne 0x81bb90
push esi
call fcn.007e9a20
add esp, 4
test eax, eax
jne 0x81c2ef
mov edx, dword [esp + 0x88]
test edx, edx
je 0x81bb9e
mov edx, dword [edx + 4]
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x81bbac
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0x90]
test eax, eax
je 0x81bbba
mov eax, dword [eax + 4]
add ecx, 0x5c
add eax, ecx
add eax, edx
mov dword [esp + 0x34], eax
mov ecx, dword [edi + 0x6c]
test ecx, ecx
je 0x81bbe4
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x34]
add eax, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], eax
cmp dword [esp + 0x10], 0
jne 0x81bc16
test ebp, ebp
je 0x81bc16
lea ecx, [esp + 0x18]
add eax, 8
push ecx
push eax
push edi
call fcn.00767980
add esp, 0xc
test eax, eax
jne 0x81c2ef
mov esi, dword [esp + 0x18]
add esi, 4
mov dword [esp + 0x30], esi
jmp 0x81bc31
lea ecx, [esp + 0x30]
push ecx
push eax
push edi
call fcn.00767980
add esp, 0xc
test eax, eax
jne 0x81c2ef
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x81bc4f
push eax
sub esi, eax
add esi, dword [esp + 0x38]
push 0
push esi
call fcn.0086d370
mov esi, dword [esp + 0x3c]
add esp, 0xc
test byte [edi + 0x9c], 4
jne 0x81bc60
mov dword [esi], 0x3e000000
jmp 0x81bc66
mov dword [esi], 0x3e
test byte [edi + 0x9c], 4
jne 0x81bc8c
movzx eax, byte [esp + 0x17]
mov byte [esi + 4], al
movzx eax, byte [esp + 0x16]
mov byte [esi + 5], al
movzx eax, byte [esp + 0x15]
mov byte [esi + 6], al
mov byte [esi + 7], bl
jmp 0x81bc8f
mov dword [esi + 4], ebx
test byte [edi + 0x9c], 4
mov ecx, dword [esp + 0x1c]
jne 0x81bcb9
movzx eax, byte [ecx + 3]
mov byte [esi + 8], al
movzx eax, byte [ecx + 2]
mov byte [esi + 9], al
movzx eax, byte [ecx + 1]
mov byte [esi + 0xa], al
movzx eax, byte [ecx]
mov byte [esi + 0xb], al
jmp 0x81bcbe
mov eax, dword [ecx]
mov dword [esi + 8], eax
test byte [edi + 0x9c], 4
jne 0x81bce5
movzx eax, byte [ecx + 7]
mov byte [esi + 0xc], al
movzx eax, byte [ecx + 6]
mov byte [esi + 0xd], al
movzx eax, byte [ecx + 5]
mov byte [esi + 0xe], al
movzx eax, byte [ecx + 4]
mov byte [esi + 0xf], al
jmp 0x81bceb
mov eax, dword [ecx + 4]
mov dword [esi + 0xc], eax
test byte [edi + 0x9c], 4
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x54]
mov ecx, dword [eax + 0xc]
jne 0x81bd1b
mov eax, ecx
mov byte [esi + 0x13], cl
shr eax, 0x18
mov byte [esi + 0x10], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x11], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x12], al
jmp 0x81bd1e
mov dword [esi + 0x10], ecx
test byte [edi + 0x9c], 4
jne 0x81bd48
mov ecx, dword [esp + 0x60]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x14], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x15], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x16], al
mov byte [esi + 0x17], cl
jmp 0x81bd4f
mov eax, dword [esp + 0x60]
mov dword [esi + 0x14], eax
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x81bdee
test ebp, ebp
je 0x81bd94
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebx]
cmp eax, dword [ecx + 0x30]
jne 0x81bd74
mov eax, dword [ebx + 4]
cmp eax, dword [ecx + 0x34]
je 0x81bd7e
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x81bd94
push ebx
push dword [esp + 0x54]
push edi
call fcn.00784330
add esp, 0xc
test eax, eax
jne 0x81c2ef
test byte [edi + 0x9c], 4
jne 0x81bdba
movzx eax, byte [ebx + 3]
mov byte [esi + 0x18], al
movzx eax, byte [ebx + 2]
mov byte [esi + 0x19], al
movzx eax, byte [ebx + 1]
mov byte [esi + 0x1a], al
movzx eax, byte [ebx]
mov byte [esi + 0x1b], al
jmp 0x81bdbf
mov eax, dword [ebx]
mov dword [esi + 0x18], eax
test byte [edi + 0x9c], 4
jne 0x81bde6
movzx eax, byte [ebx + 7]
mov byte [esi + 0x1c], al
movzx eax, byte [ebx + 6]
mov byte [esi + 0x1d], al
movzx eax, byte [ebx + 5]
mov byte [esi + 0x1e], al
movzx eax, byte [ebx + 4]
mov byte [esi + 0x1f], al
jmp 0x81bdf6
mov eax, dword [ebx + 4]
mov dword [esi + 0x1c], eax
jmp 0x81bdf6
xorps xmm0, xmm0
movq qword [esi + 0x18], xmm0
test byte [edi + 0x9c], 4
jne 0x81be20
mov ecx, dword [esp + 0x68]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x20], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x21], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x22], al
mov byte [esi + 0x23], cl
jmp 0x81be27
mov eax, dword [esp + 0x68]
mov dword [esi + 0x20], eax
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x81bec6
test ebp, ebp
je 0x81be6c
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebx]
cmp eax, dword [ecx + 0x30]
jne 0x81be4c
mov eax, dword [ebx + 4]
cmp eax, dword [ecx + 0x34]
je 0x81be56
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x81be6c
push ebx
push dword [esp + 0x54]
push edi
call fcn.00784330
add esp, 0xc
test eax, eax
jne 0x81c2ef
test byte [edi + 0x9c], 4
jne 0x81be92
movzx eax, byte [ebx + 3]
mov byte [esi + 0x24], al
movzx eax, byte [ebx + 2]
mov byte [esi + 0x25], al
movzx eax, byte [ebx + 1]
mov byte [esi + 0x26], al
movzx eax, byte [ebx]
mov byte [esi + 0x27], al
jmp 0x81be97
mov eax, dword [ebx]
mov dword [esi + 0x24], eax
test byte [edi + 0x9c], 4
jne 0x81bebe
movzx eax, byte [ebx + 7]
mov byte [esi + 0x28], al
movzx eax, byte [ebx + 6]
mov byte [esi + 0x29], al
movzx eax, byte [ebx + 5]
mov byte [esi + 0x2a], al
movzx eax, byte [ebx + 4]
mov byte [esi + 0x2b], al
jmp 0x81bece
mov eax, dword [ebx + 4]
mov dword [esi + 0x28], eax
jmp 0x81bece
xorps xmm0, xmm0
movq qword [esi + 0x24], xmm0
test byte [edi + 0x9c], 4
jne 0x81bef5
mov al, byte [esp + 0x73]
mov byte [esi + 0x2c], al
mov al, byte [esp + 0x72]
mov byte [esi + 0x2d], al
mov al, byte [esp + 0x71]
mov byte [esi + 0x2e], al
mov al, byte [esp + 0x70]
mov byte [esi + 0x2f], al
jmp 0x81befc
mov eax, dword [esp + 0x70]
mov dword [esi + 0x2c], eax
test byte [edi + 0x9c], 4
jne 0x81bf26
mov ecx, dword [esp + 0x74]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x30], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x31], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x32], al
mov byte [esi + 0x33], cl
jmp 0x81bf2d
mov eax, dword [esp + 0x74]
mov dword [esi + 0x30], eax
mov ebx, dword [esp + 0x78]
test ebx, ebx
je 0x81bfcc
test ebp, ebp
je 0x81bf72
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebx]
cmp eax, dword [ecx + 0x30]
jne 0x81bf52
mov eax, dword [ebx + 4]
cmp eax, dword [ecx + 0x34]
je 0x81bf5c
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x81bf72
push ebx
push dword [esp + 0x54]
push edi
call fcn.00784330
add esp, 0xc
test eax, eax
jne 0x81c2ef
test byte [edi + 0x9c], 4
jne 0x81bf98
movzx eax, byte [ebx + 3]
mov byte [esi + 0x34], al
movzx eax, byte [ebx + 2]
mov byte [esi + 0x35], al
movzx eax, byte [ebx + 1]
mov byte [esi + 0x36], al
movzx eax, byte [ebx]
mov byte [esi + 0x37], al
jmp 0x81bf9d
mov eax, dword [ebx]
mov dword [esi + 0x34], eax
test byte [edi + 0x9c], 4
jne 0x81bfc4
movzx eax, byte [ebx + 7]
mov byte [esi + 0x38], al
movzx eax, byte [ebx + 6]
mov byte [esi + 0x39], al
movzx eax, byte [ebx + 5]
mov byte [esi + 0x3a], al
movzx eax, byte [ebx + 4]
mov byte [esi + 0x3b], al
jmp 0x81bfd4
mov eax, dword [ebx + 4]
mov dword [esi + 0x38], eax
jmp 0x81bfd4
xorps xmm0, xmm0
movq qword [esi + 0x34], xmm0
test byte [edi + 0x9c], 4
jne 0x81bffe
mov ecx, dword [esp + 0x7c]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x3c], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x3d], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x3e], al
mov byte [esi + 0x3f], cl
jmp 0x81c005
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x3c], eax
mov ebx, dword [esp + 0x80]
test ebx, ebx
je 0x81c0a7
test ebp, ebp
je 0x81c04d
mov eax, dword [edi + 0x74]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebx]
cmp eax, dword [ecx + 0x30]
jne 0x81c02d
mov eax, dword [ebx + 4]
cmp eax, dword [ecx + 0x34]
je 0x81c037
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x81c04d
push ebx
push dword [esp + 0x54]
push edi
call fcn.00784330
add esp, 0xc
test eax, eax
jne 0x81c2ef
test byte [edi + 0x9c], 4
jne 0x81c073
movzx eax, byte [ebx + 3]
mov byte [esi + 0x40], al
movzx eax, byte [ebx + 2]
mov byte [esi + 0x41], al
movzx eax, byte [ebx + 1]
mov byte [esi + 0x42], al
movzx eax, byte [ebx]
mov byte [esi + 0x43], al
jmp 0x81c078
mov eax, dword [ebx]
mov dword [esi + 0x40], eax
test byte [edi + 0x9c], 4
jne 0x81c09f
movzx eax, byte [ebx + 7]
mov byte [esi + 0x44], al
movzx eax, byte [ebx + 6]
mov byte [esi + 0x45], al
movzx eax, byte [ebx + 5]
mov byte [esi + 0x46], al
movzx eax, byte [ebx + 4]
mov byte [esi + 0x47], al
jmp 0x81c0af
mov eax, dword [ebx + 4]
mov dword [esi + 0x44], eax
jmp 0x81c0af
xorps xmm0, xmm0
movq qword [esi + 0x40], xmm0
test byte [edi + 0x9c], 4
jne 0x81c0e2
mov al, byte [esp + 0x87]
mov byte [esi + 0x48], al
mov al, byte [esp + 0x86]
mov byte [esi + 0x49], al
mov al, byte [esp + 0x85]
mov byte [esi + 0x4a], al
mov al, byte [esp + 0x84]
mov byte [esi + 0x4b], al
jmp 0x81c0ec
mov eax, dword [esp + 0x84]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x9c]
mov ebx, dword [esp + 0x88]
and eax, 4
test ebx, ebx
jne 0x81c108
mov dword [esi + 0x4c], ebx
add esi, 0x50
jmp 0x81c169
test eax, eax
jne 0x81c12a
movzx eax, byte [ebx + 7]
mov byte [esi + 0x4c], al
movzx eax, byte [ebx + 6]
mov byte [esi + 0x4d], al
movzx eax, byte [ebx + 5]
mov byte [esi + 0x4e], al
movzx eax, byte [ebx + 4]
mov byte [esi + 0x4f], al
jmp 0x81c130
mov eax, dword [ebx + 4]
mov dword [esi + 0x4c], eax
push dword [ebx + 4]
add esi, 0x50
push dword [ebx]
push esi
call fcn.0086cdf0
add esp, 0xc
test byte [edi + 0x9c], 4
jne 0x81c166
push 0
push 0
push dword [ebx + 4]
push esi
push dword [esp + 0x60]
call fcn.007c7d00
add esp, 0x14
test eax, eax
jne 0x81c2ef
add esi, dword [ebx + 4]
mov eax, dword [edi + 0x9c]
mov ebx, dword [esp + 0x8c]
and eax, 4
test ebx, ebx
jne 0x81c184
mov dword [esi], ebx
add esi, 4
jmp 0x81c1be
test eax, eax
jne 0x81c1a5
movzx eax, byte [ebx + 7]
mov byte [esi], al
movzx eax, byte [ebx + 6]
mov byte [esi + 1], al
movzx eax, byte [ebx + 5]
mov byte [esi + 2], al
movzx eax, byte [ebx + 4]
mov byte [esi + 3], al
jmp 0x81c1aa
mov eax, dword [ebx + 4]
mov dword [esi], eax
push dword [ebx + 4]
add esi, 4
push dword [ebx]
push esi
call fcn.0086cdf0
add esp, 0xc
add esi, dword [ebx + 4]
mov eax, dword [edi + 0x9c]
mov ebx, dword [esp + 0x90]
and eax, 4
test ebx, ebx
jne 0x81c1d9
mov dword [esi], ebx
add esi, 4
jmp 0x81c213
test eax, eax
jne 0x81c1fa
movzx eax, byte [ebx + 7]
mov byte [esi], al
movzx eax, byte [ebx + 6]
mov byte [esi + 1], al
movzx eax, byte [ebx + 5]
mov byte [esi + 2], al
movzx eax, byte [ebx + 4]
mov byte [esi + 3], al
jmp 0x81c1ff
mov eax, dword [ebx + 4]
mov dword [esi], eax
push dword [ebx + 4]
add esi, 4
push dword [ebx]
push esi
call fcn.0086cdf0
add esp, 0xc
add esi, dword [ebx + 4]
test byte [edi + 0x9c], 4
jne 0x81c245
mov al, byte [esp + 0x97]
mov byte [esi], al
mov al, byte [esp + 0x96]
mov byte [esi + 1], al
mov al, byte [esp + 0x95]
mov byte [esi + 2], al
mov al, byte [esp + 0x94]
mov byte [esi + 3], al
jmp 0x81c24e
mov eax, dword [esp + 0x94]
mov dword [esi], eax
cmp dword [esp + 0x10], 0
jne 0x81c290
test ebp, ebp
je 0x81c290
mov eax, dword [esp + 0x18]
xor esi, esi
mov ecx, dword [ebp + 0x40]
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
test ecx, ecx
jne 0x81c26f
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x18]
pop edi
or dword [eax + 0x5c], 4
mov eax, dword [esp + 0x54]
mov dword [eax], esi
mov dword [eax + 4], 1
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x24]
or eax, 8
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push edi
call fcn.007b03a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x81c2d5
test ebp, ebp
je 0x81c2d5
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax], ecx
cmp ebx, edx
je 0x81c2d5
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
cmp dword [esp + 0x10], 0
jne 0x81c2e0
test ebp, ebp
jne 0x81c2ed
push dword [esp + 0x30]
push edi
call fcn.00767960
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret