Function at 0x1004f820
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10138e7a
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x10182440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3b8], edi
cmp dword [edi], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x380], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3a0], eax
je 0x10051867
lea eax, [edi + 0x2a4]
push eax
lea esi, [edi + 0x110]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, esi
call fcn.10055240
push 0
lea ecx, [edi + 0x110]
mov esi, eax
call fcn.10055750
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1004f967
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x1004f8e2
add ecx, 0x38
call fcn.10059280
test al, al
je 0x1004f8e2
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.10059290
test al, al
jne 0x1004f942
lea eax, [edi + 0xc8]
mov dword [ebp - 0x388], 0
mov ecx, eax
mov dword [ebp - 0x384], eax
call fcn.100552f0
test eax, eax
jle 0x1004f942
mov edi, dword [ebp - 0x388]
nop dword [eax]
cmp dword [esi + 0x108], 0
je 0x1004f93c
mov ecx, dword [ebp - 0x384]
push edi
call fcn.10054bc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x384]
inc edi
call fcn.100552f0
cmp edi, eax
jl 0x1004f910
mov edi, dword [ebp - 0x3b8]
lea ecx, [esi + 0x84]
call fcn.10012180
mov ecx, esi
call fcn.10012180
push 0x120
push esi
call fcn.100c3f2a
add esp, 8
jmp 0x1004f879
lea ecx, [edi + 0xec]
mov dword [ebp - 0x384], 0
call fcn.100552f0
mov esi, dword [ebp - 0x38c]
test eax, eax
jle 0x1004f9e4
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [edi + 0xec]
mov byte [ebp - 0x399], 0
call fcn.10054bc0
lea ecx, [ebp - 0x399]
push ecx
push esi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x380]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x399], 0
jne 0x1005092f
inc dword [ebp - 0x384]
lea ecx, [edi + 0xec]
call fcn.100552f0
mov ecx, dword [ebp - 0x384]
cmp ecx, eax
jl 0x1004f990
mov edx, dword [ebp + 8]
cmp edx, 0x111
ja 0x1005096e
je 0x1005093e
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x10050cbf
movzx eax, byte [eax + 0x100518b8]
jmp dword [eax*4 + 0x10051888]
mov eax, dword [edi + 0x70]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], eax
mov eax, dword [edi + 0x74]
movlpd qword [ebp - 0x238], xmm0
movlpd qword [ebp - 0x224], xmm0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x228], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x230], eax
test ecx, ecx
je 0x1004fa76
mov dword [ebp - 0x238], 0xa
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x1004fa9c
mov dword [ebp - 0x238], 0xe
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
push 0
mov ecx, edi
call fcn.100539b0
push 4
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x10050cbf
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x10050cbf
cmp dword [edi + 0x2a0], 0
jne 0x1004fadf
push 0
push 0
push dword [edi]
mov byte [edi + 0xbd], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x3a0]
mov al, 1
mov dword [ecx], 1
jmp 0x10051869
push 0
lea eax, [ebp - 0x268]
xorps xmm0, xmm0
push eax
push dword [edi]
movups xmmword [ebp - 0x268], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x10050937
cmp dword [edi + 0x58], 0
jne 0x1004fb53
push 0x40
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.10106340
add esp, 0xc
lea eax, [ebp - 0x2b8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x2b8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x10051869
cmp byte [edi + 0xc0], 0
je 0x100500f2
push 0xffffffffffffffec
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x1004fb81
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x248]
xorps xmm0, xmm0
push eax
push dword [edi]
movups xmmword [ebp - 0x248], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x40
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.10106340
add esp, 0xc
lea eax, [ebp - 0x2b8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1004fbca
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x1004fbda
push eax
call esi
cmp byte [edi + 0xbd], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
je 0x1004fd08
lea eax, [ebp - 0x248]
mov byte [edi + 0xbd], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1004fd08
mov ecx, dword [edi + 0x58]
call fcn.1005a740
test al, al
je 0x1004fc5c
mov eax, dword [edi + 0x10]
test eax, eax
je 0x1004fc2b
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1004fc35
push eax
call esi
mov ecx, dword [edi + 0x58]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x248]
mov dword [edi + 0x10], 0
mov eax, esp
mov dword [edi + 0x18], 0
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x38]
jmp 0x1004fcc0
mov ecx, dword [edi + 0x58]
push SysReAllocString
push 0
push 0x10054560
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x384], eax
test eax, eax
je 0x1004fcc0
nop
mov esi, dword [eax]
mov ecx, eax
mov edx, dword [esi + 0x34]
call edx
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x384]
call dword [esi + 0x38]
mov ecx, dword [edi + 0x58]
push SysReAllocString
push 0
push 0x10054560
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x384], eax
test eax, eax
jne 0x1004fc80
cmp byte [edi + 0xbc], 0
movups xmm0, xmmword [ebp - 0x248]
movups xmmword [edi + 0x290], xmm0
je 0x1004fcf3
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0x58]
mov ecx, edi
mov byte [edi + 0xbc], 0
call fcn.100530b0
push 0
push 0
push 0
push str.windowresized
push dword [edi + 0x58]
mov ecx, edi
call fcn.100530b0
cmp byte [edi + 0xbe], 0
je 0x1004fd1a
push 1
mov ecx, edi
call fcn.10053de0
lea esi, [edi + 0x290]
push esi
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x240]
xorps xmm0, xmm0
sub eax, dword [ebp - 0x248]
movups xmmword [esi], xmm0
mov esi, dword [ebp - 0x23c]
sub esi, dword [ebp - 0x244]
cmp byte [edi + 0xbf], 0
mov dword [ebp - 0x380], eax
je 0x1004fd8d
cmp dword [edi + 0x18], 0
jne 0x1004fd8d
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi + 0x10], eax
lea eax, [edi + 0x1c]
push eax
push esi
push dword [ebp - 0x380]
push dword [edi + 8]
call fcn.1005dd60
add esp, 0x10
mov dword [edi + 0x18], eax
cmp dword [edi + 0x1c], 0
je 0x1004fb3d
push dword [edi + 0x18]
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x10]
mov dword [ebp - 0x394], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov esi, dword [ebp - 0x244]
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x384], esi
cmp esi, dword [ebp - 0x23c]
jge 0x1004fe24
imul esi, dword [ebp - 0x380]
shl esi, 2
nop word [eax + eax]
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x248]
shl eax, 2
push eax
mov eax, dword [edi + 0x1c]
add eax, esi
push 0
push eax
call fcn.10106340
mov edx, dword [ebp - 0x380]
add esp, 0xc
mov eax, dword [ebp - 0x384]
inc eax
mov dword [ebp - 0x384], eax
lea ecx, [edx*4]
add esi, ecx
cmp eax, dword [ebp - 0x23c]
jl 0x1004fde0
mov ecx, dword [edi + 0x58]
lea edx, [ebp - 0x268]
push edx
push dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x168]
mov ecx, dword [edi + 0x280]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x3b8], esi
test ecx, ecx
je 0x1004fe98
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov esi, dword [edi]
test al, al
je 0x1004fe66
call dword [sym.imp.USER32.dll_GetFocus]
cmp esi, eax
je 0x1004fe92
push 0xf1
push esi
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [edi + 0x27c], 0
je 0x1004fe89
lea eax, [edi + 0x26c]
mov ecx, edi
push eax
call fcn.1004f560
mov byte [edi + 0x27c], 0
jmp 0x1004ff04
mov esi, dword [ebp - 0x3b8]
cmp byte [edi + 0x27c], 0
je 0x1004ff04
cmp byte [edi + 0x27d], 0
je 0x1004ff04
cmp dword [edi + 0x280], 0
je 0x1004ff04
lea eax, [edi + 0x26c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x258]
push eax
movups xmmword [ebp - 0x258], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x1004ff04
mov ecx, dword [edi + 0x280]
call fcn.1006a290
test eax, eax
jne 0x1004fef1
mov eax, dword [edi + 0x154]
push 0
push eax
lea eax, [ebp - 0x258]
push eax
push esi
call fcn.1005e1b0
add esp, 0x10
xor esi, esi
lea ecx, [edi + 0x284]
mov dword [ebp - 0x388], esi
call fcn.100552f0
test eax, eax
jle 0x1005001e
nop
push esi
lea ecx, [edi + 0x284]
call fcn.10054bc0
mov esi, eax
test esi, esi
je 0x1004fffe
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x34]
call edx
mov ecx, esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x258], xmm0
call fcn.1006a120
mov dword [ebp - 0x3b8], eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x258]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x1004fffe
mov esi, dword [ebp - 0x254]
mov edx, dword [ebp - 0x24c]
cmp esi, edx
jge 0x1004fffe
mov eax, dword [ebp - 0x380]
imul eax, esi
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x250]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x38c], ecx
cmp ecx, eax
jge 0x1004ffed
mov edx, dword [ebp - 0x384]
lea edx, [edx + ecx]
shl edx, 2
nop dword [eax]
mov eax, dword [edi + 0x1c]
lea edx, [edx + 4]
mov ecx, dword [ebp - 0x3b8]
mov byte [eax + edx - 1], cl
mov ecx, dword [ebp - 0x38c]
mov eax, dword [ebp - 0x250]
inc ecx
mov dword [ebp - 0x38c], ecx
cmp ecx, eax
jl 0x1004ffc0
mov edx, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0x380]
inc esi
add dword [ebp - 0x384], ecx
cmp esi, edx
jl 0x1004ffa0
mov esi, dword [ebp - 0x388]
lea ecx, [edi + 0x284]
inc esi
mov dword [ebp - 0x388], esi
call fcn.100552f0
cmp esi, eax
jl 0x1004ff20
push dword [ebp - 0x3a4]
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x228]
xorps xmm0, xmm0
push eax
push dword [edi]
movups xmmword [ebp - 0x228], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x248]
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x23c]
sub eax, dword [ebp - 0x244]
push 2
mov dword [ebp - 0x3bc], eax
lea eax, [ebp - 0x3a0]
push eax
push 0
lea eax, [ebp - 0x3c8]
mov dword [ebp - 0x3c8], 0
push eax
push dword [edi + 0x10]
lea eax, [ebp - 0x3c0]
mov dword [ebp - 0x3c4], 0
push eax
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0x3a0], 0x1ff0000
push eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [ebp - 0x394]
push dword [edi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x2b8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x10051869
cmp byte [edi + 0xbd], 0
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
je 0x10050260
lea eax, [ebp - 0x228]
mov byte [edi + 0xbd], 0
push eax
push dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x228], xmm0
call esi
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x10050260
mov ecx, dword [edi + 0x58]
call fcn.1005a740
mov ecx, dword [edi + 0x58]
test al, al
je 0x100501ba
movups xmm0, xmmword [ebp - 0x228]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x38]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10050167
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x14]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x10050177
push eax
call esi
cmp byte [edi + 0xc0], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
jne 0x10050220
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100501a0
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100501aa
push eax
call esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
jmp 0x10050220
mov eax, dword [ecx]
push SysReAllocString
push 0
push 0x10054560
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x388], eax
test eax, eax
je 0x10050226
nop word [eax + eax]
mov esi, dword [eax]
mov ecx, eax
mov edx, dword [esi + 0x34]
call edx
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x388]
call dword [esi + 0x38]
mov ecx, dword [edi + 0x58]
push SysReAllocString
push 0
push 0x10054560
mov eax, dword [ecx]
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x388], eax
test eax, eax
jne 0x100501e0
mov esi, dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0xbc], 0
je 0x1005024b
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0x58]
mov ecx, edi
mov byte [edi + 0xbc], 0
call fcn.100530b0
push 0
push 0
push 0
push str.windowresized
push dword [edi + 0x58]
mov ecx, edi
call fcn.100530b0
cmp byte [edi + 0xbe], 0
je 0x10050272
push 1
mov ecx, edi
call fcn.10053de0
cmp byte [edi + 0xbf], 0
je 0x100502c8
cmp dword [edi + 0x14], 0
jne 0x100502c8
lea eax, [ebp - 0x258]
xorps xmm0, xmm0
push eax
push dword [edi]
movups xmmword [ebp - 0x258], xmm0
call esi
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x24c]
sub eax, dword [ebp - 0x254]
push eax
mov eax, dword [ebp - 0x250]
sub eax, dword [ebp - 0x258]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0x14], eax
push 0x40
lea eax, [ebp - 0x37c]
push 0
push eax
call fcn.10106340
add esp, 0xc
lea eax, [ebp - 0x37c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [edi + 0xbf], 0
je 0x10050428
push dword [edi + 0x14]
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0xc]
mov dword [ebp - 0x3a4], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x394], eax
lea eax, [ebp - 0x374]
push eax
push dword [edi + 0xc]
mov edx, dword [ecx]
call dword [edx + 0x168]
lea ecx, [edi + 0xf8]
xor esi, esi
call fcn.100552f0
test eax, eax
jle 0x10050370
nop
push esi
lea ecx, [edi + 0xf8]
call fcn.10054bc0
lea ecx, [ebp - 0x374]
push ecx
push dword [edi + 0xc]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x180]
lea ecx, [edi + 0xf8]
inc esi
call fcn.100552f0
cmp esi, eax
jl 0x10050340
push dword [ebp - 0x394]
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebp - 0x370]
mov ecx, dword [ebp - 0x374]
mov eax, dword [ebp - 0x368]
push 0xcc0020
push edx
push ecx
push dword [edi + 0xc]
sub eax, edx
push eax
mov eax, dword [ebp - 0x36c]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x3a4]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0xc]
call esi
cmp byte [edi + 0x54], 0
je 0x1005045b
push dword [0x10189c48]
push dword [ebp - 0x37c]
call esi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x25c]
push dword [ebp - 0x260]
push dword [ebp - 0x264]
push dword [ebp - 0x268]
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x1005045b
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0x58]
mov esi, eax
lea eax, [ebp - 0x374]
push eax
push dword [ebp - 0x37c]
mov edx, dword [ecx]
call dword [edx + 0x168]
push esi
push dword [ebp - 0x37c]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x37c]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [edi + 0xbd], 0
je 0x10050937
push 0
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x10051869
mov eax, dword [edi + 0x2c0]
test eax, eax
jne 0x100504c7
push 0xc
call fcn.100c3efa
add esp, 4
mov dword [ebp - 0x394], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x100504b8
mov ecx, eax
call fcn.10056170
jmp 0x100504ba
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x2c0], eax
push dword [edi + 0x7c]
lea ecx, [ebp - 0x3b0]
push dword [edi + 0x78]
push ecx
mov ecx, eax
call fcn.10056470
mov eax, dword [edi + 0x2c0]
test eax, eax
jne 0x10050518
push 0xc
call fcn.100c3efa
add esp, 4
mov dword [ebp - 0x394], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x10050509
mov ecx, eax
call fcn.10056170
jmp 0x1005050b
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x2c0], eax
push dword [edi + 0x84]
lea ecx, [ebp - 0x3c0]
push dword [edi + 0x80]
push ecx
mov ecx, eax
call fcn.10056470
mov ecx, dword [ebp - 0x3b0]
mov eax, dword [ebp - 0x38c]
test ecx, ecx
jle 0x10050545
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x3ac]
test ecx, ecx
jle 0x10050552
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x3c0]
test ecx, ecx
jle 0x1005055f
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x3bc]
test ecx, ecx
jle case.default.0x10050cbf
mov dword [eax + 0x24], ecx
jmp case.default.0x10050cbf
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x100505c5
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0x16
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x234], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x10050937
call fcn.1005a800
mov al, 1
jmp 0x10051869
mov ecx, dword [ebp - 0x38c]
movsx eax, cx
mov dword [ebp - 0x398], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x394], eax
lea eax, [ebp - 0x398]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0x68], 0
mov eax, dword [ebp - 0x398]
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 0x394]
mov dword [edi + 0x74], eax
je case.default.0x10050cbf
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [edi + 0x68]
xor eax, eax
mov word [ebp - 0x224], ax
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x238], 0x11
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x21c], ecx
jmp 0x10050f64
cmp dword [edi + 0x5c], 0
je case.default.0x10050cbf
xor eax, eax
mov dword [ebp - 0x238], 5
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x380]
mov word [ebp - 0x224], ax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [edi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.1004f7d0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x10050cbf
cmp dword [edi + 0x5c], 0
je case.default.0x10050cbf
xor eax, eax
mov dword [ebp - 0x238], 3
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x380]
mov word [ebp - 0x224], ax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [edi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.1004f7d0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x6c], eax
jmp case.default.0x10050cbf
cmp dword [edi + 0x6c], 0
je case.default.0x10050cbf
xor eax, eax
mov dword [ebp - 0x238], 4
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x380]
mov word [ebp - 0x224], ax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [edi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.1004f7d0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x6c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov dword [edi + 0x6c], 0
jmp case.default.0x10050cbf
cmp si, 1
jne case.default.0x10050cbf
cmp byte [edi + 0xc3], 0
jne 0x10050937
lea eax, [ebp - 0x390]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x390], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x390]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x390]
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x3cc], eax
test ecx, ecx
je case.default.0x10050cbf
mov eax, dword [ecx]
lea edx, [ebp - 0x3d0]
push 0xd
push edx
push 0x10054470
mov eax, dword [eax + 0x14c]
call eax
mov dword [ebp - 0x394], eax
test eax, eax
je case.default.0x10050cbf
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x10050cbf
mov eax, dword [ebp - 0x380]
xorps xmm0, xmm0
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x390]
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x38c]
movlpd qword [ebp - 0x3ec], xmm0
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3f0], 0x17
mov dword [ebp - 0x3d4], esi
mov dword [ebp - 0x3e0], eax
call fcn.1004f7d0
mov word [ebp - 0x3da], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x394]
lea edx, [ebp - 0x3f0]
mov dword [ebp - 0x3e8], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov al, 1
jmp 0x10051869
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je 0x10050937
push ecx
push dword [ebp - 0x380]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3a0]
mov dword [ecx], eax
mov al, 1
jmp 0x10051869
mov eax, dword [ebp - 0x38c]
test eax, eax
je case.default.0x10050cbf
push eax
push dword [ebp - 0x380]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3a0]
mov dword [ecx], eax
mov al, 1
jmp 0x10051869
cmp edx, 0x200
ja 0x10050c9e
je 0x10050ac0
mov eax, edx
sub eax, 0x113
je 0x100509c9
sub eax, 0x20
je 0x10050997
sub eax, 5
jne case.default.0x10050cbf
mov ecx, dword [ebp - 0x38c]
test ecx, ecx
je case.default.0x10050cbf
push ecx
push dword [ebp - 0x380]
lea eax, [edx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3a0]
mov dword [ecx], eax
mov al, 1
jmp 0x10051869
mov eax, dword [ebp - 0x380]
mov ecx, 0xf1
movzx eax, ax
mov dword [ebp - 0x394], eax
cmp cx, ax
jne 0x10050a05
lea eax, [edi + 0x26c]
mov ecx, edi
push eax
call fcn.1004f560
cmp byte [edi + 0x27c], 0
sete al
mov byte [edi + 0x27c], al
jmp case.default.0x10050cbf
xor esi, esi
lea ecx, [edi + 0xd4]
mov dword [ebp - 0x388], esi
call fcn.100552f0
test eax, eax
jle case.default.0x10050cbf
push esi
lea ecx, [edi + 0xd4]
call fcn.10054bc0
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [edi]
jne 0x10050a49
mov eax, dword [ebp - 0x394]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x10050a49
cmp byte [esi + 0x10], 0
je 0x10050a6a
mov esi, dword [ebp - 0x388]
lea ecx, [edi + 0xd4]
inc esi
mov dword [ebp - 0x388], esi
call fcn.100552f0
cmp esi, eax
jl 0x10050a20
jmp case.default.0x10050cbf
mov ecx, dword [esi]
xorps xmm0, xmm0
mov eax, dword [esi + 4]
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
mov dword [ebp - 0x238], 0x18
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x10050cbf
cmp byte [edi + 0xc2], 0
jne 0x10050b22
mov eax, dword [edi]
mov dword [ebp - 0x260], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x268], 0x10
mov dword [ebp - 0x264], 3
test eax, eax
jne 0x10050af8
mov dword [ebp - 0x25c], 0xc8
jmp 0x10050b0e
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0xc2], 1
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x394], ecx
mov dword [edi + 0x70], ecx
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x3a4], eax
mov dword [edi + 0x74], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
jne 0x10050b58
xor esi, esi
jmp 0x10050b87
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10054470
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je 0x10050b87
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x10050cbf
mov eax, dword [ebp - 0x394]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x3a4]
movlpd qword [ebp - 0x238], xmm0
movlpd qword [ebp - 0x224], xmm0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x228], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x230], eax
mov eax, ecx
cmp esi, ecx
je 0x10050c19
test ecx, ecx
je 0x10050c19
mov dword [ebp - 0x238], 0xa
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [edi + 0x20]
xor eax, eax
mov dword [edi + 0x64], 0
test ecx, ecx
je 0x10050c19
lea eax, [edi + 0x24]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x64]
cmp esi, eax
je 0x10050c45
test esi, esi
je 0x10050c45
mov dword [ebp - 0x238], 0xb
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x234], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov dword [edi + 0x64], esi
mov ecx, dword [edi + 0x68]
test ecx, ecx
je 0x10050c70
mov dword [ebp - 0x238], 9
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x10050cbf
test esi, esi
je case.default.0x10050cbf
mov dword [ebp - 0x238], 9
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x234], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x10050cbf
cmp edx, 0x20a
ja 0x10051256
je 0x100510a1
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x10050cbf
jmp dword [edx*4 + 0x100519b8]
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi]
cmp eax, ecx
je 0x10050ce6
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x10050ce6
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x394], ecx
mov dword [edi + 0x70], ecx
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x3a4], eax
mov dword [edi + 0x74], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
je case.default.0x10050cbf
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10054470
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x388], esi
test esi, esi
je case.default.0x10050cbf
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x10050cbf
mov dword [edi + 0x68], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x13c]
push dword [edi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x394]
xor eax, eax
mov word [ebp - 0x224], ax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x234], esi
mov esi, dword [ebp - 0x38c]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3a4]
mov byte [edi + 0xc3], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0xd
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x388]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x10050cbf
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x394], ecx
mov dword [edi + 0x70], ecx
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x3a4], eax
mov dword [edi + 0x74], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
je case.default.0x10050cbf
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10054470
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je case.default.0x10050cbf
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x10050cbf
push dword [edi]
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
mov byte [edi + 0xc3], 1
mov word [ebp - 0x224], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x230], 0
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x238], 0x10
mov dword [ebp - 0x234], esi
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x238]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov dword [edi + 0x68], esi
jmp case.default.0x10050cbf
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
cmp dword [edi + 0x68], 0
cwde
mov dword [ebp - 0x394], ecx
mov dword [ebp - 0x3a4], eax
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], eax
je case.default.0x10050cbf
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x394]
xor eax, eax
mov esi, dword [ebp - 0x38c]
mov word [ebp - 0x224], ax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3a4]
mov dword [ebp - 0x238], 0xe
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
mov dword [ebp - 0x230], 0
mov byte [edi + 0xc3], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x68]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov dword [edi + 0x68], 0
jmp case.default.0x10050cbf
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x394], ecx
mov dword [edi + 0x70], ecx
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x3a4], eax
mov dword [edi + 0x74], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
je case.default.0x10050cbf
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10054470
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x388], esi
test esi, esi
je case.default.0x10050cbf
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x10050cbf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x13c]
push dword [edi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x394]
xor eax, eax
mov word [ebp - 0x224], ax
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x234], esi
mov esi, dword [ebp - 0x38c]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3a4]
mov byte [edi + 0xc3], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x388]
jmp 0x10050eca
mov ecx, dword [ebp - 0x38c]
movsx eax, cx
mov dword [ebp - 0x3a8], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x3a4], eax
lea eax, [ebp - 0x3a8]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x3a8]
mov eax, dword [ebp - 0x3a4]
mov dword [edi + 0x70], ecx
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x74], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
je case.default.0x10050cbf
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10054470
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
mov dword [ebp - 0x394], esi
test esi, esi
je case.default.0x10050cbf
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x20]
call edx
cmp eax, edi
jne case.default.0x10050cbf
mov eax, dword [esi]
mov ecx, esi
push str.WebBrowserUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.1011ccf4
add esp, 8
test eax, eax
jne 0x100511c3
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x10051168
mov eax, dword [ecx]
push str.EditUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.1011ccf4
add esp, 8
test eax, eax
je 0x100511c3
xorps xmm0, xmm0
mov dword [ebp - 0x278], 0x15
movlpd qword [ebp - 0x270], xmm0
movlpd qword [ebp - 0x268], xmm0
movlpd qword [ebp - 0x260], xmm0
mov dword [ebp - 0x274], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x270], eax
lea ecx, [ebp - 0x278]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
push 0
push 0
push 0
push str.setfocus
push esi
mov ecx, edi
call fcn.100530b0
mov eax, dword [ebp - 0x380]
xorps xmm0, xmm0
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x234], esi
mov esi, dword [ebp - 0x38c]
shr eax, 0xf
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
mov dword [ebp - 0x238], 0x12
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], esi
call fcn.1004f7d0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x394]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
movzx ecx, word [edi + 0x74]
movzx eax, word [edi + 0x70]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x10050cbf
cmp edx, 0x318
ja 0x100516ae
je 0x100515c5
sub edx, 0x215
je 0x10051561
sub edx, 0x8c
je 0x100512c1
sub edx, 2
jne case.default.0x10050cbf
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x1005129f
lea eax, [edi + 0x24]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0xc2], 0
je 0x100512b5
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi]
call esi
mov byte [edi + 0xc2], 0
jmp case.default.0x10050cbf
mov eax, dword [ebp - 0x38c]
movsx ecx, ax
shr eax, 0x10
mov dword [ebp - 0x3a4], ecx
cwde
mov dword [ebp - 0x3b0], ecx
mov ecx, dword [edi + 0x58]
mov byte [edi + 0xc2], 0
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x3ac], eax
test ecx, ecx
je case.default.0x10050cbf
mov eax, dword [ecx]
lea edx, [ebp - 0x3b0]
push 0xd
push edx
push 0x10054470
mov eax, dword [eax + 0x14c]
call eax
mov esi, eax
test esi, esi
je case.default.0x10050cbf
push dword [edi]
mov eax, dword [sym.imp.USER32.dll_IsWindowVisible]
mov dword [ebp - 0x3b8], eax
call eax
test eax, eax
je 0x1005138f
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x394], eax
cmp eax, dword [edi]
je 0x1005138f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10106340
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp - 0x394]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x1005138f
lea eax, [ebp - 0x218]
push str.Internet_Explorer_Server
push eax
call fcn.1011ccf4
add esp, 8
test eax, eax
jne 0x1005138f
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x64]
test eax, eax
je 0x100513fb
mov ecx, dword [ebp - 0x3a4]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x388]
mov dword [ebp - 0x230], 0
movlpd qword [ebp - 0x224], xmm0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x238], 0xc
mov dword [ebp - 0x234], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x64]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x10050937
mov eax, dword [esi]
lea ecx, [ebp - 0x33c]
push ecx
mov ecx, esi
call dword [eax + 0xd8]
lea ecx, [ebp - 0x33c]
mov dword [ebp - 4], 3
call fcn.10055620
lea ecx, [ebp - 0x33c]
test al, al
jne 0x10051555
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov eax, dword [edi]
mov dword [edi + 0x24], 0x30
mov dword [edi + 0x28], 1
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov eax, dword [0x10189c38]
mov dword [edi + 0x44], eax
call fcn.1004f3e0
mov dword [edi + 0x48], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
call eax
movups xmm0, xmmword [eax]
mov eax, dword [edi + 0x20]
movups xmmword [edi + 0x34], xmm0
test eax, eax
jne 0x1005151e
push eax
push dword [0x10189c38]
push eax
push dword [edi]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x80000003
push eax
push str.tooltips_class32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [edi + 0x24]
mov dword [edi + 0x20], eax
push ecx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xec]
call eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [edi + 0x20]
call esi
mov eax, dword [edi + 0x20]
jmp 0x10051524
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call dword [ebp - 0x3b8]
test eax, eax
jne 0x1005154f
lea eax, [edi + 0x24]
push eax
push 0
push 0x436
push dword [edi + 0x20]
call esi
lea eax, [edi + 0x24]
push eax
push 1
push 0x411
push dword [edi + 0x20]
call esi
lea ecx, [ebp - 0x33c]
call fcn.10012180
mov al, 1
jmp 0x10051869
mov edx, dword [edi + 0x68]
test edx, edx
je case.default.0x10050cbf
mov eax, dword [ebp - 0x38c]
cmp eax, dword [edi]
je case.default.0x10050cbf
mov ecx, dword [ebp - 0x380]
xorps xmm0, xmm0
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x238]
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
mov dword [ebp - 0x238], 0x1b
mov dword [ebp - 0x234], edx
mov dword [ebp - 0x21c], eax
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax + 0x15c]
jmp case.default.0x10050cbf
lea eax, [ebp - 0x228]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x380]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0x394], eax
lea eax, [ebp - 0x228]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 0x168]
test byte [ebp - 0x38c], 0x10
je 0x1005169c
push 5
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x384], eax
test eax, eax
je 0x1005169c
or dword [ebp - 0x38c], 2
lea ecx, [ebp - 0x268]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x268], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x268]
push eax
push dword [edi]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x264]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x268]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x38c]
push esi
push 0x317
push dword [ebp - 0x384]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x384]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x384], eax
test eax, eax
jne 0x10051626
push dword [ebp - 0x394]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x10050cbf
cmp edx, 0x31e
je 0x10051746
cmp edx, 0x8001
jne case.default.0x10050cbf
lea esi, [edi + 0x104]
push esi
lea ecx, [ebp - 0x3b4]
call fcn.100547b0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.10054f10
lea ecx, [ebp - 0x3b4]
xor esi, esi
call fcn.100552f0
test eax, eax
jle 0x10051727
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x3b4]
call fcn.10054bc0
test eax, eax
je 0x10051717
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
lea ecx, [ebp - 0x3b4]
inc esi
call fcn.100552f0
cmp esi, eax
jl 0x10051700
lea ecx, [ebp - 0x3b4]
call fcn.10054f10
lea ecx, [ebp - 0x3b4]
mov dword [ebp - 4], 0xffffffff
call fcn.10054900
jmp case.default.0x10050cbf
push str.Dwmapi.dll
mov dword [edi + 0x2a0], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je case.default.0x10050cbf
push str.DwmIsCompositionEnabled
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005177a
lea ecx, [edi + 0x2a0]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [edi + 0x110]
call fcn.10055240
push 0
lea ecx, [edi + 0x110]
mov esi, eax
call fcn.10055750
lea eax, [edi + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x10051867
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x100517e8
add ecx, 0x38
call fcn.10059280
test al, al
je 0x100517e8
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.10059290
test al, al
jne 0x10051842
lea eax, [edi + 0xc8]
mov dword [ebp - 0x394], 0
mov ecx, eax
mov dword [ebp - 0x388], eax
call fcn.100552f0
test eax, eax
jle 0x10051842
mov edi, dword [ebp - 0x394]
nop
cmp dword [esi + 0x108], 0
je 0x1005183c
mov ecx, dword [ebp - 0x388]
push edi
call fcn.10054bc0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x388]
inc edi
call fcn.100552f0
cmp edi, eax
jl 0x10051810
mov edi, dword [ebp - 0x3b8]
lea ecx, [esi + 0x84]
call fcn.10012180
mov ecx, esi
call fcn.10012180
push 0x120
push esi
call fcn.100c3f2a
add esp, 8
jmp case.default.0x10050cbf
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c427e
mov esp, ebp
pop ebp
ret 0x10