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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7a6710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x60]
call fcn.00405f70
lea ecx, [esp + 0x50]
call fcn.00405f70
lea ecx, [esp + 0x70]
call fcn.00405f70
lea ecx, [esp + 0x28]
call fcn.005ff150
xor esi, esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x8c], esi
call fcn.005ff150
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 1
call fcn.005ff150
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 0xc]
mov al, byte [esi + 0x1a]
test al, al
mov bl, 2
mov byte [esp + 0x8c], bl
jne 0x6f057a
mov eax, dword [esi + 0x10]
cmp eax, dword [0x7bd94c]
jne 0x6f057a
mov ecx, dword [edi + 0x3c]
call fcn.00657db0
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
push 0xfe
call dword [edx + 0x7c]
mov ecx, dword [edi + 0x3c]
call fcn.004015a0
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov cl, byte [esi + 0x1a]
mov byte [edi + 0x1a], cl
jmp 0x6f0e18
mov edx, dword [0x828508]
mov eax, dword [edx + 0x130]
mov edx, dword [0x826a60]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x30]
push ecx
movzx ecx, word [esi + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.0041dde0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x6f05da
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6f05b0
sub eax, edx
test eax, eax
jle 0x6f05da
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x78]
call int.004062d0
mov dword [esp + 0x18], 1
jmp 0x6f05e2
mov dword [esp + 0x18], 0
cmp byte [ebp + 8], 3
jne 0x6f077d
mov al, byte [esi + 0x34]
cmp al, 0xff
je 0x6f0603
movzx ecx, al
mov dword [esp + 0x10], ecx
mov dword [edi + 0x40], 1
jmp 0x6f0637
mov eax, dword [esi + 0x30]
mov edx, dword [0x828508]
lea ecx, [esp + 0x10]
test eax, eax
mov eax, dword [edx + 0x130]
mov eax, dword [eax + 0x10]
mov edx, dword [0x826a3c]
push ecx
movzx ecx, word [esi + 0x18]
jne 0x6f062e
mov edx, dword [0x826a8c]
push edx
push ecx
mov ecx, eax
call fcn.0041d4d0
push str.HEAD
lea ecx, [esp + 0x44]
call fcn.00630ba0
mov edx, dword [0x828508]
mov eax, dword [edx + 0x130]
mov eax, dword [eax + 0x114]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x44]
push edx
push ecx
mov ecx, eax
mov byte [esp + 0x98], 3
call fcn.0041d1f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], bl
call fcn.00630d30
mov eax, dword [esp + 0x28]
test eax, eax
je 0x6f0c6f
cmp byte [eax], 0
je 0x6f0c6f
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x68]
call int.004062d0
lea ecx, [esp + 0x20]
call fcn.005ff150
push str.ALTTEXTURE
lea ecx, [esp + 0x44]
mov byte [esp + 0x90], 4
call fcn.00630ba0
mov ecx, dword [0x828508]
mov eax, dword [ecx + 0x130]
mov eax, dword [eax + 0x114]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x98], 5
call fcn.0041d1f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 4
call fcn.00630d30
mov eax, dword [esp + 0x20]
test eax, eax
je 0x6f0755
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6f0718
sub eax, edx
test eax, eax
jle 0x6f0755
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x58]
call int.004062d0
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 1
mov byte [esp + 0x8c], bl
call fcn.00630d30
jmp 0x6f0a5b
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x58]
call int.004062d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], bl
call fcn.00630d30
jmp 0x6f0a5b
push 0x7bedd8
lea ecx, [esp + 0x2c]
call fcn.00630e20
mov cl, byte [esi + 0x1b]
xor eax, eax
cmp cl, 1
mov ecx, dword [0x828508]
mov ecx, dword [ecx + 0x130]
mov ecx, dword [ecx + 0x14]
sete al
lea edx, [esp + 0x30]
push edx
mov edx, dword [0x826ac0]
push edx
push eax
call fcn.0041dde0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x30]
call fcn.00630ee0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 6
call fcn.00630d60
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], bl
call fcn.00630d30
mov edx, dword [0x828508]
mov eax, dword [edx + 0x130]
mov edx, dword [0x826a94]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x30]
push ecx
movzx ecx, word [esi + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.0041dde0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
call fcn.00630ee0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 7
call fcn.00630d60
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], bl
call fcn.00630d30
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00630d60
movzx edx, byte [esi + 0x1c]
push edx
lea ecx, [esp + 0x24]
call fcn.00630cd0
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 8
call fcn.00630ee0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 9
call fcn.00630d60
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 8
call fcn.00630d30
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], bl
call fcn.00630d30
push str._HEAD
lea ecx, [esp + 0x44]
call fcn.00630ba0
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 0xa
call fcn.00630ee0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 0xb
call fcn.00630d60
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 0xa
call fcn.00630d30
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], bl
call fcn.00630d30
push str.0_HEAD
lea ecx, [esp + 0x44]
call fcn.00630ba0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x94], 0xc
call fcn.00630ee0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 0xd
call fcn.00630d60
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 0xc
call fcn.00630d30
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], bl
call fcn.00630d30
movzx edx, byte [esi + 0x1a]
push edx
lea eax, [esp + 0x20]
push str._03u
push eax
call fcn.0076dca2
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00630ba0
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 0xe
call fcn.00630ee0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 0xf
call fcn.00630d60
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 0xe
call fcn.00630d30
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], bl
call fcn.00630d30
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00630ba0
mov byte [esp + 0x8c], 0x10
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call fcn.00630ee0
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 0x11
call fcn.00630d60
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 0x10
call fcn.00630d30
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], bl
call fcn.00630d30
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x68]
call int.004062d0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x58]
call int.004062d0
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x6f0b67
mov dx, word [edi + 0x18]
cmp dx, word [esi + 0x18]
jne 0x6f0b67
mov al, byte [edi + 0x1b]
cmp al, byte [esi + 0x1b]
jne 0x6f0b67
mov cl, byte [edi + 0x1a]
cmp cl, byte [esi + 0x1a]
jne 0x6f0b67
mov edx, dword [edi + 0x10]
cmp edx, dword [esi + 0x10]
jne 0x6f0b67
mov al, byte [edi + 0x34]
cmp al, byte [esi + 0x34]
jne 0x6f0b67
mov ecx, dword [edi + 0x30]
cmp ecx, dword [esi + 0x30]
jne 0x6f0b67
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6f0b11
mov ecx, dword [0x8284c0]
push 0
push 3
lea edx, [esp + 0x58]
push edx
call fcn.00408e20
test eax, eax
jne 0x6f0aea
mov ecx, dword [0x8284c0]
push eax
push 0xbbf
lea eax, [esp + 0x58]
push eax
call fcn.00408e20
test eax, eax
je 0x6f0b11
push 0x7b5718
lea ecx, [esp + 0x44]
call fcn.00406ec0
push 1
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [edi + 0x3c]
lea edx, [esp + 0x48]
push edx
push 0xfe
call fcn.00692da0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6f0b39
mov edi, dword [edi + 0x3c]
mov eax, dword [edi]
lea ecx, [esp + 0x70]
push ecx
push 1
push 1
push 0xfe
mov ecx, edi
call dword [eax + 0xac]
jmp 0x6f0e18
push str.DEFAULT
lea ecx, [esp + 0x44]
call fcn.00406ec0
mov edi, dword [edi + 0x3c]
mov edx, dword [edi]
lea eax, [esp + 0x40]
push eax
push 1
push 0
push 0xfe
mov ecx, edi
call dword [edx + 0xac]
jmp 0x6f0e18
mov ecx, dword [edi + 0x3c]
call fcn.00657db0
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
push 0xfe
call dword [edx + 0x7c]
mov ecx, dword [edi + 0x3c]
call fcn.004015a0
mov al, byte [esi + 0x1a]
mov ebx, dword [ebp + 8]
mov byte [edi + 0x1a], al
mov cl, byte [esi + 0x34]
mov byte [edi + 0x34], cl
mov edx, dword [esi + 0x30]
mov ecx, dword [edi + 0x3c]
push ebx
mov dword [edi + 0x30], edx
mov eax, dword [ecx]
push 0xfe
lea edx, [esp + 0x68]
push edx
call dword [eax + 0x78]
test eax, eax
je 0x6f0c6f
cmp bl, 1
je 0x6f0bc2
cmp bl, 3
jne 0x6f0d2a
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x6f0bd5
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x10]
je 0x6f0d14
mov ecx, dword [0x8284d4]
mov edx, dword [edi + 0x10]
mov ecx, dword [ecx + 4]
push edx
call fcn.006387f0
test eax, eax
mov dword [esp + 0x10], eax
je 0x6f0c4b
lea ecx, [eax + 0x10]
mov eax, dword [ecx]
push 1
push 0xff
mov dword [esp + 0x28], ecx
call dword [eax + 0x98]
mov ebx, eax
test ebx, ebx
je 0x6f0c32
mov edx, dword [ebx]
push 0
push 0
push 0
mov ecx, ebx
call dword [edx + 0x50]
mov eax, dword [ebx]
push 1
push 0x3f800000
mov ecx, ebx
call dword [eax + 0xcc]
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 0x40]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x6f0c4b
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push 0
call dword [edx + 0x94]
mov eax, dword [esi + 0x10]
cmp eax, dword [0x7bd94c]
je 0x6f0d14
mov ecx, dword [0x8284d4]
mov ecx, dword [ecx + 4]
push eax
call fcn.006387f0
mov ebx, eax
test ebx, ebx
jne 0x6f0cbe
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 1
call fcn.00630d30
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 0
call fcn.00630d30
lea ecx, [esp + 0x28]
mov dword [esp + 0x8c], 0xffffffff
call fcn.00630d30
xor eax, eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
push 1
push 0xfe
call dword [edx + 0x98]
lea ecx, [ebx + 0x10]
push 1
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
push 0xff
call dword [eax + 0x98]
mov ebx, eax
test ebx, ebx
je 0x6f0d14
mov eax, dword [esp + 0x20]
mov edx, dword [ebx]
push 0
push str.GoggleHook
push eax
mov ecx, ebx
call dword [edx + 0x50]
mov edx, dword [ebx]
push 0
push 0
push 0x3f800000
push str.default
mov ecx, ebx
call dword [edx + 0x18]
mov ecx, dword [edi + 0x3c]
call fcn.00692d70
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xec]
mov eax, dword [esp + 0x14]
test eax, eax
mov edx, dword [esi + 0x10]
mov dword [edi + 0x10], edx
je 0x6f0d91
mov ecx, dword [0x8284c0]
push 0
push 3
lea eax, [esp + 0x58]
push eax
call fcn.00408e20
test eax, eax
jne 0x6f0d6a
push eax
push 0xbbf
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [0x8284c0]
call fcn.00408e20
test eax, eax
je 0x6f0d91
push 0x7b5718
lea ecx, [esp + 0x44]
call fcn.00406ec0
mov ecx, dword [edi + 0x3c]
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
push 0xfe
call fcn.00692da0
mov ecx, dword [0x8284d4]
mov ecx, dword [ecx + 4]
mov esi, dword [edi + 0x3c]
call fcn.00638770
cmp eax, esi
jne 0x6f0dc0
mov edx, dword [esi]
push 1
push 0xfe
mov ecx, esi
call dword [edx + 0x98]
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x40]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6f0dd3
lea edx, [esp + 0x70]
push edx
push 1
push 1
jmp 0x6f0dea
push str.DEFAULT
lea ecx, [esp + 0x44]
call fcn.00406ec0
lea edx, [esp + 0x40]
push edx
push 1
push 0
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push 0xfe
call dword [eax + 0xac]
mov dword [edi + 0x50], 1
mov dword [edi + 0x40], 0
mov eax, dword [0x8284d4]
mov ecx, dword [eax + 4]
call fcn.00638e70
mov dword [edi + 0x68], eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x8c], 1
call fcn.00630d30
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], 0
call fcn.00630d30
lea ecx, [esp + 0x28]
mov dword [esp + 0x8c], 0xffffffff
call fcn.00630d30
mov ecx, dword [esp + 0x84]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8