Function at 0x460a99
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 [0x4c8b98]
call esi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, eax
xor eax, eax
cmp byte [0x4c8b94], al
sete al
push eax
push edi
call ebx
xor eax, eax
cmp byte [0x4c8b94], al
sete al
push eax
push 1
push dword [0x4c8b98]
call esi
push eax
call ebx
xor eax, eax
cmp byte [0x4c8b94], al
sete al
push eax
push 2
push dword [0x4c8b98]
call esi
push eax
call ebx
movzx eax, byte [0x4c8b94]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x549
push dword [0x4c8b98]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
movzx eax, byte [0x4c8b94]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x548
push dword [0x4c8b98]
call esi
push eax
call ebx
cmp byte [0x4c8b94], 0
jne 0x460ce7
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
xor ebp, ebp
push ebp
push ebp
push 0x14b
push edi
call esi
push 0x49eec0
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.0048d34d
test eax, eax
jbe 0x460bc8
mov ecx, ebp
call fcn.0048d353
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.0043b2c1
push eax
push 0
push 0x143
push edi
call esi
lea eax, [ebp + 1]
mov ecx, ebp
mov dword [esp + 0x10], eax
call fcn.0048d36a
mov ebp, dword [esp + 0x10]
push eax
push ebp
push ebx
push edi
call esi
call fcn.0048d34d
cmp ebp, eax
jb 0x460b8a
call fcn.0048d34d
cmp eax, 1
ja 0x460c45
and dword [esp + 0x10], 0
mov edx, dword [str.Albanian_sq]
jmp 0x460c20
lea ecx, [esp + 0x20]
call fcn.0048d213
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
call fcn.0043b2c1
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 + 0x49db98]
test edx, edx
jne 0x460bdf
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 [0x4c8b90], 0xffffffff
mov dword [esp + 0x10], eax
mov ebx, 0x150
jne 0x460cb2
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0048d5bc
cmp dword [esp + 0x10], ebp
jbe 0x460c8c
push 0
push ebp
push ebx
push edi
call esi
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x460cac
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x460c76
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jbe 0x460cb2
push 0
push ebp
push ebx
push edi
call esi
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x460cac
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x460c94
jmp 0x460cb2
mov dword [0x4c8b90], ecx
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jbe 0x460cdd
push 0
push ebp
push ebx
push edi
call esi
cmp dword [0x4c8b90], eax
je 0x460cd2
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x460cba
jmp 0x460cdd
push 0
push ebp
push 0x14e
push edi
call esi
mov ecx, dword [esp + 0x14]
call fcn.004444cc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret