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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7343c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [0x78d1e4]
test eax, eax
je 0x6c3a89
lea eax, [ebp + 0x2c64]
mov dword [esp + 0x10], eax
cmp byte [ebp + 0x2f4c], 1
jne 0x6c367e
lea ecx, [ebp + 0x2cf4]
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x10]
add edi, 0x5c
push 1
push 1
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.00416710
lea ecx, [esp + 0x30]
call fcn.005b3190
lea ecx, [esp + 0x28]
mov dword [esp + 0x8c], 0
call fcn.005b3190
mov ecx, dword [ebp + 0x2f54]
mov byte [esp + 0x8c], 1
call fcn.005b4790
mov edx, dword [ebp + 0x2f54]
mov esi, eax
cmp byte [ebp + 0x2f4c], 4
jne 0x6c3701
mov al, byte [edx + 0x266]
mov cl, byte [esi + 0xaf]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x34]
push edx
movzx eax, al
movzx ecx, cl
push eax
push ecx
push 0x89
mov ecx, ebp
call fcn.006c3460
jmp 0x6c3726
mov al, byte [edx + 0x264]
movzx dx, al
lea ecx, [esp + 0x30]
push ecx
push 0x6d
lea eax, [esp + 0x78]
mov ecx, esi
push edx
push eax
call fcn.005b30e0
mov ecx, eax
call fcn.00405f70
lea ecx, [esp + 0x18]
call fcn.005b3190
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 2
call fcn.005b3190
movzx ecx, byte [esi + 0xac]
push ecx
lea edx, [esp + 0x1c]
push str.camerahook_d
mov bl, 3
push edx
mov byte [esp + 0x98], bl
call fcn.005e5680
movzx eax, byte [esi + 0xac]
push eax
lea ecx, [esp + 0x30]
push str.rotatehook_d
push ecx
call fcn.005e5680
mov al, byte [esi + 0xac]
add esp, 0x18
test al, al
je 0x6c3851
cmp al, 4
jne 0x6c3919
mov edx, dword [ebp + 0x2f54]
cmp dword [edx + 0xc], 0x14
jne 0x6c3919
push 0x73d5d4
lea ecx, [esp + 0x3c]
call fcn.005e5a90
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 4
call fcn.005e5d10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 5
call fcn.005e5c50
lea ecx, [esp + 0x58]
mov byte [esp + 0x8c], 4
call fcn.005e5c20
lea ecx, [esp + 0x38]
mov byte [esp + 0x8c], bl
call fcn.005e5c20
push 0x73d5d4
lea ecx, [esp + 0x44]
call fcn.005e5a90
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 6
call fcn.005e5d10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 7
call fcn.005e5c50
lea ecx, [esp + 0x60]
mov byte [esp + 0x8c], 6
call fcn.005e5c20
lea ecx, [esp + 0x40]
jmp 0x6c390d
mov ecx, dword [ebp + 0x2f54]
cmp dword [ecx + 0xc], 1
jne 0x6c3919
push 0x73d5d4
lea ecx, [esp + 0x4c]
call fcn.005e5a90
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 8
call fcn.005e5d10
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 9
call fcn.005e5c50
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 8
call fcn.005e5c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], bl
call fcn.005e5c20
push 0x73d5d4
lea ecx, [esp + 0x54]
call fcn.005e5a90
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 0xa
call fcn.005e5d10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 0xb
call fcn.005e5c50
lea ecx, [esp + 0x70]
mov byte [esp + 0x8c], 0xa
call fcn.005e5c20
lea ecx, [esp + 0x50]
mov byte [esp + 0x8c], bl
call fcn.005e5c20
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0x74]
push 0
mov ecx, edi
call fcn.00416750
mov edi, eax
mov ebx, dword [edi]
lea ecx, [esp + 0x18]
call fcn.005e5670
push eax
mov ecx, edi
call dword [ebx + 0x10c]
test eax, eax
jne 0x6c3951
push str.camerahook
lea ecx, [esp + 0x1c]
call fcn.005e5140
mov ebx, dword [esi]
push 0
lea ecx, [esp + 0x1c]
call fcn.005e5670
mov ecx, dword [esp + 0x18]
push eax
push 0
call fcn.00416750
push eax
mov ecx, esi
call dword [ebx + 0x74]
mov edx, dword [esi]
push 0x41b5ced9
mov ecx, esi
call dword [edx + 0x44]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push eax
call fcn.00417620
mov esi, eax
test esi, esi
je 0x6c3a42
lea ecx, [esp + 0x28]
call fcn.005e58a0
test eax, eax
jne 0x6c39b9
mov ebx, dword [esi]
lea ecx, [esp + 0x28]
call fcn.005e5670
push eax
push 0x73d71c
mov ecx, esi
call dword [ebx + 0x34]
mov ebx, dword [edi]
lea ecx, [esp + 0x20]
call fcn.005e5670
push eax
mov ecx, edi
call dword [ebx + 0x10c]
test eax, eax
je 0x6c39fa
mov ebx, dword [esi]
push 0
lea ecx, [esp + 0x24]
call fcn.005e5670
push eax
push edi
mov ecx, esi
call dword [ebx + 0x50]
mov edx, dword [edi]
push 0
push 0
push 0x3f800000
push str.rotate
mov ecx, edi
call dword [edx + 0x18]
mov ecx, dword [ebp + 0x2f54]
call fcn.005b4790
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x6c3a24
mov eax, dword [esi]
push 0
push 0
push 0x3f800000
push str.powered
mov ecx, esi
call dword [eax + 0x18]
cmp byte [ebp + 0x2f4c], 4
jne 0x6c3a42
mov edx, dword [esi]
push 0
push 0
push 0x3f800000
push str.neutral
mov ecx, esi
call dword [edx + 0x18]
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 2
call fcn.005e5c20
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 1
call fcn.005e5c20
lea ecx, [esp + 0x28]
mov byte [esp + 0x8c], 0
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov dword [esp + 0x8c], 0xffffffff
call fcn.005e5c20
mov ecx, dword [esp + 0x84]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret