Function at 0x45f68c
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 [0x4c5a38]
call esi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
mov edi, eax
xor eax, eax
cmp byte [0x4c5a34], al
sete al
push eax
push edi
call ebx
xor eax, eax
cmp byte [0x4c5a34], al
sete al
push eax
push 1
push dword [0x4c5a38]
call esi
push eax
call ebx
xor eax, eax
cmp byte [0x4c5a34], al
sete al
push eax
push 2
push dword [0x4c5a38]
call esi
push eax
call ebx
movzx eax, byte [0x4c5a34]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x549
push dword [0x4c5a38]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
movzx eax, byte [0x4c5a34]
neg eax
sbb eax, eax
and eax, 5
push eax
push 0x548
push dword [0x4c5a38]
call esi
push eax
call ebx
cmp byte [0x4c5a34], 0
jne 0x45f8da
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
xor ebp, ebp
push ebp
push ebp
push 0x14b
push edi
call esi
push 0x49cdd4
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.0048b7b0
test eax, eax
jbe 0x45f7bb
mov ecx, ebp
call fcn.0048b7b6
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.0043a228
push eax
push 0
push 0x143
push edi
call esi
lea eax, [ebp + 1]
mov ecx, ebp
mov dword [esp + 0x10], eax
call fcn.0048b7cd
mov ebp, dword [esp + 0x10]
push eax
push ebp
push ebx
push edi
call esi
call fcn.0048b7b0
cmp ebp, eax
jb 0x45f77d
call fcn.0048b7b0
cmp eax, 1
ja 0x45f838
and dword [esp + 0x10], 0
mov edx, dword [str.Albanian_sq]
jmp 0x45f813
lea ecx, [esp + 0x20]
call fcn.0048b676
lea edx, [esp + 0x20]
lea ecx, [esp + 0x14]
call fcn.0043a228
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 + 0x49bab0]
test edx, edx
jne 0x45f7d2
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 [0x4c5a30], 0xffffffff
mov dword [esp + 0x10], eax
mov ebx, 0x150
jne 0x45f8a5
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0048ba1f
cmp dword [esp + 0x10], ebp
jbe 0x45f87f
push 0
push ebp
push ebx
push edi
call esi
mov ecx, dword [esp + 0x18]
cmp ecx, eax
je 0x45f89f
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x45f869
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jbe 0x45f8a5
push 0
push ebp
push ebx
push edi
call esi
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
je 0x45f89f
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x45f887
jmp 0x45f8a5
mov dword [0x4c5a30], ecx
xor ebp, ebp
cmp dword [esp + 0x10], ebp
jbe 0x45f8d0
push 0
push ebp
push ebx
push edi
call esi
cmp dword [0x4c5a30], eax
je 0x45f8c5
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x45f8ad
jmp 0x45f8d0
push 0
push ebp
push 0x14e
push edi
call esi
mov ecx, dword [esp + 0x14]
call fcn.004433ab
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x38
ret