Function at 0x403f6f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x94], 0
call dword [sym.imp.USER32.dll_GetDialogBaseUnits]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
and eax, 0xffff
add eax, 1
cdq
sub eax, edx
sar eax, 1
mov word [ebp - 0x154], ax
mov eax, dword [ebp - 0x180]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
add eax, 1
cdq
sub eax, edx
sar eax, 1
mov word [ebp - 0x16c], ax
push 0x3f3
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x158], eax
push 0
push 0
push 0x31
push 0x3f3
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x130], eax
push 0x64
lea ecx, [ebp - 0x90]
push ecx
push 0x3f7
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x64
lea eax, [ebp - 0x90]
push eax
push 0x407
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x140]
push edx
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x90]
push ecx
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea eax, [ebp - 0xb4]
push eax
push 0x3f2
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0xa8]
sub edx, dword [ebp - 0xb0]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xa8]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0xac], edx
cmp dword [ebp - 0xac], 0x2a
jle 0x4040fb
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x1fc], eax
jmp 0x404105
mov dword [ebp - 0x1fc], 0x2a
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
lea eax, [edx*8 + 0x8a]
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x16c]
and ecx, 0xffff
imul ecx, ecx, 7
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov edx, dword [ebp - 0xb0]
imul edx, edx, 3
lea eax, [ecx + edx + 0xb7]
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
imul ecx, ecx, 3
add ecx, 0xd4
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0x16c]
and edx, 0xffff
lea eax, [edx + edx + 0x38]
mov dword [ebp - 0xb8], eax
push 0x64
lea ecx, [ebp - 0x90]
push ecx
push 0x401
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push 0x64
lea ecx, [ebp - 0x90]
push ecx
push 0x403
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x148]
jle 0x404239
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x144]
jle 0x40424d
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x144], ecx
push str.10.00_10.00_10.00
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x148]
lea eax, [edx + ecx + 6]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x16c]
and ecx, 0xffff
imul ecx, ecx, 3
mov edx, dword [ebp - 0x144]
imul edx, edx, 3
lea eax, [ecx + edx - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0xbc]
cmp edx, dword [ebp - 0x9c]
jle 0x4042e0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x9c]
jle 0x4042f4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x154]
and eax, 0xffff
add eax, 2
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x14c], 0
push 1
push 0x2a
push 0x2a
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x150]
push edx
push 0x3ed
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [ebp - 0x2c]
push ecx
push 0x3ec
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x9c]
sub ecx, 0x2a
mov edx, dword [ebp - 0x154]
and edx, 0xffff
sub ecx, edx
push ecx
mov eax, 0x2a
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
add ecx, eax
push ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 0x2a]
push ecx
push 0x3ec
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x154]
and eax, 0xffff
add eax, 2
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
lea edx, [ecx + eax + 0x25]
mov dword [ebp - 0x14c], edx
push 1
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x150]
push eax
push 0x3e8
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0x154]
and edx, 0xffff
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx*2]
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0x16c]
and edx, 0xffff
mov eax, dword [ebp - 0x14c]
lea ecx, [eax + edx - 3]
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
shl edx, 2
mov eax, dword [ebp - 0x9c]
sub eax, edx
sub eax, 0x8a
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x154]
and eax, 0xffff
imul eax, eax, 3
cmp dword [ebp - 0xa4], eax
jle 0x4044ec
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
imul ecx, ecx, 0xa
mov eax, dword [ebp - 0x9c]
sub eax, ecx
sub eax, 0x8a
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 1
push 1
push 0x2a
push 0x2a
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x150]
push eax
push 0x410
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea edx, [ebp - 0x2c]
push edx
push 0x411
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
shl edx, 2
mov ecx, dword [ebp - 0x9c]
sub ecx, edx
sub ecx, 0x2a
mov eax, dword [ebp - 0x154]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
mov eax, 0x2a
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x14c]
add edx, eax
push edx
mov eax, dword [ebp - 0x154]
and eax, 0xffff
mov ecx, dword [ebp - 0x150]
lea edx, [ecx + eax + 0x2a]
push edx
push 0x411
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
lea edx, [ecx + eax + 0x25]
mov dword [ebp - 0x14c], edx
push 1
push 0x2a
push 0x2a
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
push 0x412
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ebp - 0x2c]
push eax
push 0x413
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x154]
and eax, 0xffff
shl eax, 2
mov ecx, dword [ebp - 0x9c]
sub ecx, eax
sub ecx, 0x2a
mov eax, dword [ebp - 0x154]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
mov eax, 0x2a
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x14c]
add edx, eax
push edx
mov eax, dword [ebp - 0x154]
and eax, 0xffff
mov ecx, dword [ebp - 0x150]
lea edx, [ecx + eax + 0x2a]
push edx
push 0x413
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
lea edx, [ecx + eax + 0x27]
mov dword [ebp - 0x14c], edx
push 1
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
add eax, 0x31
push eax
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
shl ecx, 2
mov edx, dword [ebp - 0x9c]
sub edx, ecx
push edx
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
push 0x3e9
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x14c], edx
cmp dword [ebp - 4], 0
je 0x40474c
mov eax, dword [ebp - 0x154]
and eax, 0xffff
imul eax, eax, 3
mov ecx, dword [ebp - 0x150]
add ecx, eax
mov dword [ebp - 0x150], ecx
jmp 0x40475e
mov edx, dword [ebp - 0x150]
add edx, dword [ebp - 0xa4]
mov dword [ebp - 0x150], edx
push 1
push 0x2e
push 0x2e
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
push 0x3ea
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x150]
lea edx, [ecx + eax + 0x2e]
mov dword [ebp - 0x150], edx
push 1
push 0x2e
push 0x2e
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
push 0x3eb
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x150]
lea edx, [ecx + eax + 0x2e]
mov dword [ebp - 0x150], edx
push 1
push 0x2e
push 0x2e
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
push 0x3f0
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x154]
and eax, 0xffff
imul eax, eax, 3
add eax, 2
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x16c]
and ecx, 0xffff
mov edx, dword [ebp - 0x14c]
lea eax, [edx + ecx + 0x2c]
mov dword [ebp - 0x14c], eax
push 1
push 0x2a
push 0x2a
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x150]
push edx
push 0x3ee
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [ebp - 0x2c]
push ecx
push 0x3ef
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
shl ecx, 2
mov esi, dword [ebp - 0x9c]
sub esi, ecx
sub esi, 0x2a
mov edx, dword [ebp - 0x154]
and edx, 0xffff
sub esi, edx
sub esi, dword [ebp - 0x140]
mov eax, dword [ebp - 0x154]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
sub esi, eax
push esi
mov eax, 0x2a
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
add ecx, eax
push ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 0x2a]
push ecx
push 0x3ef
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
mov eax, 0x2a
sub eax, dword [ebp - 0x13c]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x14c]
lea eax, [edx + eax - 2]
push eax
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
mov edx, dword [ebp - 0x9c]
lea eax, [ecx + edx + 2]
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
shl ecx, 1
sub eax, ecx
sub eax, dword [ebp - 0x140]
push eax
push 0x407
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
lea edx, [ecx + eax + 0x23]
mov dword [ebp - 0x14c], edx
push 1
push 0x2a
push 0x2a
mov eax, dword [ebp - 0xb0]
sub eax, 0x2a
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
add ecx, eax
push ecx
mov edx, dword [ebp - 0x150]
push edx
push 0x3f1
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [ebp - 0x2c]
push ecx
push 0x3f2
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x14c]
add ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax - 3]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0xc]
push eax
push 1
push 0x41712c
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x154]
and eax, 0xffff
imul eax, eax, 5
mov ecx, dword [ebp - 0x9c]
sub ecx, eax
sub ecx, 0x2a
push ecx
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xac]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x14c]
add edx, eax
push edx
mov eax, dword [ebp - 0x154]
and eax, 0xffff
mov ecx, dword [ebp - 0x150]
lea edx, [ecx + eax + 0x2a]
push edx
push 0x3f3
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
imul edx, edx, 5
mov eax, dword [ebp - 0x9c]
sub eax, edx
sub eax, 0x2a
push eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xac]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
add ecx, eax
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 0x2a]
push ecx
push 0x3f2
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14c], eax
push 1
push 0x2a
push 0x2a
mov eax, dword [ebp - 0xb0]
sub eax, 0x2a
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
add ecx, eax
push ecx
mov edx, dword [ebp - 0x150]
push edx
push 0x3f4
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [ebp - 0x2c]
push ecx
push 0x3f5
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x14c]
add ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax - 2]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0xc]
push eax
push 1
push 0x417130
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push 1
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x154]
and eax, 0xffff
imul eax, eax, 5
mov ecx, dword [ebp - 0x9c]
sub ecx, eax
sub ecx, 0x2a
push ecx
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xac]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x14c]
add edx, eax
push edx
mov eax, dword [ebp - 0x154]
and eax, 0xffff
mov ecx, dword [ebp - 0x150]
lea edx, [ecx + eax + 0x2a]
push edx
push 0x3f6
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
imul edx, edx, 5
mov eax, dword [ebp - 0x9c]
sub eax, edx
sub eax, 0x2a
push eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xac]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
add ecx, eax
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 0x2a]
push ecx
push 0x3f5
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14c], eax
push 1
push 0x2a
push 0x2a
mov eax, dword [ebp - 0xb0]
sub eax, 0x2a
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
add ecx, eax
push ecx
mov edx, dword [ebp - 0x150]
push edx
push 0x40f
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [ebp - 0x2c]
push ecx
push 0x3f8
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x14c]
add ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0xc]
push edx
push 1
push 0x417134
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
imul edx, edx, 5
mov eax, dword [ebp - 0x9c]
sub eax, edx
sub eax, 0x2a
push eax
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xac]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
add ecx, eax
push ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 0x2a]
push ecx
push 0x3f9
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
imul ecx, ecx, 5
mov edx, dword [ebp - 0x9c]
sub edx, ecx
sub edx, 0x2a
push edx
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xac]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x14c]
add ecx, eax
add ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 0x2a]
push ecx
push 0x3f8
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x2c]
sub eax, 2
mov dword [ebp - 0x14c], eax
push 1
push 0x2a
push 0x2a
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x150]
push edx
push 0x3fa
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0x16c]
and ecx, 0xffff
mov edx, dword [ebp - 0x16c]
and edx, 0xffff
add edx, dword [ebp - 0x14c]
lea eax, [edx + ecx + 0x28]
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
add ecx, 2
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x9c]
sub eax, 0xd4
cdq
mov ecx, 3
idiv ecx
mov dword [ebp - 0xa4], eax
push 1
push 0x38
push 0x38
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x150]
push eax
push 0x3fb
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 0x38]
mov dword [ebp - 0x150], ecx
push 1
push 0x34
push 0x34
mov edx, dword [ebp - 0x14c]
add edx, 2
push edx
mov eax, dword [ebp - 0x150]
push eax
push 0x3fc
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 0x34]
mov dword [ebp - 0x150], ecx
push 1
push 0x34
push 0x34
mov edx, dword [ebp - 0x14c]
add edx, 2
push edx
mov eax, dword [ebp - 0x150]
push eax
push 0x3fd
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 0x34]
mov dword [ebp - 0x150], ecx
push 1
push 0x34
push 0x34
mov edx, dword [ebp - 0x14c]
add edx, 2
push edx
mov eax, dword [ebp - 0x150]
push eax
push 0x3fe
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0x14c]
add edx, 0x3a
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x154]
and eax, 0xffff
add eax, 3
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x18], ecx
push 1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x150]
push edx
push 0x400
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x14]
sub eax, 2
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x150]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
imul eax, eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp - 0x14c]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0x14c], edx
push 1
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x150]
push eax
push 0x401
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 2]
push ecx
push 0x402
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
imul eax, eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x14c]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0x14c], edx
push 1
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x150]
push eax
push 0x409
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 2]
push ecx
push 0x40a
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
imul eax, eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x14c]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0x14c], edx
push 1
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x150]
push eax
push 0x403
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x150]
lea ecx, [eax + edx + 2]
push ecx
push 0x404
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
mov edx, dword [ebp - 0x9c]
sub edx, ecx
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x144]
add eax, 0x64
mov dword [ebp - 0x170], eax
push 0x64
lea ecx, [ebp - 0x90]
push ecx
push 0xc
mov edx, dword [0x4189d8]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x550
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea edx, [ebp - 0x90]
push edx
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x170]
sub eax, dword [ebp - 0x144]
sub eax, 2
sub eax, dword [ebp - 0x144]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x14c], ecx
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
mov eax, dword [ebp - 0x154]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax + 3]
mov dword [ebp - 0x150], edx
push 1
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
shl ecx, 1
mov edx, dword [ebp - 0x9c]
sub edx, ecx
push edx
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
push 0x405
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x170]
add eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x14c]
add ecx, eax
mov dword [ebp - 0x14c], ecx
lea edx, [ebp - 0x138]
push edx
push 4
push 0x417138
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push 1
mov ecx, dword [ebp - 0x144]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x9c]
sub edx, dword [ebp - 0x150]
sub edx, 2
sub edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x150]
add ecx, 2
push ecx
push 0x406
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x154]
and eax, 0xffff
shl eax, 1
mov ecx, dword [ebp - 0x9c]
sub ecx, eax
sub ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x150]
add edx, ecx
mov dword [ebp - 0x150], edx
push 1
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x14c]
add edx, 1
push edx
mov eax, dword [ebp - 0x150]
push eax
push 0x408
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x144]
lea ecx, [eax + edx + 2]
mov edx, dword [ebp - 0x14c]
add edx, ecx
mov dword [ebp - 0x14c], edx
push 1
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
shl ecx, 1
mov edx, dword [ebp - 0x9c]
sub edx, ecx
push edx
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
mov edx, dword [ebp - 0x154]
and edx, 0xffff
add ecx, edx
push ecx
push 0x40b
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0x144]
add ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x14c]
lea eax, [edx + ecx + 2]
mov dword [ebp - 0x14c], eax
mov ecx, dword [0x418ee8]
push ecx
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x138]
push eax
push 1
push 0x417140
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push 1
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
mov edx, dword [ebp - 0x154]
and edx, 0xffff
add edx, 3
push edx
push 0x3ff
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x158]
push eax
push 0x402
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x14c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x154]
and eax, 0xffff
add eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x154]
and ecx, 0xffff
lea edx, [eax + ecx*2 + 2]
mov dword [ebp - 0x150], edx
push 0x418ec0
push 0x417144
mov eax, dword [0x418a2c]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x405670
push str.Mail_Preview_Frame
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [0x418ec0], 0
mov dword [0x418ec4], 0x402144
mov dword [0x418ec8], 0
mov dword [0x418ecc], 0
mov edx, dword [0x418a2c]
mov dword [0x418ed0], edx
mov dword [0x418ed4], 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x418ed8], eax
mov eax, dword [0x418d3c]
mov ecx, dword [eax + 0x16]
mov dword [0x418edc], ecx
mov dword [0x418ee0], 0
lea edx, [ebp - 0x128]
mov dword [0x418ee4], edx
push 0x418ec0
call dword [sym.imp.USER32.dll_RegisterClassA]
and eax, 0xffff
test eax, eax
jne 0x405670
push 0
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [0x418eec]
push ecx
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x138]
push eax
push 2
push 0x41716c
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x16c]
and ecx, 0xffff
mov edx, dword [ebp - 0x14c]
sub edx, ecx
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x134]
jge 0x4056ed
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x15c]
sub edx, dword [ebp - 0x138]
sub edx, 7
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
sub edx, eax
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x184]
push ecx
push 0x2001f
push 0
mov edx, dword [0x418934]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40584f
xor eax, eax
mov ax, word [0x418aee]
add eax, 1
push eax
push 0x417170
lea ecx, [ebp - 0x190]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x418580
lea edx, [ebp - 0x1f4]
push edx
lea eax, [ebp - 0x190]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
call fcn.00408459
add esp, 0x10
movsx edx, byte [ebp - 0x1f4]
test edx, edx
je 0x405842
push 0x417178
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040e5de
add esp, 8
mov dword [ebp - 0x1f8], eax
push 0x41717c
push 0
call fcn.0040e5de
add esp, 8
mov dword [ebp - 0x1f8], eax
push 0x417180
push 0
call fcn.0040e5de
add esp, 8
mov dword [ebp - 0x1f8], eax
push 0x417184
push 0
call fcn.0040e5de
add esp, 8
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
push ecx
call section..text
add esp, 4
mov dword [ebp - 0x200], eax
fild dword [ebp - 0x200]
fdiv dword [0x415290]
fstp dword [ebp - 0x94]
push 0x417188
push 0
call fcn.0040e5de
add esp, 8
mov dword [ebp - 0x1f8], eax
mov edx, dword [ebp - 0x1f8]
push edx
call section..text
add esp, 4
mov dword [ebp - 0x204], eax
fild dword [ebp - 0x204]
fdiv dword [0x415290]
fstp dword [ebp - 0xa0]
mov eax, dword [ebp - 0x184]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
fld dword [ebp - 0x94]
fcomp dword [0x41529c]
fnstsw ax
test ah, 0x40
je 0x4058a4
xor ecx, ecx
mov cx, word [0x418a18]
mov dword [ebp - 0x208], ecx
fild dword [ebp - 0x208]
fdiv dword [0x415290]
fstp dword [ebp - 0x94]
xor edx, edx
mov dx, word [0x418a1a]
mov dword [ebp - 0x20c], edx
fild dword [ebp - 0x20c]
fdiv dword [0x415290]
fstp dword [ebp - 0xa0]
fild dword [ebp - 0x20]
fmul dword [ebp - 0x94]
fdiv dword [ebp - 0xa0]
call fcn.0040e5ac
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
mov ecx, dword [ebp - 0x24]
add ecx, eax
mov edx, dword [ebp - 0x138]
lea eax, [ecx + edx + 7]
mov dword [ebp - 0x160], eax
cmp dword [0x418ef0], 0
je 0x40591b
push 0
mov ecx, dword [ebp - 0x15c]
push ecx
mov edx, dword [ebp - 0x160]
push edx
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x150]
push eax
mov ecx, dword [0x418ef0]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x40598b
push 0
mov edx, dword [0x418a2c]
push edx
push 0x40c
mov eax, dword [0x418e44]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
mov edx, dword [ebp - 0x160]
push edx
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x150]
push eax
push 0x56000000
push 0x418584
lea ecx, [ebp - 0x128]
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x418ef0], eax
cmp dword [0x418ef0], 0
jne 0x40598b
push 0
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [ebp - 0x154]
and eax, 0xffff
mov ecx, dword [ebp - 0x160]
add ecx, eax
mov edx, dword [ebp - 0x150]
lea eax, [edx + ecx + 2]
mov dword [ebp - 0x150], eax
push 0x418ec0
push 0x41718c
mov ecx, dword [0x418a2c]
push ecx
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x405a74
push str.Mail_Preview_FullImage
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [0x418ec0], 0
mov dword [0x418ec4], 0x4024e5
mov dword [0x418ec8], 0
mov dword [0x418ecc], 0
mov eax, dword [0x418a2c]
mov dword [0x418ed0], eax
mov dword [0x418ed4], 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x418ed8], eax
mov ecx, dword [0x418d3c]
mov edx, dword [ecx + 0x1e]
mov dword [0x418edc], edx
mov dword [0x418ee0], 0
lea eax, [ebp - 0x128]
mov dword [0x418ee4], eax
push 0x418ec0
call dword [sym.imp.USER32.dll_RegisterClassA]
and eax, 0xffff
test eax, eax
jne 0x405a74
push 0
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [0x418ea4], 0
je 0x405ac4
push 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x16c]
and ecx, 0xffff
mov edx, dword [ebp - 0x138]
lea eax, [edx + ecx + 2]
push eax
mov ecx, dword [ebp - 0x16c]
and ecx, 0xffff
mov edx, dword [ebp - 0x138]
lea eax, [edx + ecx + 2]
push eax
mov ecx, dword [0x418ea4]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x405b42
push 0
mov edx, dword [0x418a2c]
push edx
push 0x40d
mov eax, dword [0x418ef0]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
mov ecx, dword [ebp - 0x138]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp - 0x16c]
and eax, 0xffff
mov ecx, dword [ebp - 0x138]
lea edx, [ecx + eax + 2]
push edx
push 0x56000000
push 0x418588
lea eax, [ebp - 0x128]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x418ea4], eax
cmp dword [0x418ea4], 0
jne 0x405b42
push 0
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
push 0x418ec0
push 0x4171bc
mov edx, dword [0x418a2c]
push edx
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x405c0b
push str.Mail_Preview_ActualImage
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [0x418ec0], 8
mov dword [0x418ec4], 0x402884
mov dword [0x418ec8], 0
mov dword [0x418ecc], 0
mov ecx, dword [0x418a2c]
mov dword [0x418ed0], ecx
mov dword [0x418ed4], 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x418ed8], eax
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x418edc], eax
mov dword [0x418ee0], 0
lea edx, [ebp - 0x128]
mov dword [0x418ee4], edx
push 0x418ec0
call dword [sym.imp.USER32.dll_RegisterClassA]
and eax, 0xffff
test eax, eax
jne 0x405c0b
push 0
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [0x418f30], 0
je 0x405c30
push 1
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0
push 0
mov eax, dword [0x418f30]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x405c86
push 0
mov ecx, dword [0x418a2c]
push ecx
push 0x40e
mov edx, dword [0x418ea4]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push 0
push 0x56000000
push 0x41858c
lea edx, [ebp - 0x128]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x418f30], eax
cmp dword [0x418f30], 0
jne 0x405c86
push 0
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x168]
push ecx
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x160]
sub edx, dword [ebp - 0x168]
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x15c]
sub eax, dword [ebp - 0x164]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x15c], eax
push 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 1
mov edx, dword [ebp - 0x14c]
add edx, dword [ebp - 0x15c]
push edx
mov eax, dword [ebp - 0x150]
add eax, dword [ebp - 0x160]
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x14c]
sub eax, dword [ebp - 0x15c]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x28]
add ecx, eax
push ecx
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0x160]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x2c]
add edx, eax
push edx
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [0x418ea4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
fld dword [ebp - 0x94]
fmul dword [0x415280]
fstp dword [ebp - 0x94]
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x210], eax
fild dword [ebp - 0x210]
fdiv dword [ebp - 0x94]
fstp dword [0x418ae4]
push 1
push 0
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
push 0
mov eax, dword [0x418f30]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x418f30]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x418f20
push 0x3f3
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x418f20
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x418f28
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x418e90
push 0x3f6
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x418e90
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x418e98
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x418f00
push 0x3f7
mov ecx, dword [0x418e44]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x418f00
mov edx, dword [0x418e44]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x418f08
mov eax, dword [0x418e44]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
pop esi
mov esp, ebp
pop ebp
ret