Function at 0x460a26
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x547
push dword [0x4c8b78]
call esi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, eax
xor eax, eax
cmp byte [0x4c8b74], al
sete al
push eax
push edi
call ebx
xor eax, eax
cmp byte [0x4c8b74], al
sete al
push eax
push 1
push dword [0x4c8b78]
call esi
push eax
call ebx
xor eax, eax
cmp byte [0x4c8b74], al
sete al
push eax
push 2
push dword [0x4c8b78]
call esi
push eax
call ebx
movzx eax, byte [0x4c8b74]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x549
push dword [0x4c8b78]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
movzx eax, byte [0x4c8b74]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x548
push dword [0x4c8b78]
call esi
push eax
call ebx
cmp byte [0x4c8b74], 0
jne 0x460c74
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
xor ebp, ebp
push ebp
push ebp
push 0x14b
push edi
call esi
push 0x49eeb8
push ebp
push 0x143
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push ebp
mov ebx, 0x151
push ebx
push edi
call esi
mov dword [esp + 0x14], ebp
call fcn.0048d445
test eax, eax
jbe 0x460b55
mov ecx, ebp
call fcn.0048d44b
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.0043b2e2
push eax
push 0
push 0x143
push edi
call esi
lea eax, [ebp + 1]
mov ecx, ebp
mov dword [esp + 0x10], eax
call fcn.0048d462
mov ebp, dword [esp + 0x10]
push eax
push ebp
push ebx
push edi
call esi
call fcn.0048d445
cmp ebp, eax
jb 0x460b17
call fcn.0048d445
cmp eax, 1
ja 0x460bd2
and dword [esp + 0x10], 0
mov edx, dword [str.Albanian_sq]
jmp 0x460bad
lea ecx, [esp + 0x20]
call fcn.0048d30b
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
call fcn.0043b2e2
push eax
push 0
push 0x143
push edi
call esi
push dword [esp + 0x40]
mov eax, dword [esp + 0x14]
lea eax, [eax + ebp + 1]
push eax
push ebx
push edi
call esi
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov edx, dword [eax*4 + 0x49db90]
test edx, edx
jne 0x460b6c
push str.Download_more_translations...
push edx
push 0x143
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
lea eax, [eax + ebp + 1]
push eax
push ebx
push edi
call esi
xor ebp, ebp
push ebp
push ebp
push 0x146
push edi
call esi
cmp dword [0x4c8b70], 0xffffffff
mov dword [esp + 0x10], eax
mov ebx, 0x150
jne 0x460c3f
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0048d6b4
cmp dword [esp + 0x10], ebp
jbe 0x460c19
push 0
push ebp
push ebx
push edi
call esi
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x460c39
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x460c03
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jbe 0x460c3f
push 0
push ebp
push ebx
push edi
call esi
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x460c39
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x460c21
jmp 0x460c3f
mov dword [0x4c8b70], ecx
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jbe 0x460c6a
push 0
push ebp
push ebx
push edi
call esi
cmp dword [0x4c8b70], eax
je 0x460c5f
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x460c47
jmp 0x460c6a
push 0
push ebp
push 0x14e
push edi
call esi
mov ecx, dword [esp + 0x14]
call fcn.004444fe
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret