Function at 0x416058
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469a73
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x154], 0
cmp edi, 0x112
ja 0x415fd1
je 0x415eef
lea eax, [edi - 1]
cmp eax, 0x83
ja case.0x415fe0.3026
movzx eax, byte [eax + 0x4161d8]
jmp dword [eax*4 + 0x4161c8]
push 0xfffffffffffffff0
call fcn.00403480
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff3fffff
mov ecx, ebx
or eax, 0x6000000
push eax
push 0xfffffffffffffff0
call fcn.00403480
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push dword [ebx + 4]
lea esi, [ebx + 0x14]
mov ecx, esi
call fcn.0043095a
lea ecx, [ebp - 0x150]
call fcn.0043339a
push 0
push esi
push 0
push 0
push ecx
mov eax, esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x150]
mov dword [eax], str.Update.xml
call fcn.00433f97
push eax
mov ecx, esi
call fcn.004302d7
mov ecx, ebx
lea eax, [ebx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, esi
call fcn.004301ff
push str.verlayout_checking
mov ecx, esi
call fcn.0043043c
mov dword [ebx + 0x2c4], eax
mov ecx, eax
push 1
mov edx, dword [eax]
call dword [edx + 0xcc]
push str.verlayout_progress
mov ecx, esi
call fcn.0043043c
mov dword [ebx + 0x2c8], eax
mov ecx, eax
push 0
mov edx, dword [eax]
call dword [edx + 0xcc]
push str.update_progress
mov ecx, esi
call fcn.0043043c
mov ecx, ebx
mov dword [ebx + 0x2c0], eax
call fcn.0042f205
push 0
push 0
push 0xbd6
mov ecx, ebx
call fcn.0042f5d9
lea ecx, [ebp - 0x150]
mov dword [ebp - 4], 0xffffffff
call fcn.00434dc7
mov eax, dword [ebp - 0x154]
jmp 0x4161a8
push ecx
push dword [ebp + 0x10]
sub esp, 8
call fcn.00403aa0
mov dword [ebp - 0x154], eax
jmp 0x4161a8
lea ecx, [ebx + 0x14]
call fcn.0043094f
test eax, eax
je 0x416194
push dword [ebx + 4]
lea ecx, [ebx + 0x14]
call fcn.0043094f
mov ecx, eax
call fcn.004374a8
mov eax, dword [ebp - 0x154]
jmp 0x4161a8
cmp dword [ebp + 0xc], 0xf060
jne 0x415f0f
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor edi, edi
mov dword [ebp - 0x154], edi
mov eax, edi
jmp 0x4161a8
call fcn.00403480
mov esi, dword [sym.imp.USER32.dll_IsZoomed]
push eax
call esi
push dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebp - 0x158], eax
push dword [ebp + 0xc]
push edi
call fcn.0042f4b4
mov ecx, ebx
mov edi, eax
call fcn.00403480
push eax
call esi
mov ecx, dword [ebp - 0x158]
cmp eax, ecx
je 0x415fc4
add ebx, 0x14
test ecx, ecx
push str.box_btn_max
mov ecx, ebx
jne 0x415f93
call fcn.0043043c
test eax, eax
je 0x415f6a
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0xcc]
push str.box_btn_restore
mov ecx, ebx
call fcn.0043043c
test eax, eax
je 0x415fc4
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0xcc]
mov dword [ebp - 0x154], edi
mov eax, edi
jmp 0x4161a8
call fcn.0043043c
test eax, eax
je 0x415fa8
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0xcc]
push str.box_btn_restore
mov ecx, ebx
call fcn.0043043c
test eax, eax
je 0x415fc4
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0xcc]
mov dword [ebp - 0x154], edi
mov eax, edi
jmp 0x4161a8
lea eax, [edi - 0xbd0]
cmp eax, 6
ja case.0x415fe0.3026
jmp dword [eax*4 + 0x41625c]
cmp dword [ebx + 0x2c0], 0
je 0x416194
lea ecx, [ebp - 0x58]
call fcn.0042e48f
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x58]
push edi
push str._d__
push eax
mov dword [ebp - 4], 1
call fcn.0042eb1f
mov eax, dword [ebx + 0x2c0]
lea ecx, [ebp - 0x58]
add esp, 0xc
mov esi, dword [eax]
call fcn.0042e701
mov ecx, dword [ebx + 0x2c0]
push eax
call dword [esi + 0x2c]
mov ecx, dword [ebx + 0x2c0]
push edi
call fcn.00444752
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0042e585
mov eax, dword [ebp - 0x154]
jmp 0x4161a8
lea eax, [ebp - 0x158]
mov dword [ebp - 0x158], 0
push eax
push 0
push 0
push 0x416290
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x154]
jmp 0x4161a8
push dword [ebp + 0xc]
call fcn.00416570
mov eax, dword [ebp - 0x154]
jmp 0x4161a8
push str.lbe_checkversion
lea ecx, [ebx + 0x14]
call fcn.0043043c
mov ecx, dword [0x488fa8]
mov esi, eax
test ecx, ecx
je 0x416194
test esi, esi
je 0x416194
lea eax, [ebp - 0xa0]
push eax
call fcn.0042b2d0
push eax
mov ecx, 0x488ff0
mov dword [ebp - 4], 2
call fcn.0042e5fe
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.0042e585
mov ecx, 0x488ff0
call fcn.0042ece7
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2c]
mov ecx, esi
test al, al
je 0x416120
push 0x4787a0
call edx
mov eax, dword [ebp - 0x154]
jmp 0x4161a8
push 0x4787b8
call edx
push 0x44
push 0x477e44
push 0x4787c8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x416194
mov ecx, dword [ebx + 0x2c4]
push 0
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov ecx, dword [ebx + 0x2c8]
push 1
mov eax, dword [ecx]
call dword [eax + 0xcc]
push 0
push 0
push 0xbd0
mov ecx, ebx
call fcn.0042f5d9
mov eax, dword [ebp - 0x154]
jmp 0x4161a8
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x154]
push eax
push esi
push dword [ebp + 0xc]
lea ecx, [ebx + 0x14]
push edi
call fcn.00430b4e
test al, al
je 0x41619c
mov eax, dword [ebp - 0x154]
jmp 0x4161a8
push esi
push dword [ebp + 0xc]
mov ecx, ebx
push edi
call fcn.0042f4b4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004662d8
mov esp, ebp
pop ebp
ret 0xc