Function at 0x412230
Capabilities:
Check for unmoving mouse cursor
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431fd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd30
push esi
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x2d4], 1
mov dword [ebp - 0x2d8], 0
mov byte [ebp - 0x4f8], 0
push 0xff
push 0
lea edx, [ebp - 0x4f7]
push edx
call fcn.0041abe0
add esp, 0xc
mov dword [ebp - 0x1a0], 0
xor eax, eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x1c0], 0
xor ecx, ecx
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x1b0], 0
xor edx, edx
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x1a4], edx
xor eax, eax
mov word [ebp - 0xb34], ax
push 0x206
push 0
lea ecx, [ebp - 0xb32]
push ecx
call fcn.0041abe0
add esp, 0xc
lea ecx, [ebp - 0x25c]
call fcn.004149f0
mov dword [ebp - 4], 0
mov dx, word [0x4467a4]
mov word [ebp - 0xa6], dx
lea eax, [ebp - 0xa6]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00413ce0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xa
mov dword [ebp - 0x10c], 0
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x104], 0
xor edx, edx
mov dword [ebp - 0x100], edx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x439310
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventA]
mov dword [ebp - 0x230], eax
mov ecx, dword [0x446a24]
imul ecx, dword [0x446e44]
mov edx, dword [ebp - 0xbc]
sub edx, ecx
add edx, dword [ebp - 0x1c0]
sub edx, dword [ebp - 0x1b0]
movzx eax, byte [0x44677c]
sub edx, eax
mov dword [ebp - 0x110], edx
cvtsi2sd xmm0, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x110]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4393e0]
mov edx, dword [0x446774]
mov dword [ebp - 0x114], edx
cvtsi2sd xmm1, dword [ebp - 0x114]
mov eax, dword [ebp - 0x114]
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4393e0]
movsd qword [ebp - 0x2e4], xmm0
movaps xmm0, xmm1
call fcn.00430c20
movsd xmm1, qword [ebp - 0x2e4]
addsd xmm1, xmm0
mov ecx, dword [0x446774]
mov dword [ebp - 0x118], ecx
cvtsi2sd xmm0, dword [ebp - 0x118]
mov edx, dword [ebp - 0x118]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x4393e0]
addsd xmm0, xmm1
call fcn.004304d1
mov dword [0x446774], eax
cmp dword [0x4467a4], 0
jne 0x4124a4
movzx eax, word [0x446a24]
mov dword [ebp - 0x1b8], eax
jmp 0x4124dc
mov ecx, dword [0x446e44]
add ecx, 0x35
mov eax, dword [ebp - 0x1c0]
cdq
idiv ecx
add eax, dword [ebp - 0x194]
movzx edx, word [0x446a20]
add eax, dword [0x446790]
add edx, eax
sub edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x194]
sub eax, edx
mov dword [ebp - 0x194], eax
mov cx, word [ebp - 0x34]
mov word [ebp - 0xa8], cx
lea edx, [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x25c]
call fcn.00413ce0
movzx ecx, byte [0x446e70]
add ecx, dword [0x43e8b0]
mov eax, dword [0x4467a0]
imul eax, dword [0x446778]
mov esi, dword [0x446794]
add esi, 0x5b
cdq
idiv esi
imul eax, dword [0x4467ac]
add ecx, eax
mov dword [ebp - 0x38], ecx
mov dx, word [0x446798]
mov word [ebp - 0xaa], dx
lea eax, [ebp - 0xaa]
push eax
lea ecx, [ebp - 0x25c]
call fcn.00413ce0
mov cx, word [0x446778]
mov word [ebp - 0xac], cx
lea edx, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x25c]
call fcn.00413f80
mov ecx, dword [0x446e64]
sub ecx, dword [ebp - 0x194]
add ecx, dword [ebp - 0x19c]
sub ecx, dword [0x4467ac]
mov eax, dword [ebp - 0x58]
xor edx, edx
mov esi, 0x19
div esi
sub ecx, eax
sub ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x4c], ecx
mov edx, dword [0x446e70]
cmp edx, dword [0x446e64]
je 0x4125d0
cmp dword [0x44677c], 0x8ed
jle 0x4125d0
cmp dword [0x446778], 0
je 0x4125d0
movzx eax, word [ebp - 0x4c]
add eax, dword [0x446a20]
mov ecx, dword [ebp - 0x34]
sub ecx, eax
mov dword [ebp - 0x34], ecx
jmp 0x4125df
mov edx, dword [ebp - 0xb4]
sub edx, 1
mov dword [ebp - 0xb4], edx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [ebp - 0xb0], 5
push 0
mov ecx, dword [0x446e44]
push ecx
mov edx, dword [0x446e70]
push edx
mov eax, dword [0x43e8b0]
push eax
mov ecx, dword [0x446e44]
push ecx
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov ecx, dword [0x44677c]
sub ecx, dword [ebp - 0x8c]
mov eax, dword [0x4467a4]
cdq
mov esi, 0x18
idiv esi
sub ecx, eax
mov edx, 0x446918
movzx eax, dx
imul eax, dword [0x446774]
add ecx, eax
movzx eax, word [ebp - 0x1c0]
mov esi, dword [0x446e64]
add esi, 0x45
cdq
idiv esi
add ecx, dword [0x446778]
add eax, ecx
mov dword [0x446790], eax
mov ecx, dword [ebp - 0xb0]
sub ecx, 1
mov dword [ebp - 0xb0], ecx
jne 0x4125f6
mov edx, dword [ebp - 0xb4]
cmp edx, dword [0x44677c]
jge 0x412689
jmp 0x412b29
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x104]
jne 0x41273d
mov ecx, dword [ebp - 0x108]
cmp ecx, dword [ebp - 0x100]
jne 0x41273d
movzx ecx, byte [0x446778]
mov eax, dword [0x446790]
imul eax, dword [0x4467a4]
mov esi, dword [0x446794]
add esi, 0x45
cdq
idiv esi
add ecx, eax
mov edx, dword [ebp - 0x38]
sub edx, dword [0x446798]
cmp ecx, edx
jbe 0x4126fa
movzx eax, byte [0x4467a0]
mov ecx, dword [0x4467a4]
sub ecx, eax
mov edx, dword [0x446798]
sub edx, ecx
mov dword [0x446798], edx
jmp 0x41271b
mov eax, dword [ebp - 0x8c]
imul eax, dword [0x44679c]
add eax, dword [0x446790]
mov ecx, dword [ebp - 0x8c]
sub ecx, eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x218], 0
push 0
lea edx, [ebp - 0x218]
push edx
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
jmp 0x4127e0
mov dword [ebp - 0x92c], 0
push 0x1f8
push 0
lea eax, [ebp - 0x928]
push eax
call fcn.0041abe0
add esp, 0xc
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x920], 2
lea edx, [ebp - 0x92c]
push edx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
mov ecx, dword [0x446778]
add ecx, 0x55
mov eax, dword [0x4467a0]
cdq
idiv ecx
mov ecx, eax
movzx edx, word [ebp - 0x34]
imul ecx, edx
sub ecx, dword [0x44677c]
mov eax, dword [0x446a20]
cdq
mov esi, 0x24
idiv esi
sub eax, dword [0x43e8b0]
sub eax, dword [ebp - 0x38]
cmp ecx, eax
ja 0x4127d1
movzx eax, byte [ebp - 0x38]
mov dword [0x4467a0], eax
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x34], 0
je 0x412806
cmp dword [0x446778], 0
je 0x412806
movzx edx, word [ebp - 0x34]
sub edx, dword [0x446e44]
mov eax, dword [ebp - 0x58]
sub eax, edx
mov dword [ebp - 0x58], eax
jmp 0x4129c2
mov ecx, dword [0x446790]
imul ecx, dword [0x44677c]
test ecx, ecx
je 0x4128b9
cvtsi2ss xmm0, dword [0x446790]
movss dword [ebp - 0x224], xmm0
cvtss2sd xmm0, dword [ebp - 0x224]
andps xmm0, xmmword [0x4393f0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x228], xmm0
movzx eax, byte [ebp - 0xbc]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
cvtsi2ss xmm0, eax
movss xmm1, dword [ebp - 0x228]
subss xmm1, xmm0
movzx edx, byte [0x4467a0]
cvtsi2ss xmm0, edx
subss xmm1, xmm0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x11c], eax
cvtsi2sd xmm0, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x11c]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4393e0]
movsd qword [ebp - 0x2ec], xmm0
cvtsd2ss xmm0, qword [ebp - 0x2ec]
addss xmm0, xmm1
call fcn.004302f0
mov dword [ebp - 0x58], eax
jmp 0x4129c2
cmp dword [ebp - 0x90], 0
je 0x4129c2
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x120], edx
cvtsi2sd xmm0, dword [ebp - 0x120]
mov eax, dword [ebp - 0x120]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4393e0]
movsd qword [ebp - 0x2f4], xmm0
cvtsd2ss xmm0, qword [ebp - 0x2f4]
cvtss2sd xmm0, xmm0
andps xmm0, xmmword [0x4393f0]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x22c], xmm0
mov ecx, 0x446a28
movzx ecx, cx
mov esi, dword [0x446e44]
add esi, 0x3d
mov eax, dword [ebp - 0x4c]
xor edx, edx
div esi
add ecx, dword [ebp - 0x38]
add eax, ecx
mov edx, dword [0x4467a0]
imul edx, dword [0x43e8b0]
sub eax, edx
mov dword [ebp - 0x124], eax
cvtsi2sd xmm0, dword [ebp - 0x124]
mov eax, dword [ebp - 0x124]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4393e0]
movsd qword [ebp - 0x2fc], xmm0
cvtsd2ss xmm0, qword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x128], ecx
cvtsi2sd xmm1, dword [ebp - 0x128]
mov edx, dword [ebp - 0x128]
shr edx, 0x1f
addsd xmm1, qword [edx*8 + 0x4393e0]
movsd qword [ebp - 0x304], xmm1
cvtsd2ss xmm1, qword [ebp - 0x304]
mulss xmm1, dword [ebp - 0x22c]
subss xmm0, xmm1
call fcn.004302f0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xb8]
add eax, 1
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x19c]
sub ecx, dword [0x4467a4]
mov dword [0x446e70], ecx
cmp dword [ebp - 0x90], 1
jle 0x4129ed
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
jmp 0x412b29
lea edx, [ebp - 0xb34]
test edx, edx
je 0x412a1c
lea eax, [ebp - 0xb34]
movzx ecx, al
mov edx, dword [0x446790]
sub edx, ecx
add edx, dword [0x4467a0]
add edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1a8], edx
jmp 0x412a5a
movzx eax, byte [0x446e70]
cdq
mov ecx, 0x25
idiv ecx
sub eax, dword [0x446790]
mov edx, dword [ebp - 0x1a8]
imul edx, dword [ebp - 0x1c0]
lea ecx, [ebp - 0x4f8]
movzx ecx, cx
imul edx, ecx
sub eax, edx
mov edx, dword [0x446790]
sub edx, eax
mov dword [0x446790], edx
cmp dword [ebp - 0xb8], 5
jne 0x412a94
mov eax, dword [0x446e44]
imul eax, dword [0x446798]
mov ecx, dword [ebp - 0xbc]
sub ecx, eax
add ecx, dword [0x446a24]
sub ecx, dword [0x446e60]
sub ecx, dword [0x446790]
mov dword [0x446798], ecx
jmp 0x412b29
mov edx, dword [0x4467a4]
add edx, dword [0x446778]
je 0x412aac
mov eax, dword [ebp - 0x4c]
mov dword [0x446e70], eax
jmp 0x412acd
movzx ecx, byte [0x44679c]
sub ecx, dword [0x43e8b0]
add ecx, dword [0x44677c]
mov edx, dword [0x446790]
sub edx, ecx
mov dword [0x446790], edx
push 0xbb6
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ecx, dword [0x43e8b0]
sub ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x38]
jae 0x412b0a
cmp dword [0x44677c], 3
jne 0x412b0a
lea edx, [ebp - 0x4f8]
sub edx, dword [0x446790]
sub edx, dword [ebp - 0x38]
mov dword [ebp - 0x38], edx
jmp 0x412b0f
jmp 0x412599
mov eax, dword [0x446778]
mov dword [ebp - 0x234], eax
push 0xffffffffffffffeb
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push str.msftedit.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [ebp - 0x2dc], eax
mov edx, dword [0x446790]
mov dword [0x4467a0], edx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.00414a80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x25c]
call fcn.00415af0
mov dword [ebp - 4], 0xffffffff
movzx ecx, word [0x446774]
movzx eax, word [0x4467a4]
cdq
mov esi, 0x16
idiv esi
add ecx, eax
cmp ecx, dword [0x446a24]
jge 0x412bab
mov ecx, dword [0x446e60]
add ecx, 0x53
mov eax, dword [0x446e5c]
cdq
idiv ecx
imul eax, dword [0x4467a8]
mov dword [0x4467a0], eax
mov dword [ebp - 0x1c8], 0
mov dword [ebp - 0x1c4], 1
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x308], eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xc0], 1
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x134], 3
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x238], 0x446918
mov dword [ebp - 0x1cc], 0x446e78
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0xc0], 0
je 0x412ca8
mov eax, dword [ebp - 0x13c]
mov ecx, dword [0x446e44]
lea edx, [ecx + eax + 4]
mov eax, dword [0x446790]
sub eax, edx
add eax, dword [0x446790]
mov dword [0x446790], eax
push 8
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.GDI32.dll_SetMapMode]
mov edx, dword [0x4467ac]
mov dword [0x446904], edx
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.GDI32.dll_GetEnhMetaFileA]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0x138]
imul ecx, dword [ebp - 0x140]
mov edx, 4
sub edx, ecx
add edx, dword [0x43e8b0]
imul edx, dword [ebp - 0xc8]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0x6c]
push eax
push 8
push 0
push 0
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.GDI32.dll_GetWinMetaFileBits]
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
push edx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [ebp - 0xd8], eax
mov eax, dword [0x4467a4]
imul eax, dword [ebp - 0x134]
imul eax, dword [ebp - 0xc0]
add eax, dword [0x446a24]
add eax, dword [ebp - 0xc0]
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0x6c]
push ecx
push 8
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.GDI32.dll_GetWinMetaFileBits]
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.GDI32.dll_SetMetaFileBitsEx]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x5c], 0
jmp 0x412d86
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0xd0]
jge 0x412e25
mov byte [ebp - 0xd], 0
cmp dword [0x446e60], 0
je 0x412daf
mov eax, dword [0x4467a4]
add eax, dword [ebp - 0x5c]
mov byte [ebp - 0xd], al
jmp 0x412dbb
mov ecx, dword [ebp - 0x5c]
mov dl, byte [ecx + 0x4454b8]
mov byte [ebp - 0xd], dl
mov eax, dword [0x446e44]
add eax, 1
sub eax, dword [ebp - 0x1c4]
mov ecx, dword [0x4467a0]
sub ecx, dword [0x446e70]
imul ecx, dword [ebp - 0xc8]
add eax, ecx
mov edx, dword [ebp - 0x1c8]
add edx, dword [ebp - 0x134]
add edx, dword [0x446e70]
add edx, eax
mov dword [0x446e70], edx
mov eax, dword [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.GDI32.dll_PlayMetaFile]
cmp dword [0x446e44], 0
jne 0x412e20
mov edx, dword [0x446904]
add edx, dword [ebp - 0x5c]
mov al, byte [ebp - 0xd]
mov byte [edx], al
jmp 0x412d7d
mov ecx, dword [ebp - 0x1cc]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
call dword [sym.imp.GDI32.dll_CopyMetaFileA]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
push eax
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
mov dword [ebp - 0x1d4], 0x39
mov ecx, dword [ebp - 0xcc]
push ecx
call dword [sym.imp.GDI32.dll_DeleteMetaFile]
mov edx, dword [ebp - 0x138]
sub edx, dword [ebp - 0x13c]
imul edx, dword [0x446790]
mov eax, dword [ebp - 0x140]
add eax, 1
imul edx, eax
add edx, dword [0x4467a0]
mov dword [0x43e8b0], edx
mov ecx, dword [0x446a24]
add ecx, dword [ebp - 0x1d4]
push ecx
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [0x446904]
push eax
call fcn.0040ee00
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov edx, dword [ebp - 0xd8]
push edx
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [0x446904]
lea ecx, [ebp + 8]
mov dword [eax + 1], ecx
mov edx, dword [0x446790]
imul edx, dword [ebp - 0x1d8]
add edx, dword [0x446e44]
mov dword [0x4467a0], edx
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [0x446e60]
mov dword [ebp - 0x30c], ecx
mov edx, dword [0x446790]
mov dword [ebp - 0x310], edx
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x3bc], 0x3c
mov dword [ebp - 0x318], 0
mov eax, dword [0x446e44]
mov dword [ebp - 0x31c], eax
mov ecx, dword [0x446a1c]
add ecx, 1
mov dword [ebp - 0x320], ecx
mov edx, dword [0x43e8b0]
add edx, dword [0x446e70]
mov dword [ebp - 0x324], edx
mov eax, dword [0x4467a0]
sub eax, dword [0x446790]
mov dword [ebp - 0x340], eax
cmp dword [0x446794], 0
je 0x412f7e
cmp dword [0x44679c], 0
jne 0x413162
push 0x800
call fcn.0041b9a4
add esp, 4
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x148], ecx
lea edx, [ebp - 0x148]
mov dword [ebp - 0x1e0], edx
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x1e0]
call fcn.004179d0
mov ecx, dword [eax]
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x1e8], ecx
push 2
mov edx, dword [ebp - 0x1e8]
push edx
call fcn.00418797
add esp, 8
lea eax, [ebp - 0xd3c]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0xdc]
mov dx, word [ecx]
mov word [ebp - 0x66], dx
mov eax, dword [ebp - 0x70]
mov cx, word [ebp - 0x66]
mov word [eax], cx
mov edx, dword [ebp - 0xdc]
add edx, 2
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0x70]
add eax, 2
mov dword [ebp - 0x70], eax
cmp word [ebp - 0x66], 0
jne 0x413029
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x1ec], ecx
mov edx, dword [ebp - 0x1ec]
push edx
call fcn.00424860
add esp, 4
mov dword [ebp - 0xe0], 0
jmp 0x413095
mov eax, dword [ebp - 0xe0]
add eax, 1
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0x730]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
push 0x63646976
call dword [sym.imp.MSVFW32.dll_ICInfo]
test eax, eax
je 0x413145
push 4
mov eax, dword [ebp - 0x728]
push eax
mov ecx, dword [ebp - 0x72c]
push ecx
call dword [sym.imp.MSVFW32.dll_ICOpen]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x413133
push 0x238
lea edx, [ebp - 0x730]
push edx
mov eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.MSVFW32.dll_ICGetInfo]
lea ecx, [ebp - 0x6f8]
push ecx
call fcn.00424860
add esp, 4
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x1f0], edx
mov eax, dword [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x6f8]
push ecx
call fcn.0041a726
add esp, 8
test eax, eax
je 0x413133
mov dword [0x43e8b0], 0
mov edx, dword [ebp - 0xe4]
push edx
call dword [sym.imp.MSVFW32.dll_ICClose]
jmp 0x413086
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x1f4], eax
push 2
mov ecx, dword [ebp - 0x1f4]
push ecx
call fcn.00418797
add esp, 8
mov edx, dword [0x446e44]
mov dword [ebp - 0x154], edx
mov eax, dword [0x4467a0]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x33c]
push ecx
push 0x18
mov edx, dword [ebp - 0x154]
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [ebp - 0x338]
imul eax, dword [ebp - 0x3c]
add eax, 0x1f
shr eax, 5
shl eax, 2
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x3c], 8
ja 0x4131bd
mov edx, 1
mov ecx, dword [ebp - 0x3c]
shl edx, cl
mov dword [ebp - 0x14c], edx
jmp 0x4131c7
mov dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
shl eax, 2
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0x1f8]
imul ecx, dword [ebp - 0x334]
mov edx, dword [ebp - 0xe8]
lea eax, [edx + ecx + 0x28]
mov dword [ebp - 0x1fc], eax
push 0x800
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
push ecx
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [edx], 0x28
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x338]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x334]
mov dword [edx + 8], eax
mov ecx, 1
mov edx, dword [ebp - 0x14]
mov word [edx + 0xc], cx
mov eax, dword [ebp - 0x14]
mov cx, word [ebp - 0x3c]
mov word [eax + 0xe], cx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x1fc]
sub eax, 0x28
sub eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], 0
cmp dword [ebp - 0x3c], 8
ja 0x413299
mov edx, 1
mov ecx, dword [ebp - 0x3c]
shl edx, cl
mov dword [ebp - 0x150], edx
jmp 0x4132a3
mov dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x150]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax + 0x28]
mov dword [ebp - 0x200], edx
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x15c], eax
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x200]
push ecx
mov edx, dword [ebp - 0x334]
push edx
push 0
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x15c]
push ecx
call dword [sym.imp.GDI32.dll_GetDIBits]
cmp dword [ebp - 0x3c], 8
ja 0x41331c
mov edx, 1
mov ecx, dword [ebp - 0x3c]
shl edx, cl
mov dword [ebp - 0x158], edx
jmp 0x413326
mov dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x158]
mov dword [eax + 0x20], ecx
mov edx, dword [ebp - 0x15c]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov ecx, dword [0x446e60]
mov dword [ebp - 0x298], ecx
mov edx, dword [0x446790]
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x3f8], 0x3c
mov dword [ebp - 0x2a4], 0
mov eax, dword [0x446e44]
mov dword [ebp - 0x2a8], eax
mov ecx, dword [0x446a1c]
add ecx, 1
mov dword [ebp - 0x2ac], ecx
mov edx, dword [0x43e8b0]
add edx, dword [0x446e70]
mov dword [ebp - 0x2b0], edx
mov eax, dword [0x4467a0]
sub eax, dword [0x446790]
mov dword [ebp - 0x2b4], eax
mov dword [ebp - 0x204], 0x446a28
lea ecx, [ebp - 0x350]
push ecx
mov edx, dword [ebp - 0x204]
push edx
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
test eax, eax
je 0x4133ee
mov eax, dword [0x4467a0]
add eax, 1
mov dword [0x4467a0], eax
lea ecx, [ebp - 0x358]
push ecx
push 0x4334f0
push 0x17
push 0
lea edx, [ebp - 0x350]
push edx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x41343f
lea eax, [ebp - 0x358]
push eax
push 0x4334f0
push 4
push 0
lea ecx, [ebp - 0x350]
push ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x41343f
mov edx, dword [0x4467a0]
sub edx, 1
mov dword [0x4467a0], edx
cmp dword [0x44679c], 0
je 0x413455
cmp dword [0x446794], 0
jne 0x413884
lea eax, [ebp - 0x380]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x40], ecx
mov dx, word [0x446e44]
mov word [ebp - 0x24], dx
movzx eax, word [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
movzx edx, word [ecx]
cmp eax, edx
jne 0x41348e
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
movzx edx, word [ebp - 0x18]
and edx, 0x2000
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
and edx, ecx
je 0x4134b6
movzx edx, word [ebp - 0x18]
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
or edx, ecx
and edx, 0x4000
je 0x413504
cmp dword [ebp - 0xec], 0
je 0x4134e6
movzx edx, word [ebp - 0x18]
push edx
movzx eax, word [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayPtrOfIndex]
mov dword [ebp - 0x208], eax
jmp 0x413504
movzx ecx, word [ebp - 0x18]
push ecx
movzx edx, word [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov dword [ebp - 0x208], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x7c], 0
jmp 0x413526
mov ecx, dword [ebp - 0x7c]
add ecx, 1
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x54]
movzx eax, word [edx]
cmp dword [ebp - 0x7c], eax
jae 0x413544
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x28]
imul eax, dword [edx + ecx*8 + 0x10]
mov dword [ebp - 0x28], eax
jmp 0x41351d
mov ecx, dword [ebp - 0x40]
movzx edx, word [ecx]
and edx, 0xffffdfff
mov word [ebp - 0x44], dx
movzx eax, word [ebp - 0x18]
and eax, 0xffffdfff
mov word [ebp - 0x48], ax
mov ecx, dword [ebp - 0x54]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 0x54]
movzx eax, word [edx]
push eax
movzx ecx, word [ebp - 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 4]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x178]
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0x188]
mov dword [ebp - 0xf8], ecx
lea edx, [ebp - 0x44]
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x80], 0x80004005
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x1c], edx
xor eax, eax
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], eax
xor ecx, ecx
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x184], ecx
cmp dword [ebp - 0x50], 0
je 0x413616
cmp dword [ebp - 0x30], 0
jne 0x41361d
mov dword [ebp - 0x1c], 0x80070057
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x20], 0
jne 0x413641
mov dword [ebp - 0x1c], 0x80070057
mov edx, dword [ebp - 0x28]
imul edx, dword [ebp - 0x30]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
call fcn.0041abe0
add esp, 0xc
cmp dword [ebp - 0x30], 8
jbe 0x413678
cmp dword [ebp - 0x30], 0x10
jne 0x413671
lea ecx, [ebp - 0x190]
mov dword [ebp - 0xf8], ecx
jmp 0x413678
mov dword [ebp - 0x1c], 0x80020005
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x2c], 0
jne 0x4136a2
mov dword [ebp - 0x1c], 0x80070057
cmp dword [ebp - 0x50], 8
jbe 0x4136ea
cmp dword [ebp - 0x50], 0x10
jne 0x4136e3
lea edx, [ebp - 0x180]
mov dword [ebp - 0xf0], edx
movzx eax, word [ebp - 0x44]
cmp eax, 0xc
jne 0x4136d1
lea ecx, [ebp - 0x180]
mov dword [ebp - 0xf4], ecx
jmp 0x4136e1
movzx edx, word [ebp - 0x44]
cmp edx, 0xe
je 0x4136e1
mov dword [ebp - 0x1c], 0x80020005
jmp 0x4136ea
mov dword [ebp - 0x1c], 0x80020005
cmp dword [ebp - 0xec], 0
je 0x413794
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0xf0]
push edx
call fcn.0042fb00
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0xf4]
mov dx, word [ecx]
mov word [ebp - 0x180], dx
movzx eax, word [ebp - 0x48]
push eax
movzx ecx, word [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xec]
push edx
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x190]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayPtrOfIndex]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x413757
jmp 0x41378f
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0042fb00
add esp, 0xc
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x20], edx
xor eax, eax
mov word [ebp - 0x190], ax
mov ecx, dword [ebp - 0x28]
sub ecx, 1
mov dword [ebp - 0x28], ecx
jne 0x4136f7
jmp 0x413825
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.0042fb00
add esp, 0xc
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x50]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0xf4]
mov cx, word [eax]
mov word [ebp - 0x180], cx
movzx edx, word [ebp - 0x48]
push edx
movzx eax, word [ebp - 0x24]
push eax
lea ecx, [ebp - 0x180]
push ecx
lea edx, [ebp - 0x190]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x4137ed
jmp 0x413825
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.0042fb00
add esp, 0xc
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov word [ebp - 0x190], cx
mov edx, dword [ebp - 0x28]
sub edx, 1
mov dword [ebp - 0x28], edx
jne 0x413794
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp - 0x80], 0
jl 0x413842
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
cmp dword [ebp - 0x84], 0
jl 0x413855
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
cmp dword [ebp - 0x1c], 0
jl 0x41387a
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x74]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x60]
mov cx, word [ebp - 0x18]
mov word [eax], cx
jmp 0x413884
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayRedim]
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push str.TEST
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x20c], eax
mov ecx, 8
mov word [ebp - 0x248], cx
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x240], edx
push 2
push 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
lea edx, [ebp - 0x248]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [0x446778]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0xc8
mov dword [ebp - 0x27c], str.Name
mov dword [ebp - 0x288], 0xf
mov dword [ebp - 0x274], 0
lea ecx, [ebp - 0x288]
push ecx
push 0
push 0x101b
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x280], 0x78
mov dword [ebp - 0x27c], str.Subject
lea eax, [ebp - 0x288]
push eax
push 1
push 0x101b
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x27c], str.Date
lea edx, [ebp - 0x288]
push edx
push 2
push 0x101b
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x27c], str.MessageID
lea ecx, [ebp - 0x288]
push ecx
push 3
push 0x101b
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, 3
mov word [ebp - 0xa4], cx
mov dword [ebp - 0x9c], 0xffffffff
push 8
push 0
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x2b8], ecx
mov edx, 8
mov word [ebp - 0xa4], dx
push 0x439354
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x9c], eax
push 3
push 0
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x2bc], edx
mov eax, 8
mov word [ebp - 0xa4], ax
push 0x439354
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x9c], eax
push 0xb
push 0
lea ecx, [ebp - 0xa4]
push ecx
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov ax, word [ebp - 0x9c]
mov word [ebp - 0x214], ax
lea ecx, [ebp - 0xa4]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x64], 0
cmp dword [0x446794], 0
je 0x413ac7
mov edx, 1
sub edx, dword [0x446e44]
mov dword [ebp - 0x164], edx
cmp dword [ebp - 0x164], 0
jne 0x413ad9
mov dword [ebp - 0x64], 0x40edf0
jmp 0x413aed
mov eax, dword [0x446e44]
add eax, dword [0x44677c]
add eax, dword [0x446904]
mov dword [ebp - 0x64], eax
cmp dword [0x446778], 0
je 0x413afd
mov dword [ebp - 0x64], 0x40edf0
mov dword [ebp - 0xfc], 0
lea ecx, [ebp - 0x170]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x64]
push eax
push 0
push 1
call dword [sym.imp.AUTHZ.dll_AuthzInitializeResourceManager]
mov dword [ebp - 0xfc], eax
cmp dword [0x446e44], 0
jne 0x413b3a
cmp dword [0x44677c], 0
je 0x413b4e
mov ecx, dword [0x4467a0]
imul ecx, dword [0x446790]
mov word [0x43e8b8], cx
mov dword [ebp - 0x220], 0
xor edx, edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0x44
mov eax, dword [ebp - 0x168]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x413b96
mov dword [0x4467a0], 0
lea ecx, [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x78]
push edx
push 0
push 1
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x413bd0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CreateWellKnownSid_Error__u
push 2
call fcn.0041e8ea
add esp, 4
push eax
call fcn.0040eb80
add esp, 0xc
jmp 0x413bfc
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
jne 0x413bef
mov dword [0x446790], 0
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.DLL_LocalFree]
cmp dword [ebp - 0x78], 0
je 0x413c4a
lea eax, [ebp - 0x16c]
push eax
push 0
mov ecx, dword [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
push 0
call dword [sym.imp.AUTHZ.dll_AuthzInitializeContextFromSid]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
je 0x413c4a
mov edx, dword [ebp - 0x16c]
push edx
call dword [sym.imp.AUTHZ.dll_AuthzFreeContext]
mov eax, dword [0x43e8b0]
push eax
mov ecx, dword [0x446e60]
push ecx
call dword [sym.imp.USER32.dll_SetMenu]
test eax, eax
je 0x413c96
mov edx, dword [0x446e60]
mov dword [ebp - 0x2c4], edx
mov eax, dword [0x43e8b0]
mov dword [ebp - 0x2c8], eax
mov ecx, dword [0x4467a0]
mov dword [ebp - 0x2cc], ecx
mov edx, dword [0x4467a0]
add edx, dword [0x446790]
mov dword [ebp - 0x2d0], edx
cmp dword [0x44679c], 0
je 0x413cab
push 0
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [ebp - 0x170]
push ecx
call dword [sym.imp.AUTHZ.dll_AuthzFreeResourceManager]
mov edx, dword [0x43e8b0]
mov eax, dword [edx*4 + 0x4467b0]
mov dword [0x4467a0], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret