Function at 0x460901
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 [0x4c7b78]
call esi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, eax
xor eax, eax
cmp byte [0x4c7b74], al
sete al
push eax
push edi
call ebx
xor eax, eax
cmp byte [0x4c7b74], al
sete al
push eax
push 1
push dword [0x4c7b78]
call esi
push eax
call ebx
xor eax, eax
cmp byte [0x4c7b74], al
sete al
push eax
push 2
push dword [0x4c7b78]
call esi
push eax
call ebx
movzx eax, byte [0x4c7b74]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x549
push dword [0x4c7b78]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
movzx eax, byte [0x4c7b74]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x548
push dword [0x4c7b78]
call esi
push eax
call ebx
cmp byte [0x4c7b74], 0
jne 0x460b4f
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
xor ebp, ebp
push ebp
push ebp
push 0x14b
push edi
call esi
push 0x49deb8
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.0048d1ee
test eax, eax
jbe 0x460a30
mov ecx, ebp
call fcn.0048d1f4
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.0043b2a0
push eax
push 0
push 0x143
push edi
call esi
lea eax, [ebp + 1]
mov ecx, ebp
mov dword [esp + 0x10], eax
call fcn.0048d20b
mov ebp, dword [esp + 0x10]
push eax
push ebp
push ebx
push edi
call esi
call fcn.0048d1ee
cmp ebp, eax
jb 0x4609f2
call fcn.0048d1ee
cmp eax, 1
ja 0x460aad
and dword [esp + 0x10], 0
mov edx, dword [str.Albanian_sq]
jmp 0x460a88
lea ecx, [esp + 0x20]
call fcn.0048d0b4
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
call fcn.0043b2a0
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 + 0x49cb90]
test edx, edx
jne 0x460a47
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 [0x4c7b70], 0xffffffff
mov dword [esp + 0x10], eax
mov ebx, 0x150
jne 0x460b1a
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0048d45d
cmp dword [esp + 0x10], ebp
jbe 0x460af4
push 0
push ebp
push ebx
push edi
call esi
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x460b14
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x460ade
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jbe 0x460b1a
push 0
push ebp
push ebx
push edi
call esi
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x460b14
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x460afc
jmp 0x460b1a
mov dword [0x4c7b70], ecx
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jbe 0x460b45
push 0
push ebp
push ebx
push edi
call esi
cmp dword [0x4c7b70], eax
je 0x460b3a
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x460b22
jmp 0x460b45
push 0
push ebp
push 0x14e
push edi
call esi
mov ecx, dword [esp + 0x14]
call fcn.00444521
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret