Function at 0x47f395
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
lea ebp, [esp - 0x7d0]
sub esp, 0x7d0
push 0xffffffffffffffff
push 0x49da2a
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4b6084]
xor eax, ebp
mov dword [ebp + 0x7cc], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0xe8], 0
cmp dword [ebp + 0x7d8], 0
jne 0x47f405
mov eax, dword [0x4b77fc]
sub eax, dword [0x4b77d4]
cmp eax, dword [0x4b77bc]
jl 0x47f405
movzx eax, word [0x4b71d4]
add eax, dword [0x4b7bbc]
mov dword [0x4b77bc], eax
and dword [ebp - 0xc0], 0
mov dword [ebp - 0x12c], 1
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x7d8]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x118], 1
and dword [ebp - 0x218], 0
mov dword [ebp - 0x230], 0x64
mov dword [ebp - 0x130], 0x10
and dword [ebp - 0x234], 0
mov dword [ebp - 0x1f0], 1
push 0x100
push 0
lea eax, [ebp + 0x4c4]
push eax
call fcn.00483bf0
add esp, 0xc
xor eax, eax
lea edi, [ebp + 0x484]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp + 0x454]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp + 0x494]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, byte [0x4b74f4]
cmp dword [ebp - 0x5c], eax
je 0x47f4b5
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], eax
jmp 0x47f503
mov ecx, dword [0x4b74f4]
add ecx, dword [0x4b7bbc]
mov esi, dword [0x4b7e08]
add esi, 0x41
mov eax, dword [0x4b7604]
cdq
idiv esi
mov esi, eax
add ecx, dword [0x4b7e0c]
add esi, ecx
mov eax, dword [0x4b75fc]
cdq
push 0x22
pop ecx
idiv ecx
sub esi, eax
sub esi, dword [ebp - 0xbc]
movzx eax, byte [ebp - 0xc0]
add eax, dword [0x4b72e4]
add eax, esi
mov dword [0x4b72e4], eax
push 0
push 0
push 0
push 0
call sub.WINTRUST.dll_CryptCATAdminAddCatalog
mov dword [0x4b74f0], eax
and dword [ebp - 0x58], 0
jmp 0x47f522
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x5b
jge 0x47f56e
and dword [ebp - 0x114], 0
lea eax, [ebp - 0x114]
push eax
push 0
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [ebp - 0x1f4], eax
mov eax, dword [0x4b74f4]
imul eax, dword [0x4b71d0]
add eax, dword [0x4b7cc4]
add eax, dword [0x4b7e08]
mov ecx, dword [0x4b7cc4]
sub ecx, eax
mov dword [0x4b7cc4], ecx
jmp 0x47f51b
movzx eax, byte [ebp + 0x494]
mov ecx, dword [ebp - 0x118]
imul ecx, dword [0x4b71d8]
sub eax, ecx
lea eax, [ebp + eax + 0x5c4]
mov ecx, dword [ebp - 0x5c]
sub ecx, eax
mov dword [ebp - 0x5c], ecx
push 0
push 0
push 0
push 0
call sub.WINTRUST.dll_CryptCATAdminCalcHashFromFileHandle
mov dword [0x4b7e08], eax
movzx eax, byte [0x4b71d0]
sub eax, dword [0x4b72e4]
je 0x47f5c8
mov eax, dword [ebp + 0x498]
sub eax, dword [ebp + 0x454]
mov dword [ebp + 0x49c], eax
jmp 0x47f600
mov eax, dword [ebp + 0x48c]
sub eax, dword [0x4b72e4]
add eax, dword [0x4b75fc]
movzx ecx, word [0x4b74f4]
add eax, ecx
mov ecx, dword [0x4b7cc4]
imul ecx, dword [0x4b7bbc]
add eax, ecx
mov ecx, dword [ebp + 0x460]
sub ecx, eax
mov dword [ebp + 0x460], ecx
mov ax, word [0x4b6074]
mov word [ebp - 0x54], ax
and dword [ebp - 0x124], 0
and dword [ebp - 0x11c], 0
and dword [ebp - 0x128], 0
and dword [ebp - 0x120], 0
mov eax, dword [0x4b71cc]
mov dword [ebp - 0xc4], eax
movzx eax, word [ebp - 0x54]
cmp eax, 1
jne 0x47f672
mov eax, dword [ebp - 0x11c]
and eax, 0xffff
movzx eax, ax
mov ecx, dword [ebp - 0x120]
and ecx, 0xffff
movzx ecx, cx
shl ecx, 0x10
or eax, ecx
push eax
push 0
push 0x230
push dword [ebp - 0xc4]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x47f6a8
mov eax, dword [ebp - 0x124]
and eax, 0xffff
movzx eax, ax
mov ecx, dword [ebp - 0x128]
and ecx, 0xffff
movzx ecx, cx
shl ecx, 0x10
or eax, ecx
push eax
push 0
push 0x230
push dword [ebp - 0xc4]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp + 0x5c4]
sub eax, dword [0x4b6074]
cmp eax, dword [0x4b74f4]
jge 0x47f6ce
mov eax, dword [0x4b7bbc]
sub eax, dword [0x4b7cc4]
mov dword [0x4b7bbc], eax
jmp 0x47f6f4
mov eax, dword [0x4b75fc]
lea eax, [ebp + eax + 0x4c4]
sub eax, dword [0x4b7e14]
sub eax, dword [0x4b74f0]
mov ecx, dword [0x4b6074]
sub ecx, eax
mov dword [0x4b6074], ecx
mov eax, dword [ebp - 0x12c]
imul eax, dword [0x4b71d0]
imul eax, dword [0x4b7cc4]
imul eax, dword [0x4b7e08]
imul ecx, dword [ebp - 0x130], 0x23
add eax, ecx
mov dword [0x4b71d8], eax
mov eax, dword [0x4b7e14]
imul eax, dword [0x4b7cc4]
mov ecx, dword [0x4b7e08]
add ecx, 0x45
cdq
idiv ecx
cmp eax, dword [0x4b72e4]
jg 0x47f75d
mov eax, dword [0x4b6074]
cdq
push 0x1a
pop ecx
idiv ecx
lea ecx, [ebp + 0x5c4]
sub eax, ecx
add eax, dword [0x4b7cc4]
mov dword [0x4b7cc4], eax
jmp 0x47f774
lea eax, [ebp + 0x5c4]
movzx eax, ax
movzx ecx, byte [0x4b7cc4]
add eax, ecx
mov dword [0x4b72e4], eax
movzx eax, byte [0x4b7e14]
mov ecx, dword [0x4b74f0]
imul ecx, dword [0x4b7bbc]
sub eax, ecx
sub eax, dword [ebp + 0x49c]
mov ecx, dword [ebp + 0x48c]
sub ecx, eax
mov dword [ebp + 0x48c], ecx
cmp dword [0x4b74f0], 0
je 0x48069f
mov eax, dword [0x4b71cc]
mov dword [ebp - 0x1f8], eax
mov eax, dword [0x4b7cc4]
mov dword [ebp - 0x1fc], eax
and dword [ebp - 0x200], 0
mov dword [ebp + 0x400], 0x3c
and dword [ebp - 0x204], 0
mov eax, dword [0x4b74f0]
mov dword [ebp - 0x208], eax
mov eax, dword [0x4b760c]
inc eax
mov dword [ebp - 0x20c], eax
mov eax, dword [0x4b6074]
add eax, dword [0x4b72e4]
mov dword [ebp - 0x210], eax
mov eax, dword [0x4b7bbc]
sub eax, dword [0x4b7cc4]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x138], 0x4b72e8
mov eax, dword [0x4b74f0]
mov dword [ebp - 0x134], eax
push dword [0x4b7bbc]
push dword [0x4b71cc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x8c], 0x38
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x8c], 0
je 0x47f878
mov eax, dword [ebp - 0x60]
mov byte [eax], 0
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x8c]
dec eax
mov dword [ebp - 0x8c], eax
jmp 0x47f853
mov dword [ebp - 0x1ec], 0x18
mov dword [ebp - 0x1e0], 0x20
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1ec]
push eax
push 0
push 0x110c
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x1e4]
and eax, 0x20
je 0x47f8c6
mov dword [ebp - 0xc8], 1
jmp 0x47f8cd
and dword [ebp - 0xc8], 0
mov al, byte [ebp - 0xc8]
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1ec]
push eax
push 0
push 0x110c
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x1e4]
and eax, 0x20
je 0x47f910
mov dword [ebp - 0xcc], 1
jmp 0x47f917
and dword [ebp - 0xcc], 0
mov al, byte [ebp - 0xcc]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1ec]
push eax
push 0
push 0x110c
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x1e4]
and eax, 0x20
je 0x47f95a
mov dword [ebp - 0xe0], 1
jmp 0x47f961
and dword [ebp - 0xe0], 0
mov al, byte [ebp - 0xe0]
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1ec]
push eax
push 0
push 0x110c
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x1e4]
and eax, 0x20
je 0x47f9a4
mov dword [ebp - 0xd0], 1
jmp 0x47f9ab
and dword [ebp - 0xd0], 0
mov al, byte [ebp - 0xd0]
mov byte [ebp - 0x19], al
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
push str._d__d__d__d
push dword [ebp - 0x134]
push dword [ebp - 0x138]
call fcn.00480b76
add esp, 0x1c
lea eax, [ebp + 0x6c]
mov dword [ebp - 0x88], eax
mov eax, dword [0x4b74f0]
mov dword [ebp - 0x148], eax
mov eax, dword [0x4b7e08]
mov dword [ebp - 0x144], eax
mov eax, dword [0x4b71d4]
mov dword [ebp - 0x140], eax
push 0x44
push dword [ebp - 0x88]
lea eax, [ebp + 0x1b4]
push eax
call fcn.00483670
add esp, 0xc
mov dword [ebp + 0x1bc], 0x24c
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x88]
add eax, 0x44
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov dword [ebp - 0x13c], eax
cmp dword [0x4b74f0], 0
je 0x47fa78
push dword [ebp - 0x13c]
lea eax, [ebp + 0x1f8]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x88]
add eax, 0x44
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
cmp dword [0x4b7e0c], 0
jne 0x47fa9f
push dword [ebp - 0x140]
push dword [ebp - 0x144]
push dword [ebp - 0x148]
lea eax, [ebp + 0x1b4]
push eax
call sub.mscms.dll_CreateColorTransformW
mov eax, dword [0x4b71cc]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4b74f0]
mov dword [ebp - 0x14c], eax
mov eax, dword [0x4b7bbc]
mov dword [ebp - 0x228], eax
mov eax, dword [0x4b7cc4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x136
ja 0x47fb10
cmp dword [ebp - 0x18], 0x136
je 0x47ff64
cmp dword [ebp - 0x18], 0x20
je 0x4800f3
cmp dword [ebp - 0x18], 0x4e
je 0x4800b2
cmp dword [ebp - 0x18], 0x7b
je 0x47ff88
cmp dword [ebp - 0x18], 0x110
je 0x47fb49
jmp 0x480525
cmp dword [ebp - 0x18], 0x138
je 0x47ff76
cmp dword [ebp - 0x18], 0x200
je 0x4802e5
cmp dword [ebp - 0x18], 0x201
je 0x48018e
cmp dword [ebp - 0x18], 0x202
je 0x4804f7
jmp 0x480525
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x22c], eax
push dword [0x4b7bbc]
push 8
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [ebp - 0x7c], 0x3c
lea eax, [ebp + 0x10]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x7c], 0
je 0x47fb98
mov eax, dword [ebp - 0x84]
mov byte [eax], 0
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
jmp 0x47fb73
mov dword [ebp + 0x10], 0x3c
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowInfo]
lea eax, [ebp + 0x4b4]
push eax
push dword [0x4b71cc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0x4bc]
sub eax, dword [ebp + 0x4b4]
mov ecx, dword [0x4b7cc4]
sub ecx, eax
mov dword [ebp - 0x78], ecx
je 0x47fced
mov eax, dword [ebp + 0x4b4]
sub eax, dword [ebp + 0x24]
mov dword [ebp + 0x4b4], eax
mov eax, dword [ebp + 0x4b8]
sub eax, dword [ebp + 0x28]
mov dword [ebp + 0x4b8], eax
mov eax, dword [ebp + 0x4bc]
sub eax, dword [ebp + 0x24]
mov dword [ebp + 0x4bc], eax
mov eax, dword [ebp + 0x4c0]
sub eax, dword [ebp + 0x28]
mov dword [ebp + 0x4c0], eax
mov eax, dword [ebp + 0x4bc]
add eax, dword [ebp - 0x78]
mov dword [ebp + 0x4bc], eax
push 0
mov eax, dword [ebp + 0x4c0]
sub eax, dword [ebp + 0x4b8]
push eax
mov eax, dword [ebp + 0x4bc]
sub eax, dword [ebp + 0x4b4]
push eax
push dword [ebp + 0x4b8]
push dword [ebp + 0x4b4]
push dword [0x4b7e10]
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ebp + 0x4b4]
push eax
push dword [0x4b7e10]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0x4b4]
sub eax, dword [ebp + 0x24]
mov dword [ebp + 0x4b4], eax
mov eax, dword [ebp + 0x4b8]
sub eax, dword [ebp + 0x28]
mov dword [ebp + 0x4b8], eax
mov eax, dword [ebp + 0x4bc]
sub eax, dword [ebp + 0x24]
mov dword [ebp + 0x4bc], eax
mov eax, dword [ebp + 0x4c0]
sub eax, dword [ebp + 0x28]
mov dword [ebp + 0x4c0], eax
mov eax, dword [ebp + 0x4b4]
add eax, dword [ebp - 0x78]
mov dword [ebp + 0x4b4], eax
push 0
mov eax, dword [ebp + 0x4c0]
sub eax, dword [ebp + 0x4b8]
push eax
mov eax, dword [ebp + 0x4bc]
sub eax, dword [ebp + 0x4b4]
push eax
push dword [ebp + 0x4b8]
push dword [ebp + 0x4b4]
push dword [0x4b7e10]
call dword [sym.imp.USER32.dll_MoveWindow]
mov dword [ebp - 0x74], 0x10
lea eax, [ebp + 0x474]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x74], 0
je 0x47fd25
mov eax, dword [ebp - 0x90]
mov byte [eax], 0
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x74]
dec eax
mov dword [ebp - 0x74], eax
jmp 0x47fd00
lea eax, [ebp + 0x474]
push eax
push dword [0x4b7e10]
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0xb0], 0x10
lea eax, [ebp + 0x464]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0xb0], 0
je 0x47fd70
mov eax, dword [ebp - 0x70]
mov byte [eax], 0
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xb0]
dec eax
mov dword [ebp - 0xb0], eax
jmp 0x47fd4b
lea eax, [ebp + 0x464]
push eax
push dword [0x4b7e10]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 0x46c]
sub eax, dword [ebp + 0x47c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x470]
sub eax, dword [ebp + 0x480]
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb8], 0
jne 0x47fdbd
cmp dword [ebp - 0xb4], 0
je 0x47fee6
lea eax, [ebp + 0x4b4]
push eax
push dword [0x4b7e10]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 0x4b4]
sub eax, dword [ebp + 0x24]
mov dword [ebp + 0x4b4], eax
mov eax, dword [ebp + 0x4b8]
sub eax, dword [ebp + 0x28]
mov dword [ebp + 0x4b8], eax
mov eax, dword [ebp + 0x4bc]
sub eax, dword [ebp + 0x24]
mov dword [ebp + 0x4bc], eax
mov eax, dword [ebp + 0x4c0]
sub eax, dword [ebp + 0x28]
mov dword [ebp + 0x4c0], eax
mov eax, dword [ebp + 0x4bc]
add eax, dword [ebp - 0xb8]
mov dword [ebp + 0x4bc], eax
mov eax, dword [ebp + 0x4c0]
add eax, dword [ebp - 0xb4]
mov dword [ebp + 0x4c0], eax
push 0
mov eax, dword [ebp + 0x4c0]
sub eax, dword [ebp + 0x4b8]
push eax
mov eax, dword [ebp + 0x4bc]
sub eax, dword [ebp + 0x4b4]
push eax
push dword [ebp + 0x4b8]
push dword [ebp + 0x4b4]
push dword [0x4b71cc]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp + 0x4b4]
sub eax, dword [ebp + 0x24]
mov dword [ebp + 0x4b4], eax
mov eax, dword [ebp + 0x4b8]
sub eax, dword [ebp + 0x28]
mov dword [ebp + 0x4b8], eax
mov eax, dword [ebp + 0x4bc]
sub eax, dword [ebp + 0x24]
mov dword [ebp + 0x4bc], eax
mov eax, dword [ebp + 0x4c0]
sub eax, dword [ebp + 0x28]
mov dword [ebp + 0x4c0], eax
mov eax, dword [ebp + 0x4c0]
add eax, dword [ebp - 0xb4]
mov dword [ebp + 0x4c0], eax
push 0
mov eax, dword [ebp + 0x4c0]
sub eax, dword [ebp + 0x4b8]
push eax
mov eax, dword [ebp + 0x4bc]
sub eax, dword [ebp + 0x4b4]
push eax
push dword [ebp + 0x4b8]
push dword [ebp + 0x4b4]
push dword [0x4b7e10]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x150], eax
mov eax, dword [0x4b74f0]
mov dword [ebp - 0xd4], eax
push dword [ebp - 0x150]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 1
push dword [ebp - 0xd4]
push 0x30
push dword [0x4b71cc]
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
push dword [ebp - 0xd4]
push 0x30
push dword [0x4b71cc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x154], 0xc
lea eax, [ebp - 0x154]
push eax
push 1
push 0xcb
push dword [0x4b71cc]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x480525
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x480b54
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x480b54
mov dword [ebp - 0x94], 0x38
lea eax, [ebp - 0x270]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0x94], 0
je 0x47ffcc
mov eax, dword [ebp - 0xac]
mov byte [eax], 0
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x94]
dec eax
mov dword [ebp - 0x94], eax
jmp 0x47ff9e
mov dword [ebp - 0x270], 4
mov eax, dword [ebp - 0x20]
and eax, 0xffff
cwde
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x20]
shr eax, 0x10
and eax, 0xffff
cwde
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x50], 0xffffffff
jne 0x48005c
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x48005c
push 0
push 9
push 0x110a
push dword [0x4b71cc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp], eax
lea eax, [ebp]
push eax
push 1
push 0x1104
push dword [0x4b71cc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 8]
sub eax, 8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
sub eax, 8
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
push dword [0x4b71cc]
call dword [sym.imp.USER32.dll_ClientToScreen]
jmp 0x4800ad
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x170], eax
and dword [ebp - 0x16c], 0
and dword [ebp - 0x168], 0
lea eax, [ebp - 0x174]
push eax
push 0
push 0x1111
push dword [0x4b71cc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x16c]
and eax, 0x46
je 0x4800ad
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x26c], eax
jmp 0x480525
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov eax, dword [eax + 8]
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0xfffffffb
je 0x4800d9
jmp 0x4800ee
push 1
push 0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor eax, eax
inc eax
jmp 0x480b54
jmp 0x480525
lea eax, [ebp + 0x5c]
push eax
push dword [0x4b7bbc]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp + 0x4c]
push eax
push dword [0x4b7cc4]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp + 0x64]
jl 0x480189
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp + 0x4c]
jge 0x480189
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp + 0x60]
jl 0x480189
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp + 0x68]
jge 0x480189
push 0x7f84
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 1
push 0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
xor eax, eax
inc eax
jmp 0x480b54
jmp 0x480525
mov eax, dword [ebp - 0x20]
and eax, 0xffff
cwde
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x20]
shr eax, 0x10
and eax, 0xffff
cwde
mov dword [ebp - 0xd8], eax
lea eax, [ebp + 0x5c]
push eax
push dword [0x4b7bbc]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp + 0x4c]
push eax
push dword [0x4b7cc4]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0xa4], 0x3c
lea eax, [ebp + 0x10]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa4], 0
je 0x480221
mov eax, dword [ebp - 0xa8]
mov byte [eax], 0
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa4]
dec eax
mov dword [ebp - 0xa4], eax
jmp 0x4801f3
mov dword [ebp + 0x10], 0x3c
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowInfo]
mov eax, dword [ebp + 0x64]
sub eax, dword [ebp + 0x24]
cmp dword [ebp - 0x80], eax
jl 0x4802e0
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x24]
cmp dword [ebp - 0x80], eax
jge 0x4802e0
mov eax, dword [ebp + 0x60]
sub eax, dword [ebp + 0x28]
cmp dword [ebp - 0xd8], eax
jl 0x4802e0
mov eax, dword [ebp + 0x68]
sub eax, dword [ebp + 0x28]
cmp dword [ebp - 0xd8], eax
jge 0x4802e0
mov byte [0x4b7e2c], 1
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [0x4b74f0]
inc eax
inc eax
mov dword [ebp - 0x160], eax
mov eax, dword [0x4b71d4]
add eax, 4
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x64]
sub eax, dword [ebp + 0x24]
mov dword [0x4b7e18], eax
mov eax, dword [ebp + 0x5c]
sub eax, dword [ebp + 0x24]
add eax, dword [ebp - 0x160]
mov dword [0x4b7e20], eax
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x24]
mov dword [0x4b7e1c], eax
mov eax, dword [ebp + 0x54]
sub eax, dword [ebp + 0x24]
sub eax, dword [ebp - 0x164]
mov dword [0x4b7e24], eax
mov eax, dword [ebp - 0x80]
sub eax, dword [0x4b7e18]
mov dword [0x4b7e28], eax
jmp 0x480525
movzx eax, byte [0x4b7e2c]
test eax, eax
je 0x4804f5
mov eax, dword [ebp - 0x20]
and eax, 0xffff
cwde
mov dword [ebp - 0xfc], eax
push dword [0x4b7cc4]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xdc], eax
lea eax, [ebp + 0x5c]
push eax
push dword [ebp - 0xdc]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [0x4b7bbc]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0xe4], eax
lea eax, [ebp + 0x4c]
push eax
push dword [ebp - 0xe4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [ebp - 0x9c], 0x3c
lea eax, [ebp + 0x10]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x9c], 0
je 0x48038e
mov eax, dword [ebp - 0xa0]
mov byte [eax], 0
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x9c]
dec eax
mov dword [ebp - 0x9c], eax
jmp 0x480360
mov dword [ebp + 0x10], 0x3c
lea eax, [ebp + 0x10]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowInfo]
mov eax, dword [ebp - 0xfc]
sub eax, dword [0x4b7e28]
mov dword [0x4b7e18], eax
mov eax, dword [0x4b7e18]
cmp eax, dword [0x4b7e20]
jge 0x4803ca
mov eax, dword [0x4b7e20]
mov dword [0x4b7e18], eax
mov eax, dword [0x4b7e18]
cmp eax, dword [0x4b7e24]
jle 0x4803e1
mov eax, dword [0x4b7e24]
mov dword [0x4b7e18], eax
mov eax, dword [ebp + 0x4c]
sub eax, dword [ebp + 0x64]
add eax, dword [0x4b7e18]
mov dword [0x4b7e1c], eax
push 0
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push 2
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov dword [ebp - 0x28], eax
push 0x314
mov eax, dword [ebp + 0x68]
sub eax, dword [ebp + 0x60]
push eax
mov eax, dword [ebp + 0x5c]
sub eax, dword [ebp + 0x24]
mov ecx, dword [0x4b7e18]
sub ecx, eax
push ecx
mov eax, dword [ebp + 0x60]
sub eax, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x5c]
sub eax, dword [ebp + 0x24]
push eax
push 0
push dword [ebp - 0xdc]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov dword [ebp - 0x28], eax
push 0x314
mov eax, dword [ebp + 0x58]
sub eax, dword [ebp + 0x50]
push eax
mov eax, dword [ebp + 0x54]
sub eax, dword [0x4b7e1c]
sub eax, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x50]
sub eax, dword [ebp + 0x28]
push eax
push dword [0x4b7e1c]
push 0
push dword [ebp - 0xe4]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_DeferWindowPos]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4804f5
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov dword [ebp - 0x104], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
jne 0x4804af
cmp dword [ebp - 0x104], 0
jne 0x4804f5
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [0x4b7e2c], 0
push 0
push 0
push 5
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x4a5468
lea ecx, [ebp + 0x43c]
call fcn.0047c87c
and dword [ebp - 4], 0
lea ecx, [ebp + 0x43c]
call fcn.00480d87
or dword [ebp - 4], 0xffffffff
jmp 0x480525
movzx eax, byte [0x4b7e2c]
test eax, eax
je 0x480525
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [0x4b7e2c], 0
push 0
push 0
push 5
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x4b7e08]
mov dword [ebp - 0x44], eax
mov eax, 0xff
mov word [ebp + 0x4ac], ax
mov eax, 0xff
mov word [ebp + 0x4ae], ax
mov eax, 0xff
mov word [ebp + 0x4b0], ax
push 8
push 0
lea eax, [ebp + 0x4a4]
push eax
call fcn.00483bf0
add esp, 0xc
push 7
lea eax, [ebp + 0x4a4]
push eax
push 2
push 1
lea eax, [ebp + 0x4ac]
push eax
push dword [ebp - 0x44]
call sub.mscms.dll_TranslateColors
test eax, eax
je 0x48058f
mov eax, dword [0x4b7bbc]
inc eax
mov dword [0x4b7bbc], eax
mov eax, 0xff
mov word [ebp + 0x4ac], ax
xor eax, eax
mov word [ebp + 0x4ae], ax
xor eax, eax
mov word [ebp + 0x4b0], ax
push 8
push 0
lea eax, [ebp + 0x4a4]
push eax
call fcn.00483bf0
add esp, 0xc
push 7
lea eax, [ebp + 0x4a4]
push eax
push 2
push 1
lea eax, [ebp + 0x4ac]
push eax
push dword [ebp - 0x44]
call sub.mscms.dll_TranslateColors
test eax, eax
je 0x4805eb
mov eax, dword [0x4b7bbc]
inc eax
mov dword [0x4b7bbc], eax
xor eax, eax
mov word [ebp + 0x4ac], ax
mov eax, 0xff
mov word [ebp + 0x4ae], ax
xor eax, eax
mov word [ebp + 0x4b0], ax
push 8
push 0
lea eax, [ebp + 0x4a4]
push eax
call fcn.00483bf0
add esp, 0xc
push 7
lea eax, [ebp + 0x4a4]
push eax
push 2
push 1
lea eax, [ebp + 0x4ac]
push eax
push dword [ebp - 0x44]
call sub.mscms.dll_TranslateColors
test eax, eax
je 0x480647
mov eax, dword [0x4b7bbc]
inc eax
mov dword [0x4b7bbc], eax
xor eax, eax
mov word [ebp + 0x4ac], ax
xor eax, eax
mov word [ebp + 0x4ae], ax
mov eax, 0xff
mov word [ebp + 0x4b0], ax
push 8
push 0
lea eax, [ebp + 0x4a4]
push eax
call fcn.00483bf0
add esp, 0xc
push 7
lea eax, [ebp + 0x4a4]
push eax
push 2
push 1
lea eax, [ebp + 0x4ac]
push eax
push dword [ebp - 0x44]
call sub.mscms.dll_TranslateColors
test eax, eax
je 0x48069f
and dword [0x4b7bbc], 0
movzx ecx, byte [0x4b75fc]
imul ecx, dword [0x4b74f4]
sub ecx, dword [0x4b77ec]
mov esi, dword [0x4b71cc]
add esi, 0x5d
mov eax, dword [0x4b71d4]
cdq
idiv esi
imul eax, dword [0x4b7cc4]
add ecx, eax
movzx eax, word [0x4b77f8]
add ecx, eax
sub ecx, dword [0x4b71d0]
add ecx, dword [0x4b7cc4]
mov dword [0x4b7cc4], ecx
mov eax, dword [0x4b7e08]
cdq
push 0x12
pop ecx
idiv ecx
mov ecx, eax
add ecx, dword [0x4b74f0]
add ecx, dword [0x4b77c0]
mov esi, dword [0x4b71d8]
add esi, 0x42
mov eax, dword [0x4b77b4]
cdq
idiv esi
sub ecx, eax
movzx eax, word [0x4b77c8]
add ecx, dword [0x4b77cc]
add eax, ecx
mov dword [0x4b77f0], eax
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 1
mov eax, dword [ebp + 0x7d8]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4b71cc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], 0x96
mov dword [ebp - 0x38], 6
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x48], 0
mov dword [ebp - 0x98], 1
mov eax, dword [ebp + 0x7d8]
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x18c], 0x4b74f8
mov dword [ebp - 0x1ac], 0x480c94
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [0x4b71d4], eax
mov dword [ebp - 0x1b0], 8
mov dword [ebp - 0x1b4], 0x30
mov eax, dword [ebp - 0x2c]
add eax, dword [0x4b7bbc]
je 0x4807c5
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x19c], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x188], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x198], eax
and dword [ebp - 0x190], 0
and dword [ebp - 0x1a8], 0
and dword [ebp - 0x1a4], 0
push 1
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x34]
imul eax, eax, 0x22
mov ecx, dword [0x4b75fc]
add ecx, dword [0x4b74f0]
imul eax, ecx
mov ecx, dword [0x4b6074]
add ecx, dword [ebp - 0x38]
imul eax, ecx
mov ecx, dword [0x4b7e10]
imul ecx, dword [0x4b74f0]
add eax, ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4b75fc]
add eax, dword [ebp - 0x68]
mov dword [0x4b7cc4], eax
push 0
push dword [ebp + 0x7d8]
push 0
push 0
push 0x177
push 0x2e8
push SysReAllocString
push SysReAllocString
push 0xcf0000
push str.Window
push 0x4b74f8
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x10c], eax
movzx eax, word [0x4b6074]
push eax
push dword [ebp + 0x7d8]
call dword [sym.imp.USER32.dll_LoadMenuA]
mov dword [ebp - 0x108], eax
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [0x4b71d8]
imul eax, dword [ebp - 0x98]
mov ecx, dword [0x4b7cc4]
imul ecx, dword [0x4b7bbc]
imul ecx, dword [0x4b74f0]
add ecx, dword [0x4b71d4]
add ecx, eax
mov dword [0x4b71d4], ecx
mov eax, dword [0x4b72e4]
add eax, dword [ebp - 0x48]
mov ecx, dword [0x4b7bbc]
shl ecx, 1
sub eax, ecx
add eax, dword [ebp - 0x6c]
mov dword [ebp - 0x6c], eax
mov eax, dword [0x4b71d4]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x194]
add eax, dword [ebp - 0x198]
add eax, dword [ebp - 0x19c]
mov dword [0x4b77b4], eax
mov eax, dword [ebp - 0x30]
inc eax
imul eax, dword [0x4b71d0]
imul eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
mov dword [0x4b7cc4], eax
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jge 0x48096e
cmp dword [ebp - 0x98], 0
je 0x480af7
lea eax, [ebp - 0x24]
push eax
push 0x4a5acc
push 4
push 0
push 0x4a5adc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [ebp - 0x24], 0
jne 0x480999
cmp dword [ebp - 0x98], 0
je 0x480af1
lea eax, [ebp - 0x184]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call dword [sym.imp.OLEAUT32.dll_GetActiveObject]
mov dword [0x4b7e14], eax
mov eax, dword [0x4b75fc]
add eax, dword [0x4b6074]
imul eax, dword [0x4b72e4]
mov ecx, dword [0x4b74f0]
add ecx, 0x32
imul ecx, ecx, 0xa
add eax, dword [ebp - 0x2c]
add ecx, eax
mov eax, dword [0x4b7bbc]
lea eax, [eax + ecx + 7]
mov dword [0x4b7bbc], eax
push str.http:__microsoft.com
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0xf0], eax
mov eax, dword [0x4b71d4]
mov dword [0x4b7e0c], eax
cmp dword [0x4b7e10], 0
jne 0x480a19
cmp dword [0x4b7e08], 0
je 0x480ac3
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x184]
push eax
push dword [ebp - 0xf0]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [ebp - 0x24]
call dword [eax + 0x2c]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jl 0x480a97
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x30]
imul eax, eax, 0x22
mov ecx, dword [0x4b75fc]
add ecx, dword [ebp - 0x3c]
imul eax, ecx
mov ecx, dword [0x4b6074]
add ecx, dword [ebp - 0x34]
imul eax, ecx
mov ecx, dword [ebp - 0x38]
imul ecx, dword [0x4b74f0]
add eax, ecx
mov dword [ebp - 0x6c], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [ebp - 0x24]
call dword [eax + 0xa4]
jmp 0x480ac3
mov eax, dword [ebp - 0x2c]
add eax, dword [0x4b72e4]
add eax, dword [ebp - 0x48]
mov dword [0x4b7bbc], eax
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
push dword [ebp - 0x24]
call dword [eax + 0x80]
push dword [ebp - 0xf0]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [0x4b7cc4]
add eax, dword [0x4b6074]
mov ecx, dword [0x4b6074]
inc ecx
mov edx, dword [ebp - 0xec]
sub edx, ecx
imul eax, edx
mov dword [0x4b72e4], eax
call dword [sym.imp.ole32.dll_OleUninitialize]
cmp dword [0x4b71cc], 0
je 0x480b52
push 0
push 0
push 0
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x480b52
mov eax, dword [0x4b7cc4]
imul eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x34]
mov dword [0x4b7bbc], eax
mov eax, dword [ebp - 0x68]
dec eax
imul eax, dword [ebp - 0x38]
add eax, dword [0x4b71cc]
imul eax, dword [0x4b7cc4]
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x480b00
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x7cc]
xor ecx, ebp
call fcn.00481163
add ebp, 0x7d0
leave
ret