Function at 0x4e5eb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6564e6
push eax
mov dword fs:[0], esp
sub esp, 0xd8c
push ebx
push esi
push edi
mov edi, ecx
push 0
lea ecx, [edi + 4]
call fcn.00402160
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x42c
push eax
call ebx
mov ecx, dword [edi + 4]
push 0x525
push ecx
mov dword [edi + 0x30c], eax
call ebx
test eax, eax
je 0x4e5fdf
push eax
lea ecx, [edi + 0x314]
call fcn.00526960
push 0x676178
push 0x141
lea ecx, [edi + 0x314]
call fcn.00534900
test eax, eax
je 0x4e5fdf
mov eax, dword [edi + 0x30c]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [ebp - 0x54]
push edx
push eax
call ebx
mov edx, dword [edi + 0x318]
lea ecx, [ebp - 0x24]
push ecx
push edx
call ebx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov ebx, ecx
sub eax, ecx
add eax, edx
sub ebx, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
sar ecx, 1
sub eax, dword [ebp - 0x18]
add ecx, dword [ebp - 0x54]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x50]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x20], eax
add eax, dword [ebp - 0x30]
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 4]
add ecx, ebx
push eax
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x4e5fbc
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push 1
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x24]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x318]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [edi + 4]
mov ebx, 1
push ecx
mov dword [edi + 0x3b4], ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
lea ecx, [edi + 4]
call fcn.00402160
push 0x1b
lea ecx, [edi + 0x3c0]
push str.C:Program_filesTempFolder
call fcn.00401670
xor edx, edx
push 0x7fe
push edx
lea eax, [ebp - 0xd96]
push eax
mov word [ebp - 0xd98], dx
call fcn.006100a0
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], 0x800
call fcn.005bd6c0
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0x10
lea edx, [ebp - 0x44]
push edx
push 0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x675e78
push ecx
call esi
lea edx, [ebp - 0x44]
push edx
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xd98]
push eax
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0x675e78
push edx
call esi
test eax, eax
jne 0x4e60cf
lea esi, [edi + 0x37d0]
push 0x66f16a
mov ecx, esi
call fcn.00405830
lea eax, [ebp - 0xd98]
lea edx, [eax + 2]
jmp 0x4e60a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e60a0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xd98]
push eax
mov ecx, esi
call fcn.00401710
lea ecx, [edi + 0x37d4]
push esi
call fcn.004078d0
jmp 0x4e61d6
lea ecx, [ebp - 0x13c]
push ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x4e61d6
push 0x400
lea edx, [ebp - 0xd98]
push edx
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
push 0x66f16a
lea ecx, [edi + 0x37d0]
call fcn.00405830
lea eax, [ebp - 0xd98]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e6116
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0xd98]
push ecx
lea ecx, [edi + 0x37d0]
call fcn.00401710
push ebx
push 0
lea ecx, [edi + 0x37d0]
call fcn.00448080
mov edx, dword [edi + 0x37d0]
mov eax, dword [edx - 0xc]
push ebx
dec eax
push eax
lea ecx, [edi + 0x37d0]
call fcn.00448080
mov eax, dword [edi + 0x37d0]
cmp dword [eax - 0xc], 0
jl 0x4e61ba
push 0x671558
push eax
call fcn.00612c90
add esp, 8
test eax, eax
je 0x4e61ba
sub eax, dword [edi + 0x37d0]
sar eax, 1
js 0x4e61ba
push ebx
push eax
lea ecx, [edi + 0x37d0]
call fcn.00448080
mov eax, dword [edi + 0x37d0]
cmp dword [eax - 0xc], 0
jl 0x4e61ba
push 0x671558
push eax
call fcn.00612c90
add esp, 8
test eax, eax
je 0x4e61ba
sub eax, dword [edi + 0x37d0]
sar eax, 1
jns 0x4e6185
mov esi, dword [edi + 0x37d0]
mov eax, dword [esi - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push esi
push 0x675e78
push eax
call fcn.005bd5a0
add esp, 0x10
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [ebp - 0x396]
push edx
mov word [ebp - 0x398], cx
call fcn.006100a0
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x596]
push ecx
mov word [ebp - 0x598], ax
call fcn.006100a0
mov eax, dword [ebp - 0x10]
push 0x100
lea edx, [ebp - 0x398]
push edx
push str.rinstlog
push eax
call fcn.005bd4f0
mov edx, dword [ebp - 0x10]
push 0x100
lea ecx, [ebp - 0x598]
push ecx
push str.rinstpass
push edx
call fcn.005bd4f0
lea eax, [ebp - 0x398]
add esp, 0x38
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e6250
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x398]
lea ecx, [edi + 0x3c4]
push eax
call fcn.00401670
lea eax, [ebp - 0x598]
lea edx, [eax + 2]
jmp 0x4e6280
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e6280
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x598]
lea ecx, [edi + 0x3c8]
push edx
call fcn.00401670
mov eax, dword [edi + 4]
push 0x461
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x4e630a
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x28]
push ecx
push str.chkEmpty
push edx
call fcn.005bd3d0
add esp, 0xc
push 0
test eax, eax
jne 0x4e62ee
push 1
push 0xf1
push esi
call ebx
mov dword [edi + 0x37d8], 2
jmp 0x4e630a
mov eax, dword [ebp - 0x28]
push eax
push 0xf1
push esi
call ebx
mov ecx, dword [ebp - 0x28]
neg ecx
sbb ecx, ecx
add ecx, 3
mov dword [edi + 0x37d8], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi + 0x258]
test eax, eax
je 0x4e6322
mov ebx, edi
jmp 0x4e6324
xor ebx, ebx
mov eax, dword [edi + 0x3c4]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
mov eax, dword [ebx + 4]
push 0x440
push eax
call esi
test eax, eax
jne 0x4e6375
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add ebx, 0x258
je 0x4e6358
lea eax, [ebx - 0x258]
jmp 0x4e635a
xor eax, eax
push 0x440
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4e649d
lea ebx, [edi + 0x258]
test ebx, ebx
je 0x4e6387
add ebx, 0xfffffda8
jmp 0x4e6389
xor ebx, ebx
mov eax, dword [edi + 0x3c8]
mov edx, dword [ebx + 4]
push eax
push 0x43f
push edx
call esi
test eax, eax
jne 0x4e63d4
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add ebx, 0x258
je 0x4e63b7
lea eax, [ebx - 0x258]
jmp 0x4e63b9
xor eax, eax
mov eax, dword [eax + 4]
push 0x43f
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4e649d
lea eax, [edi + 0x258]
test eax, eax
je 0x4e63e2
mov ebx, edi
jmp 0x4e63e4
xor ebx, ebx
mov eax, dword [edi + 0x37d0]
mov ecx, dword [ebx + 4]
push eax
push 0x3f2
push ecx
call esi
test eax, eax
jne 0x4e642c
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add ebx, 0x258
je 0x4e6412
lea eax, [ebx - 0x258]
jmp 0x4e6414
xor eax, eax
mov edx, dword [eax + 4]
push 0x3f2
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4e649d
lea eax, [edi + 0x258]
test eax, eax
je 0x4e643a
mov ebx, edi
jmp 0x4e643c
xor ebx, ebx
mov eax, dword [edi + 0x37d4]
push eax
mov eax, dword [ebx + 4]
push 0x3f8
push eax
call esi
test eax, eax
jne 0x4e647e
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
add ebx, 0x258
je 0x4e6472
lea eax, [ebx - 0x258]
push 0x3f8
jmp 0x4e635f
xor eax, eax
push 0x3f8
jmp 0x4e635f
push 0
push 0
push 0
push 4
lea edx, [edi + 0x25c]
push edx
push 0x43e
lea ecx, [edi + 0x258]
call fcn.004ddbc0
mov eax, dword [edi + 4]
push 0x3f2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4e64ce
push 0
push 0x100
push 0xc5
push esi
call ebx
mov ecx, dword [edi + 4]
push 0x3f8
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e64f9
push 0
push 0x100
push 0xc5
push esi
call ebx
mov edx, dword [edi + 4]
push 0x43e
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4e695d
push 0
push 0
push 0x146
push eax
call ebx
test eax, eax
jne 0x4e695d
mov eax, dword [edi + 0x260]
mov ecx, dword [eax + 0x320]
mov eax, dword [eax + 0x31c]
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
cmp eax, ecx
je 0x4e6948
add eax, 0x20
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
mov dl, byte [ecx]
mov esi, dword [ebp - 0x28]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esi - 0x1c]
xor eax, eax
push ecx
lea ecx, [ebp - 0xc8]
mov byte [ebp - 0xcc], dl
mov dword [ebp - 0xb4], 7
mov dword [ebp - 0xb8], ebx
mov word [ebp - 0xc8], ax
call fcn.004077d0
mov dword [ebp - 4], ebx
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xac], edx
mov edx, dword [esi + 0xc]
lea eax, [esi + 0x10]
mov dword [ebp - 0xa4], ecx
push eax
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
call fcn.004570d0
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], edx
mov dword [ebp - 4], 2
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0043b590
mov byte [ebp - 4], 3
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x4e6600
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
push eax
push ebx
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x4c], esi
jb 0x4e6629
mov edx, dword [ebp - 0x60]
push edx
call fcn.0060faf6
add esp, 4
mov esi, dword [edi + 0x260]
mov ecx, dword [esi + 0x368]
xor eax, eax
push eax
push 9
add esi, 0x368
push 0x110a
push ecx
mov dword [ebp - 0x4c], 7
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x700724]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], esi
mov ecx, dword [edi + 0x260]
mov dword [ebp - 0x18], esp
call fcn.00445380
test eax, eax
je 0x4e669d
lea ecx, [ebp - 0x14]
push ecx
push ebx
jmp 0x4e66cf
sub esp, 8
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], esi
mov ecx, dword [edi + 0x260]
mov dword [ebp - 0x18], esp
call fcn.004453b0
test eax, eax
je 0x4e66d6
mov edx, dword [esi]
push ebx
push 3
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.00436da0
lea edx, [ebp - 0x104]
push edx
lea ecx, [ebp - 0xcc]
call fcn.0043b590
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x4e66f4
mov eax, dword [eax]
mov ebx, dword [ebp - 0x14]
test eax, eax
jne 0x4e6700
or esi, 0xffffffff
jmp 0x4e6724
cmp dword [ebx - 0xc], 0
jge 0x4e670b
or esi, 0xffffffff
jmp 0x4e6724
push eax
push ebx
call fcn.00612c90
add esp, 8
test eax, eax
jne 0x4e671e
or esi, 0xffffffff
jmp 0x4e6724
sub eax, ebx
sar eax, 1
mov esi, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0xf0], 8
jb 0x4e6740
mov eax, dword [ebp - 0x104]
push eax
call fcn.0060faf6
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xf0], 7
mov dword [ebp - 0xf4], 0
mov word [ebp - 0x104], cx
test esi, esi
jne 0x4e6900
cmp dword [ebp - 0x2c], ecx
jge 0x4e6900
lea edx, [ebp - 0xe8]
push edx
lea ecx, [ebp - 0xcc]
call fcn.0043b590
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x4e678c
mov eax, dword [eax]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e6790
sub eax, edx
sar eax, 1
mov esi, eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0xd4], 8
jb 0x4e67bd
mov eax, dword [ebp - 0xe8]
push eax
call fcn.0060faf6
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xd4], 7
mov dword [ebp - 0xd8], 0
mov word [ebp - 0xe8], cx
cmp dword [ebx - 0xc], esi
jne 0x4e6807
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 2
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e6920
mov ecx, dword [eax]
push eax
jmp 0x4e6919
mov eax, dword [ebx - 0xc]
inc esi
sub eax, esi
push eax
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00427cb0
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x14]
call fcn.004078d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e684a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x80]
call fcn.00425980
mov byte [ebp - 4], 0xb
xor esi, esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x84], esi
mov byte [ebp - 4], 0xc
push 0x100
lea ecx, [ebp - 0x12c]
call fcn.00405400
mov byte [ebp - 4], 0xd
push 1
push str._____0_9_____0_9_____
lea ecx, [ebp - 0x84]
call fcn.0040a500
mov ebx, dword [ebp - 0x14]
push esi
lea ecx, [ebp - 0x12c]
push ecx
push ebx
lea ecx, [ebp - 0x84]
call fcn.00406560
test eax, eax
je 0x4e68b6
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x118]
call fcn.00426860
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x11c]
push eax
call fcn.00611a0b
mov dword [ebp - 0x11c], esi
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.00611a0b
add esp, 8
mov dword [ebp - 0x120], esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00426860
mov byte [ebp - 4], 2
add ebx, 0xfffffff0
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4e6920
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.0043ea60
mov eax, dword [ebp - 0x34]
add dword [ebp - 0x28], 0x48
add eax, 0x48
mov dword [ebp - 0x34], eax
cmp eax, dword [ebp - 0x38]
jne 0x4e6554
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
push 0
push ecx
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x7143fc
call fcn.00448530
lea ecx, [edi + 0x23c]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], ecx
push edx
lea ecx, [eax + 4]
call fcn.00594900
push 4
push 4
push 0x20
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [edi + 0x310], eax
mov eax, dword [0x716738]
push 0x3f48
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov ecx, dword [edi + 0x310]
push 0
mov esi, eax
push esi
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [edi + 0x310]
mov eax, dword [edi + 0x30c]
push edx
push 0
push 0x1109
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call esi
mov edx, dword [edi + 4]
push 0x4269
push edx
call ebx
push 0
push eax
call esi
mov byte [0x6f6e59], 0
cmp dword [edi + 0x258], 0x435
jne 0x4e6a2f
push 0
push 0xffff0000
mov ecx, edi
call fcn.004e5870
cmp dword [edi + 0x258], 0x3a98
jne 0x4e6a4e
mov eax, dword [edi + 4]
push 0
push 0x12c
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [edi + 4]
push 0x32b
push ecx
call ebx
mov esi, eax
test esi, esi
je 0x4e6a87
cmp byte [edi + 0x26c], 0
je 0x4e6a87
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e6a87
push 0
push 1
push 0xf1
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
jmp 0x4e6a8d
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
test eax, eax
je 0x4e6aaf
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
mov edx, 4
push eax
lea ecx, [edi + 0x240]
mov word [ebp - 0x18], dx
call fcn.00459540
mov ecx, edi
call fcn.004dd1d0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [ebp - 0x198]
push ecx
push 0x5c
push eax
mov dword [edi + 0x264], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea edx, [ebp - 0x198]
push edx
mov dword [ebp - 0x188], 0x258
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [edi + 0x264], eax
mov eax, dword [edi + 4]
push 0x3e80
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e6b20
mov ecx, dword [edi + 4]
push 0x3e80
push ecx
call ebx
mov edx, dword [edi + 0x264]
push 1
push edx
push 0x30
push eax
call esi
mov eax, dword [edi + 4]
push 0x508
push eax
call ebx
mov dword [edi + 0x37e8], eax
mov ecx, dword [edi + 4]
push 0x509
push ecx
call ebx
mov dword [edi + 0x37ec], eax
mov eax, dword [edi + 0x37e8]
test eax, eax
je 0x4e6be2
cmp dword [edi + 0x37ec], 0
je 0x4e6be2
push 0
push 1
push 0xf1
push eax
call esi
mov edx, dword [edi + 0x37ec]
push 0x676104
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [edi + 0x37e8]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push ecx
call esi
mov eax, dword [edi + 0x37ec]
lea edx, [ebp - 0x54]
push edx
push eax
call esi
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x54]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [ebp - 0x24]
push edx
push eax
mov dword [ebp - 0x1c], ecx
call esi
test eax, eax
je 0x4e6bbf
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x1c]
push ecx
push edx
call esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
push 1
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x24]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x37e8]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword [edi + 0x270], eax
mov dword [edi + 0x274], eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10