Function at 0x48d000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58cd00
push eax
mov dword fs:[0], esp
sub esp, 0x5b4
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x1000000
cmp eax, ecx
je 0x48d048
push ecx
mov ecx, dword [esi + 4]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0
call fcn.00415b40
add esp, 8
test eax, eax
js 0x48d070
cmp dword [ebp - 0x10], 6
jb 0x48d070
mov eax, 1
jmp 0x48d072
xor eax, eax
mov byte [esi + 0x1ee8], al
test al, al
je 0x48d08a
mov edi, 0x81
mov dword [ebp - 0x10], 0x77
jmp 0x48d096
mov edi, 0x80
mov dword [ebp - 0x10], 0xfb
mov eax, dword [esi + 4]
push 0
push ecx
mov ecx, esp
push 0
push 0x5600184c
push 0
push ecx
mov dword [ecx], 0
mov ecx, esp
mov dword [ecx], 0x5e900c
push eax
lea ecx, [esi + 0x3e8]
call fcn.0047f240
mov ecx, dword [esi + 4]
push ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetMenu]
push eax
lea ecx, [esi + 0x3e8]
call fcn.00479bf0
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetMenu]
push 0
push 0
push 0
push ecx
movzx ecx, word [ebp - 0x10]
mov dword [esi + 0x1ef4], eax
mov eax, esp
mov dword [eax], ecx
lea ecx, [esi + 0x3e8]
mov dword [ebp - 0x40], esp
call fcn.00490e30
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esi + 4]
push 0xe800
push 0x5600096c
push 0
push edi
push eax
mov ecx, esi
call fcn.004773b0
push 0
push edi
push eax
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.004793f0
mov ecx, dword [0x5fd7bc]
mov eax, dword [esi + 4]
push 0
push ecx
push 0xe800
push eax
push 0x64
push 0x64
push 0
push 0
push 0x56002640
push 0
push str.ReBarWindow32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x48d17e
mov dword [ebp - 0x10], 0
jmp 0x48d1ba
xor ecx, ecx
lea edx, [ebp - 0x48]
push edx
push ecx
push 0x404
mov dword [ebp - 0x44], ecx
push eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x48], 0xc
mov dword [ebp - 0x44], ecx
call edi
test eax, eax
jne 0x48d1b4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp - 0x10], 0
jmp 0x48d1ba
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0
push 0
push 0x418
push eax
mov dword [esi + 0x2c], edx
call edi
push 0x4c
lea ecx, [ebp - 0x94]
push 0
push ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x98], 0x50
call fcn.00555020
add esp, 0xc
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x94], 0x371
mov dword [ebp - 0x90], 4
jle 0x48d213
mov dword [ebp - 0x90], 0x204
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push 0
push 0
push 0x40c
push eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x78], edx
call edi
add eax, 0xeb00
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], 0
test eax, eax
jle 0x48d28f
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
push ecx
dec eax
push eax
push 0x41d
push edx
call edi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x28]
push edx
push 0
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x14]
push 0x41d
push eax
mov dword [ebp - 0x70], ecx
call edi
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], ecx
jmp 0x48d2b6
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], ecx
lea edx, [ebp - 0x98]
push edx
push 0xffffffffffffffff
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
push 0x40a
push eax
call edi
test eax, eax
je 0x48d2f1
mov ecx, dword [ebp - 0x14]
push 0
push 0
push 0x455
push ecx
call edi
mov edx, dword [ebp - 0x14]
or eax, 0x10
push eax
push 0
push 0x454
push edx
call edi
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0x2c]
push 0
push 0
push 0x418
push ecx
mov dword [ebp - 0x10], eax
call edi
push 0x4c
lea edx, [ebp - 0x94]
push 0
push edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x98], 0x50
call fcn.00555020
add esp, 0xc
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x94], 0x371
mov eax, 4
jle 0x48d340
mov eax, 0x204
mov ecx, dword [ebp - 0x10]
push 0
or eax, 1
push 0
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x18]
push 0x40c
push ecx
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x78], eax
call edi
add eax, 0xeb00
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], 0
test eax, eax
jle 0x48d3c5
lea edx, [ebp - 0x28]
push edx
dec eax
push eax
mov eax, dword [ebp - 0x18]
push 0x41d
push eax
call edi
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
push 0
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x18]
push 0x41d
push ecx
mov dword [ebp - 0x70], edx
call edi
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], edx
jmp 0x48d3ec
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], edx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x98]
push eax
push 0xffffffffffffffff
push 0x40a
push ecx
call edi
test eax, eax
je 0x48d427
mov edx, dword [ebp - 0x18]
push 0
push 0
push 0x455
push edx
call edi
or eax, 0x10
push eax
mov eax, dword [ebp - 0x18]
push 0
push 0x454
push eax
call edi
mov eax, dword [0x5fd7c0]
push 0x80
lea edx, [ebp - 0x2b8]
push edx
push 0xe001
xor ecx, ecx
push eax
mov word [ebp - 0x2b8], cx
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esi + 4]
push 0xe801
push ecx
lea edx, [ebp - 0x2b8]
push edx
push 0x56000100
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
push 0x80
mov dword [esi + 0x30], eax
mov dword [esi + 0x5e0], eax
lea ecx, [ebp - 0x3b8]
push ecx
mov byte [esi + 0x1ee9], 1
mov edx, dword [0x5fd7c0]
push 0xe001
xor eax, eax
push edx
mov word [ebp - 0x3b8], ax
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esi + 0x5e0]
lea eax, [ebp - 0x3b8]
push eax
push pe_nt_image_headers32
push 0x40b
push ecx
call edi
mov edx, dword [0x5fd7bc]
mov eax, dword [esi + 0x5e0]
mov ecx, dword [0x5e9018]
push 0
push edx
mov edx, dword [0x5e9014]
push 0
mov edi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov eax, dword [0x5e9010]
sub ecx, eax
push ecx
mov ecx, dword [0x5e900c]
sub edx, ecx
push edx
push eax
push ecx
push 0x40000001
push 0
push str.msctls_progress32
push 0
call edi
push str.4CC7C91F_7758_4ece_8225_0D568ECCB3ED
push 0
push 0
mov dword [esi + 0x294], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
push 0x3e8
mov dword [esi + 0x1ef8], eax
mov eax, dword [esi + 4]
push 0
push eax
mov dword [esi + 0x1efc], 0
call dword [sym.imp.USER32.dll_SetTimer]
push 0xff00
push 0xe900
push 0
mov ecx, esi
call fcn.0048aad0
and byte [esi + 0x510], 0xfe
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
push ecx
mov dword [esi + 0x2c0], eax
lea ecx, [esi + 0x29c]
call fcn.004821a0
mov edx, dword [0x5fd7bc]
push 0
push edx
push 0x1ac
mov eax, 0x64
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], eax
mov eax, dword [esi + 0x2a0]
push eax
push 0x32
push 0x5a
push 0x32
push 0xa
push 0
push 0x5a30e0
push 0x59db40
push 0
mov dword [ebp - 0xb4], 0x32
mov dword [ebp - 0xb8], 0xa
call edi
mov eax, dword [esi + 8]
push eax
lea ecx, [esi + 0x3e8]
call fcn.004778a0
mov eax, dword [ebp - 0x18]
xor edi, edi
cmp eax, edi
je 0x48d5ef
mov ecx, 8
lea edx, [ebp - 0x44]
mov word [ebp - 0x40], cx
push edx
lea ecx, [esi + 0x27c]
mov dword [ebp - 0x44], eax
call fcn.00410d10
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x5f793c
call fcn.00418f10
mov ebx, eax
lea ecx, [ebp - 0x40]
lea eax, [esi + 0x244]
push ecx
lea ecx, [ebx + 4]
mov dword [ebp - 0x40], eax
call fcn.00425c60
lea eax, [ebp - 0x40]
lea edx, [esi + 0x248]
push eax
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x40], edx
call fcn.00425c60
push ecx
mov eax, esp
mov ecx, esi
mov dword [ebp - 0x40], esp
mov dword [eax], 7
call fcn.0048b4a0
mov edx, dword [0x5fd7c0]
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
push 0x80
lea ecx, [ebp - 0x1b8]
push ecx
mov eax, 0x64
push 0x8e
push edx
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
call ebx
mov eax, dword [esi + 4]
push 0
push ecx
mov ecx, esp
push 0x80
lea edi, [esi + 0x604]
mov dword [edi + 0x24], eax
mov dword [ecx], 0
push 0x94cf0000
lea ecx, [ebp - 0x1b8]
push ecx
push ecx
mov ecx, esp
lea edx, [ebp - 0xa8]
mov dword [ecx], edx
push eax
mov ecx, edi
call fcn.0047f380
cmp dword [edi + 0x28], 0
je 0x48d6c6
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
mov ecx, dword [edi + 4]
fldz
mov edx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
fstp dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
push eax
mov ecx, esi
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x24], 0xc8
mov dword [ebp - 0x20], 0x64
call fcn.0048cf60
mov edx, dword [0x5fd7c0]
push 0x80
lea ecx, [ebp - 0x1b8]
push ecx
push 0x128
push edx
call ebx
push edi
push ecx
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
push 0x80
mov dword [ebp - 0x20], 0xc8
mov dword [ebp - 0x1c], 0x32
mov dword [esi + 0x9f8], eax
mov dword [ecx], 0
push 0x84cf0000
lea ecx, [ebp - 0x1b8]
push ecx
push ecx
mov ecx, esp
lea edx, [ebp - 0x28]
mov dword [ecx], edx
push eax
lea ecx, [esi + 0x9d4]
call fcn.0047f400
cmp dword [esi + 0x9fc], 0
je 0x48d79d
mov eax, dword [esi + 0x9d4]
mov edx, dword [eax + 0x10]
lea ecx, [esi + 0x9d4]
call edx
mov ecx, dword [esi + 4]
fldz
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
fstp dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x9d8]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
push edx
mov ecx, esi
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0xc8
mov dword [ebp - 0x20], 0x2d
call fcn.0048cf60
cmp dword [0x5f7bf0], 0
jne 0x48d8d0
push pe_nt_image_headers32
lea eax, [ebp - 0x1b8]
push 0
push eax
call fcn.00555020
mov edx, dword [0x5fd7c0]
add esp, 0xc
push 0x80
lea ecx, [ebp - 0x1b8]
push ecx
push 0x9a
push edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [0x5f5774]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f5774
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, 1
mov dword [ebp - 4], edi
mov eax, dword [0x5f7bf4]
xor ecx, ecx
test eax, eax
sets cl
lea edx, [ebp - 0x1b8]
dec ecx
and ecx, eax
push ecx
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.004060d0
mov ebx, dword [ebp - 0x10]
add esp, 0xc
cmp dword [ebx - 4], edi
jle 0x48d891
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov ebx, dword [ebp - 0x10]
mov edx, dword [esi + 4]
push ebx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x1ef0]
push eax
call fcn.00407d40
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48d8e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x48d8e2
push 8
lea ecx, [esi + 0x1ef0]
push 0x5a150c
call fcn.00405e50
mov ecx, dword [esi + 4]
push 0
push 0
push 0x402
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esi + 0x24c]
call fcn.00477a00
mov edx, dword [0x5fd7c0]
push 0x2040
push 0
push 0xff000000
push 1
push 0x10
push 0xe5
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
mov dword [esi + 0x278], eax
mov dword [0x5f7664], esi
call fcn.005096c0
mov ebx, eax
push 0x14
xor eax, eax
mov edi, 7
push str.StaffcopCheckUpdates
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
call fcn.00407db0
mov dword [ebp - 4], 3
push 0
lea ecx, [ebp - 0x34]
push ecx
push 1
mov ecx, ebx
call fcn.00509210
test eax, eax
sete bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 8
jb 0x48d98d
mov edx, dword [ebp - 0x34]
push edx
call fcn.00553d26
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
test bl, bl
je 0x48d9ba
push eax
push eax
push eax
push 0x48b7a0
push eax
push eax
call fcn.00556b34
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00473310
cmp dword [0x5f7934], 0
je 0x48d9e3
push 0x5f7934
push 0
push 0
push 0
mov ecx, esi
call fcn.00480cd0
push 1
call fcn.0055a59c
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x5be]
push edx
mov word [ebp - 0x5c0], cx
call fcn.00555020
lea eax, [ebp - 0x5c0]
push 0x104
push eax
call fcn.0050a540
add esp, 0x14
test eax, eax
je 0x48daf1
lea ecx, [ebp - 0x5c0]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040bfb0
mov dword [ebp - 4], 4
push 0x59f294
lea ecx, [ebp - 0x14]
call fcn.004343a0
push str.SCFNT.TTF
lea ecx, [ebp - 0x40]
call fcn.0040b4f0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00425d90
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48da85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x48da9d
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403bd0
mov eax, dword [ebp - 0x10]
push 0
push 0x10
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceExW]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48dacb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48daf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.GlobalRUN_6B2E1794_EC2D_4F22_A72D_84DF470DCF8A
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x298], eax
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10