Function at 0x1004968a
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
mov eax, 0x1008b7f2
call fcn.10089aec
sub esp, 0x78
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x24], esi
call fcn.10047a42
and dword [ebp - 4], 0
lea edi, [esi + 0xa0]
mov ecx, edi
mov dword [ebp - 0x20], edi
call fcn.1005d3df
mov dword [edi], vtable.BaseComHookInstaller.0
xor eax, eax
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
push 0x38
push eax
mov dword [edi], vtable.Dx9Render.0
mov edi, eax
mov dword [esi + 0xf4], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x84]
push eax
mov dword [esi], vtable.Dx9Render.1.0
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
call fcn.1004ceba
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x4c], 0x4d
mov byte [ebp - 0x4b], 0x72
mov byte [ebp - 0x4a], 0x7b
mov byte [ebp - 0x49], 0x6e
mov byte [ebp - 0x48], 0x6c
mov byte [ebp - 0x47], 0x7d
mov byte [ebp - 0x46], 0x3c
mov byte [ebp - 0x45], 0x4d
mov byte [ebp - 0x44], 0x4c
mov byte [ebp - 0x43], 0x7b
mov byte [ebp - 0x42], 0x6e
mov byte [ebp - 0x41], 0x6a
mov byte [ebp - 0x40], 0x7d
mov byte [ebp - 0x3f], 0x6e
mov byte [ebp - 0x3e], 0x42
mov byte [ebp - 0x3d], 0x4e
mov byte [ebp - 0x3c], 0x81
mov byte [ebp - 0x3b], 0
mov al, byte [ebp - 0x4c]
xor eax, eax
sub byte [ebp + eax - 0x4c], 9
inc eax
cmp eax, 0x11
jb 0x1004975f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x100497b9
lea ecx, [ebp - 0x1c]
push ecx
push 0x20
call eax
test eax, eax
jne 0x100497b9
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
push edx
push 0
lea edx, [ebp - 0x84]
mov ecx, dword [eax]
push edx
push 0x40
push 0
push ebx
push 0
push eax
call dword [ecx + 0x50]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100497b9
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0
push ecx
call dword [eax + 0x38]
mov byte [ebp - 0x3a], 0x50
mov byte [ebp - 0x39], 0x75
mov byte [ebp - 0x38], 0x7e
mov byte [ebp - 0x37], 0x71
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x80
mov byte [ebp - 0x34], 0x3f
mov byte [ebp - 0x33], 0x50
mov byte [ebp - 0x32], 0x4f
mov byte [ebp - 0x31], 0x7e
mov byte [ebp - 0x30], 0x71
mov byte [ebp - 0x2f], 0x6d
mov byte [ebp - 0x2e], 0x80
mov byte [ebp - 0x2d], 0x71
mov byte [ebp - 0x2c], 0x45
mov byte [ebp - 0x2b], 0
mov al, byte [ebp - 0x3a]
xor eax, eax
sub byte [ebp + eax - 0x3a], 0xc
inc eax
cmp eax, 0xf
jb 0x100497fe
lea eax, [ebp - 0x3a]
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x10049851
push 0x20
call eax
mov edi, eax
test edi, edi
je 0x10049838
mov ecx, dword [edi]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x84]
push eax
push 0x40
push 0
push ebx
push 0
push edi
call dword [ecx + 0x40]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10049854
cmp dword [ebp - 0x18], 0
jne 0x10049854
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0
push ecx
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10049894
mov eax, dword [esi]
mov ecx, dword [ebp - 0x20]
push ebx
push 3
push 0x10049471
push dword [eax + 0x210]
call fcn.1005bf99
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
push ebx
push 6
mov eax, dword [eax]
push 0x10049522
push dword [eax + 0x1e4]
call fcn.1005bf99
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100498cb
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x20]
push ebx
push 3
push 0x10049471
push dword [eax + 0x40]
call fcn.1005bf99
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
push ebx
push 5
mov eax, dword [eax]
push fcn.10049485
push dword [eax + 0x44]
call fcn.1005bf99
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x100498ed
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ebx
push 6
push 0x10049533
push dword [eax + 0xc]
call fcn.1005bf99
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
test esi, esi
jne 0x100498f5
test ecx, ecx
je 0x100498fb
cmp dword [ebp - 0x18], 0
jne 0x100498fd
xor bl, bl
mov eax, dword [ebp - 0x24]
mov byte [eax + 4], bl
test esi, esi
je 0x10049917
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
jmp 0x10049919
xor ebx, ebx
test ecx, ecx
je 0x10049926
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x10], ebx
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x10049936
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10049946
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x1c], ebx
test edi, edi
je 0x10049950
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [ebp - 0x2a], 0x60
mov byte [ebp - 0x29], 0x51
mov byte [ebp - 0x28], 0x5a
mov byte [ebp - 0x27], 0x57
mov byte [ebp - 0x26], 0x5b
mov byte [ebp - 0x25], bl
mov al, byte [ebp - 0x2a]
mov eax, ebx
sub byte [ebp + eax - 0x2a], 0xc
inc eax
cmp eax, 5
jb 0x1004996c
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
lea eax, [ebp - 0x2a]
push eax
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword [0x1018d4dc], eax
pop ebx
mov dword fs:[0], ecx
leave
ret 4