Function at 0x496360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x2cc]
sub esp, 0x2cc
push 0xffffffffffffffff
push 0x50c568
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x54e414]
xor eax, ebp
mov dword [ebp + 0x2c8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp + 0x2d4]
mov edi, dword [ebp + 0x2dc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
test eax, eax
je 0x496681
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x529c34
push eax
call esi
push 0x52a4e0
push dword [ebx]
mov dword [ebp - 0x10], eax
call esi
push 0x529c58
push dword [ebx]
mov dword [ebp - 0x14], eax
call esi
cmp dword [ebp - 0x10], 0
mov dword [ebp - 0x20], eax
je 0x496681
cmp dword [ebp - 0x14], 0
je 0x496681
test eax, eax
je 0x496681
xor eax, eax
mov dword [ebp + 0x290], 0x6f0053
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x294], 0x740066
mov dword [ebp + 0x298], 0x610077
mov dword [ebp + 0x29c], 0x650072
mov dword [ebp + 0x2a0], 0x4d005c
mov dword [ebp + 0x2a4], 0x630069
mov dword [ebp + 0x2a8], 0x6f0072
mov dword [ebp + 0x2ac], 0x6f0073
mov dword [ebp + 0x2b0], 0x740066
mov dword [ebp + 0x2b4], 0x43005c
mov dword [ebp + 0x2b8], 0x460054
mov dword [ebp + 0x2bc], 0x54005c
mov dword [ebp + 0x2c0], 0x500049
mov word [ebp + 0x2c4], ax
call fcn.0040a8b0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x18]
mov ecx, esi
push 0x804
call fcn.0040a680
push eax
lea eax, [ebp + 0x290]
push eax
lea eax, [ebp + 0x6c]
push str._s_sLanguageProfile0x_08x
push eax
call fcn.00413400
add esp, 0x14
mov dword [ebp], 0
lea eax, [ebp]
lea ecx, [ebp + 0x6c]
push eax
push 0x20019
push 0
call fcn.0040a680
push eax
push 0x80000002
call dword [ebp - 0x10]
test eax, eax
jne 0x496672
push 0x208
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x88]
push eax
call fcn.004d4650
add esp, 0xc
mov dword [ebp + 0x84], 0x104
lea eax, [ebp + 0x84]
push 0
push 0
push 0
push 0
push eax
lea eax, [ebp + 0x88]
push eax
push 0
push dword [ebp]
call dword [ebp - 0x14]
test eax, eax
jne 0x49666c
lea ecx, [ebp + 4]
call fcn.0046c370
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x3c]
call fcn.0040a8b0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x54]
call fcn.0040a8b0
mov byte [ebp - 4], 4
lea eax, [ebp + 0x88]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040a870
mov byte [ebp - 4], 5
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
push esi
push 0x804
call fcn.004966b0
mov bl, al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.0040a7e0
test bl, bl
je 0x49660f
mov ecx, esi
mov dword [ebp + 0x38], 0x804
mov dword [ebp + 4], 0
call fcn.0040ad00
lea ecx, [ebp + 0x3c]
cmp ecx, eax
je 0x4965cc
mov ecx, esi
call fcn.0040ad00
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4965c0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x3c]
call fcn.0040af20
lea eax, [ebp + 0x88]
push eax
call fcn.0040b080
add esp, 4
lea ecx, [ebp + 0x54]
push eax
lea eax, [ebp + 0x88]
push eax
call fcn.0040af20
mov eax, dword [edi + 4]
lea ecx, [ebp + 4]
push ecx
cmp dword [edi + 8], eax
je 0x496607
mov edx, eax
call fcn.00497ac0
add esp, 4
add dword [edi + 4], 0x68
jmp 0x49660f
push eax
mov ecx, edi
call fcn.00497b60
mov ebx, dword [ebp - 0x10]
inc ebx
mov dword [ebp + 0x84], 0x104
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x54]
call fcn.0040a7e0
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x3c]
call fcn.0040a7e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 4]
call fcn.0046c3d0
push 0
push 0
push 0
push 0
lea eax, [ebp + 0x84]
push eax
lea eax, [ebp + 0x88]
push eax
push ebx
push dword [ebp]
call dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
test eax, eax
je 0x496531
push dword [ebp]
call dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x6c]
call fcn.0040a7e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c8]
xor ecx, ebp
call fcn.004d1486
lea esp, [ebp + 0x2cc]
pop ebp
ret 0xc