Function at 0x404f70
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x428040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x640], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x620], ax
mov dword [0x428bac], 3
movzx eax, word [ebp - 0x620]
and eax, 0x3ff
cmp eax, 4
je 0x404ff4
movzx ecx, word [ebp - 0x620]
and ecx, 0x3ff
mov dword [ebp - 0x630], ecx
cmp dword [ebp - 0x630], 9
je 0x404fe8
cmp dword [ebp - 0x630], 0x11
je 0x404fdc
jmp 0x404ff2
mov dword [0x428bac], 1
jmp 0x404ff2
mov dword [0x428bac], 2
jmp 0x405031
movzx edx, word [ebp - 0x620]
mov dword [ebp - 0x634], edx
cmp dword [ebp - 0x634], 0x404
je 0x40501b
cmp dword [ebp - 0x634], 0xc04
je 0x40501b
jmp 0x405027
mov dword [0x428bac], 4
jmp 0x405031
mov dword [0x428bac], 3
push str.Updater_for_LipTrip_is_executing.
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x648], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40538e
push 0x428bb0
call fcn.00402620
add esp, 4
test eax, eax
je 0x40535f
push str.Buriko_General_Interpreter_for_LipTrip_is_executing.
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x644], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40532a
mov dword [ebp - 0x62c], 0
xor eax, eax
je 0x4050bb
push str.LipTrip
push str.SukeraSomero
lea ecx, [ebp - 0x61c]
push ecx
call fcn.00402760
add esp, 0xc
mov dword [ebp - 0x62c], eax
jmp 0x405126
lea edx, [ebp - 0x61c]
push edx
call fcn.004036f0
add esp, 4
mov dword [ebp - 0x64c], eax
cmp dword [ebp - 0x64c], 0
jne 0x4050e5
mov dword [ebp - 0x638], 1
jmp 0x4050ef
mov dword [ebp - 0x638], 0
mov eax, dword [ebp - 0x638]
mov dword [ebp - 0x62c], eax
cmp dword [ebp - 0x62c], 0
jne 0x405110
mov dword [ebp - 0x63c], 1
jmp 0x40511a
mov dword [ebp - 0x63c], 0
mov ecx, dword [ebp - 0x63c]
mov dword [ebp - 0x640], ecx
mov edx, 1
test edx, edx
je 0x405165
cmp dword [ebp - 0x62c], 0
je 0x405165
lea eax, [ebp - 0x61c]
push eax
call fcn.00402cb0
add esp, 4
test eax, eax
je 0x405158
movsx ecx, word [0x4294dc]
mov dword [0x428bac], ecx
push 0x428bb0
call fcn.00402620
add esp, 4
cmp dword [ebp - 0x62c], 0
je 0x405308
push 0x124
push 0x428bb0
push 3
call fcn.00402940
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4052fc
push 0
push 0x402140
push 0
push 0x66
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x428ba0], eax
cmp dword [0x428ba0], 0
je 0x4052dd
call fcn.00401c10
push 0x428bb0
mov eax, dword [0x428ba0]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [0x428ba0]
push ecx
call fcn.004020a0
add esp, 4
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [0x428ba0]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x61c]
push ecx
call fcn.00403bc0
add esp, 4
mov dword [ebp - 0x628], eax
cmp dword [0x428ba0], 0
je 0x405229
mov edx, dword [0x428ba0]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x428ba0], 0
mov eax, dword [ebp - 0x628]
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0x80000003
ja 0x405270
cmp dword [ebp - 0x624], 0x80000003
je 0x40529f
cmp dword [ebp - 0x624], 0
je 0x40528a
cmp dword [ebp - 0x624], 0x80000001
je 0x40529f
cmp dword [ebp - 0x624], 0x80000002
je 0x40529f
jmp 0x4052d6
cmp dword [ebp - 0x624], 0x80000004
je 0x4052b4
cmp dword [ebp - 0x624], 0x80000005
je 0x4052c9
jmp 0x4052d6
push 0xa
call fcn.00402940
add esp, 4
push eax
call fcn.004022a0
add esp, 4
jmp 0x4052d6
push 0xb
call fcn.00402940
add esp, 4
push eax
call fcn.00402280
add esp, 4
jmp 0x4052d6
push 0xc
call fcn.00402940
add esp, 4
push eax
call fcn.00402280
add esp, 4
jmp 0x4052d6
push 0x4202ec
call fcn.00402280
add esp, 4
call fcn.00401ba0
jmp 0x4052fa
push 0xd
call fcn.00402940
add esp, 4
push eax
call fcn.00402280
add esp, 4
mov dword [ebp - 0x628], 0xfffffffc
jmp 0x405306
mov dword [ebp - 0x628], 0xfffffffd
jmp 0x405328
cmp dword [ebp - 0x640], 0
jne 0x40531e
push 0x420324
call fcn.00402280
add esp, 4
mov dword [ebp - 0x628], 0xffffffff
jmp 0x405347
push 0xe
call fcn.00402940
add esp, 4
push eax
call fcn.00402280
add esp, 4
mov dword [ebp - 0x628], 0xfffffffe
cmp dword [ebp - 0x644], 0
je 0x40535d
mov ecx, dword [ebp - 0x644]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40538e
push 0xf
call fcn.00402940
add esp, 4
push eax
push 0x428bb0
call fcn.0040b87b
add esp, 8
push 0x42035c
call fcn.00402280
add esp, 4
mov dword [ebp - 0x628], 0xfffffffb
cmp dword [ebp - 0x648], 0
je 0x4053a4
mov edx, dword [ebp - 0x648]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x628]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004067d3
mov esp, ebp
pop ebp
ret 0x10