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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ccc16
mov eax, dword fs:[0]
push eax
sub esp, 0x404
mov eax, dword [0x10106404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x3d4], esi
cmp dword [esi], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3e0], eax
je 0x10033097
lea eax, [esi + 0x34c]
push eax
lea edi, [esi + 0x1b0]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
mov ecx, edi
call fcn.1002e160
push 0
lea ecx, [esi + 0x1b0]
mov edi, eax
call fcn.1002e680
lea eax, [esi + 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x10031187
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x10031102
add ecx, 0x38
call fcn.100371f0
test al, al
je 0x10031102
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.10037200
test al, al
jne 0x10031162
lea eax, [esi + 0x168]
mov dword [ebp - 0x3dc], 0
mov ecx, eax
mov dword [ebp - 0x3c0], eax
call fcn.1002e210
test eax, eax
jle 0x10031162
mov esi, dword [ebp - 0x3dc]
nop dword [eax]
cmp dword [edi + 0x108], 0
je 0x1003115c
mov ecx, dword [ebp - 0x3c0]
push esi
call fcn.1002d9e0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x3c0]
inc esi
call fcn.1002e210
cmp esi, eax
jl 0x10031130
mov esi, dword [ebp - 0x3d4]
lea ecx, [edi + 0x84]
call fcn.1002d750
mov ecx, edi
call fcn.1002d750
push 0x120
push edi
call fcn.1009c669
add esp, 8
jmp 0x10031099
lea ecx, [esi + 0x18c]
mov dword [ebp - 0x3c0], 0
call fcn.1002e210
mov edi, dword [ebp - 0x3c4]
test eax, eax
jle 0x10031204
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [esi + 0x18c]
mov byte [ebp - 0x3d5], 0
call fcn.1002d9e0
lea ecx, [ebp - 0x3d5]
push ecx
push edi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x3c8]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x3d5], 0
jne 0x10032181
inc dword [ebp - 0x3c0]
lea ecx, [esi + 0x18c]
call fcn.1002e210
mov ecx, dword [ebp - 0x3c0]
cmp ecx, eax
jl 0x100311b0
mov edx, dword [ebp + 8]
cmp edx, 0x111
ja 0x100321c0
je 0x10032190
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x10032525
movzx eax, byte [eax + 0x100330e8]
jmp dword [eax*4 + 0x100330b8]
mov eax, dword [esi + 0x70]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 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 [esi + 0x64]
mov dword [ebp - 0x230], eax
test ecx, ecx
je 0x10031296
mov dword [ebp - 0x238], 0xa
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x150]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x100312bc
mov dword [ebp - 0x238], 0xe
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x150]
push 0
mov ecx, esi
call fcn.100346e0
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x10032525
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x10032525
cmp dword [esi + 0x348], 0
jne 0x100312ff
push 0
push 0
push dword [esi]
mov byte [esi + 0xc5], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x3e0]
mov al, 1
mov dword [ecx], 1
jmp 0x10033099
push 0
lea eax, [ebp - 0x37c]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x37c], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x10032189
cmp dword [esi + 0x58], 0
jne 0x10031373
push 0x40
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.100a3120
add esp, 0xc
lea eax, [ebp - 0x2a8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x2a8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x10033099
mov eax, dword [ebp - 0x374]
mov edx, 1
mov ecx, dword [ebp - 0x370]
sub eax, dword [ebp - 0x37c]
sub ecx, dword [ebp - 0x378]
mov dword [ebp - 0x3c0], edx
cmp eax, dword [esi + 0x90]
jne 0x100313af
xor edi, edi
cmp ecx, dword [esi + 0x94]
cmove edx, edi
mov dword [ebp - 0x3c0], edx
cmp byte [esi + 0xc8], 0
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], ecx
je 0x100319d6
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x100313e9
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x268]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x268], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x40
lea eax, [ebp - 0x2e8]
push 0
push eax
call fcn.100a3120
add esp, 0xc
lea eax, [ebp - 0x2e8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10031432
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x10031442
push eax
call edi
cmp byte [esi + 0xc5], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
je 0x1003158d
lea eax, [ebp - 0x268]
mov byte [esi + 0xc5], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x1003158d
mov ecx, dword [esi + 0x58]
call fcn.100386a0
test al, al
je 0x100314c4
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10031493
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1003149d
push eax
call edi
mov ecx, dword [esi + 0x58]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x268]
mov dword [esi + 0x10], 0
mov eax, esp
mov dword [esi + 0x18], 0
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x40]
jmp 0x10031527
mov ecx, dword [esi + 0x58]
push reloc.gdiplus.dll_Ordinal_1
push 0
push 0x10035220
mov eax, dword [ecx]
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3e0], eax
test eax, eax
je 0x10031527
mov edi, dword [eax]
mov ecx, eax
mov edx, dword [edi + 0x3c]
call edx
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x3e0]
call dword [edi + 0x40]
mov ecx, dword [esi + 0x58]
push reloc.gdiplus.dll_Ordinal_1
push 0
push 0x10035220
mov eax, dword [ecx]
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3e0], eax
test eax, eax
jne 0x100314e7
cmp byte [esi + 0xc4], 0
movups xmm0, xmmword [ebp - 0x268]
movups xmmword [esi + 0x334], xmm0
je 0x1003155a
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0x58]
mov ecx, esi
mov byte [esi + 0xc4], 0
call fcn.10034190
push 0
push 0
push 0
push str.windowresized
push dword [esi + 0x58]
mov ecx, esi
call fcn.10034190
cmp byte [ebp - 0x3c0], 0
je 0x1003158d
push 0
push 0
push 0
push str.window_size_changed
push dword [esi + 0x58]
mov ecx, esi
call fcn.10034190
cmp byte [esi + 0xc6], 0
je 0x1003159f
push 1
mov ecx, esi
call fcn.10034b00
lea edi, [esi + 0x334]
push edi
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x37c]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebp - 0x37c]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x268]
cmp eax, edx
mov ecx, dword [ebp - 0x264]
mov esi, dword [ebp - 0x25c]
cmovl eax, edx
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x378]
cmp eax, ecx
movups xmmword [edi], xmm0
mov edi, dword [ebp - 0x260]
cmovl eax, ecx
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x374]
cmp eax, edi
mov dword [ebp - 0x3c0], esi
cmovg eax, edi
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x370]
cmp eax, esi
cmovg eax, esi
mov esi, dword [ebp - 0x3d4]
sub dword [ebp - 0x3c0], ecx
sub edi, edx
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x3e0], edi
cmp byte [esi + 0xc7], 0
je 0x1003166a
cmp dword [esi + 0x18], 0
jne 0x1003166a
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x10], eax
lea eax, [esi + 0x1c]
push eax
push dword [ebp - 0x3c0]
push edi
push dword [esi + 8]
call fcn.1003b740
add esp, 0x10
mov dword [esi + 0x18], eax
push dword [esi + 0x18]
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x10]
mov dword [ebp - 0x3cc], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov edi, dword [ebp - 0x378]
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3d4], edi
cmp edi, dword [ebp - 0x370]
jge 0x100316f0
imul edi, dword [ebp - 0x3e0]
nop word [eax + eax]
mov eax, dword [ebp - 0x374]
mov ecx, dword [ebp - 0x37c]
sub eax, ecx
shl eax, 2
add ecx, edi
push eax
mov eax, dword [esi + 0x1c]
push 0
lea eax, [eax + ecx*4]
push eax
call fcn.100a3120
mov eax, dword [ebp - 0x3d4]
add esp, 0xc
add edi, dword [ebp - 0x3e0]
inc eax
mov dword [ebp - 0x3d4], eax
cmp eax, dword [ebp - 0x370]
jl 0x100316b0
lea ecx, [esi + 0x328]
call fcn.1002dde0
mov ecx, dword [esi + 0x58]
lea edx, [ebp - 0x37c]
push edx
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x160]
mov ecx, dword [esi + 0x324]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x3dc], edi
test ecx, ecx
je 0x1003176f
mov eax, dword [ecx]
mov eax, dword [eax + 0x130]
call eax
mov edi, dword [esi]
test al, al
je 0x1003173d
call dword [sym.imp.USER32.dll_GetFocus]
cmp edi, eax
je 0x10031769
push 0xf1
push edi
call dword [sym.imp.USER32.dll_KillTimer]
cmp byte [esi + 0x320], 0
je 0x10031760
lea eax, [esi + 0x310]
mov ecx, esi
push eax
call fcn.10030d80
mov byte [esi + 0x320], 0
jmp 0x100317db
mov edi, dword [ebp - 0x3dc]
cmp byte [esi + 0x320], 0
je 0x100317db
cmp byte [esi + 0x321], 0
je 0x100317db
cmp dword [esi + 0x324], 0
je 0x100317db
lea eax, [esi + 0x310]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x248]
push eax
movups xmmword [ebp - 0x248], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100317db
mov ecx, dword [esi + 0x324]
call fcn.10043e80
test eax, eax
jne 0x100317c8
mov eax, dword [esi + 0x1f4]
push 0
push eax
lea eax, [ebp - 0x248]
push eax
push edi
call fcn.1003bb90
add esp, 0x10
xor edi, edi
lea ecx, [esi + 0x328]
mov dword [ebp - 0x3c4], edi
call fcn.1002e210
test eax, eax
je 0x10031902
nop word [eax + eax]
push edi
lea ecx, [esi + 0x328]
call fcn.1002e160
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
mov edx, dword [edx + 0x108]
call edx
test al, al
je 0x100318e2
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x3c]
call eax
mov ecx, edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x248], xmm0
call fcn.10043d20
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x248]
push eax
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100318e2
mov edi, dword [ebp - 0x244]
cmp edi, dword [ebp - 0x23c]
jge 0x100318e2
mov eax, dword [ebp - 0x240]
mov edx, edi
imul edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3c0], edx
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x3d4], ecx
cmp ecx, eax
jge 0x100318cd
add edx, ecx
shl edx, 2
nop word [eax + eax]
mov eax, dword [esi + 0x1c]
lea edx, [edx + 4]
mov ecx, dword [ebp - 0x3dc]
mov byte [eax + edx - 1], cl
mov ecx, dword [ebp - 0x3d4]
mov eax, dword [ebp - 0x240]
inc ecx
mov dword [ebp - 0x3d4], ecx
cmp ecx, eax
jl 0x100318a0
mov edx, dword [ebp - 0x3c0]
add edx, dword [ebp - 0x3e0]
inc edi
mov dword [ebp - 0x3c0], edx
cmp edi, dword [ebp - 0x23c]
jl 0x10031882
mov edi, dword [ebp - 0x3c4]
lea ecx, [esi + 0x328]
inc edi
mov dword [ebp - 0x3c4], edi
call fcn.1002e210
cmp edi, eax
jb 0x10031800
push dword [ebp - 0x3e8]
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x228]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x228], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x260]
sub eax, dword [ebp - 0x268]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x25c]
sub eax, dword [ebp - 0x264]
push 2
mov dword [ebp - 0x404], eax
lea eax, [ebp - 0x3c8]
push eax
push 0
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 0
push eax
push dword [esi + 0x10]
lea eax, [ebp - 0x408]
mov dword [ebp - 0x3fc], 0
push eax
lea eax, [ebp - 0x3f4]
mov dword [ebp - 0x3c8], 0x1ff0000
push eax
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [ebp - 0x3cc]
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x2e8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x10033099
cmp byte [esi + 0xc5], 0
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
je 0x10031b5e
lea eax, [ebp - 0x228]
mov byte [esi + 0xc5], 0
push eax
push dword [esi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x228], xmm0
call edi
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x10031b5e
mov ecx, dword [esi + 0x58]
call fcn.100386a0
mov ecx, dword [esi + 0x58]
test al, al
je 0x10031a9e
movups xmm0, xmmword [ebp - 0x228]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x40]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10031a4b
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x14]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x10031a5b
push eax
call edi
cmp byte [esi + 0xc8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
jne 0x10031b00
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10031a84
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10031a8e
push eax
call edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
jmp 0x10031b00
mov eax, dword [ecx]
push reloc.gdiplus.dll_Ordinal_1
push 0
push 0x10035220
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3d4], eax
test eax, eax
je 0x10031b06
nop
mov edi, dword [eax]
mov ecx, eax
mov edx, dword [edi + 0x3c]
call edx
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x3d4]
call dword [edi + 0x40]
mov ecx, dword [esi + 0x58]
push reloc.gdiplus.dll_Ordinal_1
push 0
push 0x10035220
mov eax, dword [ecx]
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3d4], eax
test eax, eax
jne 0x10031ac0
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esi + 0xc4], 0
je 0x10031b2b
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0x58]
mov ecx, esi
mov byte [esi + 0xc4], 0
call fcn.10034190
push 0
push 0
push 0
push str.windowresized
push dword [esi + 0x58]
mov ecx, esi
call fcn.10034190
cmp byte [ebp - 0x3c0], 0
je 0x10031b5e
push 0
push 0
push 0
push str.window_size_changed
push dword [esi + 0x58]
mov ecx, esi
call fcn.10034190
cmp byte [esi + 0xc6], 0
je 0x10031b70
push 1
mov ecx, esi
call fcn.10034b00
cmp byte [esi + 0xc7], 0
je 0x10031bc6
cmp dword [esi + 0x14], 0
jne 0x10031bc6
lea eax, [ebp - 0x248]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x248], xmm0
call edi
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x23c]
sub eax, dword [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x248]
push eax
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x14], eax
push 0x40
lea eax, [ebp - 0x3bc]
push 0
push eax
call fcn.100a3120
add esp, 0xc
lea eax, [ebp - 0x3bc]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0xc7], 0
je 0x10031d28
push dword [esi + 0x14]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xc]
mov dword [ebp - 0x3e8], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x3cc], eax
lea eax, [ebp - 0x3b4]
push eax
push dword [esi + 0xc]
mov edx, dword [ecx]
call dword [edx + 0x160]
lea ecx, [esi + 0x198]
xor edi, edi
call fcn.1002e210
test eax, eax
jle 0x10031c70
nop dword [eax]
push edi
lea ecx, [esi + 0x198]
call fcn.1002d9e0
lea ecx, [ebp - 0x3b4]
push ecx
push dword [esi + 0xc]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
lea ecx, [esi + 0x198]
inc edi
call fcn.1002e210
cmp edi, eax
jl 0x10031c40
push dword [ebp - 0x3cc]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebp - 0x3b0]
mov ecx, dword [ebp - 0x3b4]
mov eax, dword [ebp - 0x3a8]
push 0xcc0020
push edx
push ecx
push dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [ebp - 0x3ac]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x3e8]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xc]
call edi
cmp byte [esi + 0x54], 0
je 0x10031d5b
push dword [0x101091f8]
push dword [ebp - 0x3bc]
call edi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x370]
push dword [ebp - 0x374]
push dword [ebp - 0x378]
push dword [ebp - 0x37c]
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x10031d5b
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x58]
mov edi, eax
lea eax, [ebp - 0x3b4]
push eax
push dword [ebp - 0x3bc]
mov edx, dword [ecx]
call dword [edx + 0x160]
push edi
push dword [ebp - 0x3bc]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x3bc]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [esi + 0xc5], 0
je 0x10032189
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x10033099
mov ecx, dword [esi + 0x78]
mov eax, dword [ebp - 0x3c4]
test ecx, ecx
jle 0x10031d9a
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x7c]
test ecx, ecx
jle 0x10031da4
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x80]
test ecx, ecx
jle 0x10031db1
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x84]
test ecx, ecx
jle case.default.0x10032525
mov dword [eax + 0x24], ecx
jmp case.default.0x10032525
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x10031e17
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 [esi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x10032189
call fcn.10038800
mov al, 1
jmp 0x10033099
mov ecx, dword [ebp - 0x3c4]
movsx eax, cx
mov dword [ebp - 0x3d0], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x3cc], eax
lea eax, [ebp - 0x3d0]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0x68], 0
mov eax, dword [ebp - 0x3d0]
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 0x3cc]
mov dword [esi + 0x74], eax
je case.default.0x10032525
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0x68]
xor eax, eax
mov word [ebp - 0x224], ax
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x238], 0x11
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x21c], ecx
jmp 0x100327ca
cmp dword [esi + 0x5c], 0
je case.default.0x10032525
xor eax, eax
mov dword [ebp - 0x238], 5
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x3c8]
mov word [ebp - 0x224], ax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.10030ff0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp case.default.0x10032525
cmp dword [esi + 0x5c], 0
je case.default.0x10032525
xor eax, eax
mov dword [ebp - 0x238], 3
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x3c8]
mov word [ebp - 0x224], ax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.10030ff0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x5c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x6c], eax
jmp case.default.0x10032525
cmp dword [esi + 0x6c], 0
je case.default.0x10032525
xor eax, eax
mov dword [ebp - 0x238], 4
mov word [ebp - 0x21a], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x3c8]
mov word [ebp - 0x224], ax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 0x74]
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x222], xmm0
mov dword [ebp - 0x228], eax
call fcn.10030ff0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x6c]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov dword [esi + 0x6c], 0
jmp case.default.0x10032525
cmp di, 1
jne case.default.0x10032525
cmp byte [esi + 0xcb], 0
jne 0x10032189
lea eax, [ebp - 0x3e4]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x3e4], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x3e4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x40c], eax
test ecx, ecx
je case.default.0x10032525
mov eax, dword [ecx]
lea edx, [ebp - 0x410]
push 0xd
push edx
push 0x100351a0
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3cc], eax
test eax, eax
je case.default.0x10032525
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x10032525
mov eax, dword [ebp - 0x3c8]
xorps xmm0, xmm0
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x3e4]
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x3e0]
movlpd qword [ebp - 0x284], xmm0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x288], 0x17
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x278], eax
call fcn.10030ff0
mov word [ebp - 0x272], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x3cc]
lea edx, [ebp - 0x288]
mov dword [ebp - 0x280], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov al, 1
jmp 0x10033099
mov ecx, dword [ebp - 0x3c4]
test ecx, ecx
je 0x10032189
push ecx
push dword [ebp - 0x3c8]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3e0]
mov dword [ecx], eax
mov al, 1
jmp 0x10033099
mov eax, dword [ebp - 0x3c4]
test eax, eax
je case.default.0x10032525
push eax
push dword [ebp - 0x3c8]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3e0]
mov dword [ecx], eax
mov al, 1
jmp 0x10033099
cmp edx, 0x200
ja 0x10032504
je 0x10032312
mov eax, edx
sub eax, 0x113
je 0x1003221b
sub eax, 0x20
je 0x100321e9
sub eax, 5
jne case.default.0x10032525
mov ecx, dword [ebp - 0x3c4]
test ecx, ecx
je case.default.0x10032525
push ecx
push dword [ebp - 0x3c8]
lea eax, [edx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x3e0]
mov dword [ecx], eax
mov al, 1
jmp 0x10033099
mov eax, dword [ebp - 0x3c8]
mov ecx, 0xf1
movzx eax, ax
mov dword [ebp - 0x3cc], eax
cmp cx, ax
jne 0x10032257
lea eax, [esi + 0x310]
mov ecx, esi
push eax
call fcn.10030d80
cmp byte [esi + 0x320], 0
sete al
mov byte [esi + 0x320], al
jmp case.default.0x10032525
xor edi, edi
lea ecx, [esi + 0x174]
mov dword [ebp - 0x3c0], edi
call fcn.1002e210
test eax, eax
jle case.default.0x10032525
push edi
lea ecx, [esi + 0x174]
call fcn.1002d9e0
mov edi, eax
mov ecx, dword [edi + 8]
cmp ecx, dword [esi]
jne 0x1003229b
mov eax, dword [ebp - 0x3cc]
movzx ecx, ax
cmp dword [edi + 0xc], ecx
jne 0x1003229b
cmp byte [edi + 0x10], 0
je 0x100322bc
mov edi, dword [ebp - 0x3c0]
lea ecx, [esi + 0x174]
inc edi
mov dword [ebp - 0x3c0], edi
call fcn.1002e210
cmp edi, eax
jl 0x10032272
jmp case.default.0x10032525
mov ecx, dword [edi]
xorps xmm0, xmm0
mov eax, dword [edi + 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 [edi]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp case.default.0x10032525
cmp byte [esi + 0xca], 0
jne 0x10032374
mov eax, dword [esi]
mov dword [ebp - 0x240], eax
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x248], 0x10
mov dword [ebp - 0x244], 3
test eax, eax
jne 0x1003234a
mov dword [ebp - 0x23c], 0x190
jmp 0x10032360
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0xca], 1
mov eax, dword [ebp - 0x3c4]
mov ecx, dword [esi + 0x58]
movsx edi, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x3cc], eax
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], eax
mov dword [ebp - 0x3f4], edi
mov dword [ebp - 0x3f0], eax
test ecx, ecx
jne 0x100323aa
xor eax, eax
mov dword [ebp - 0x3c0], eax
jmp 0x100323dd
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100351a0
mov eax, dword [eax + 0x144]
call eax
mov dword [ebp - 0x3c0], eax
test eax, eax
je 0x100323dd
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x20]
call edx
cmp eax, esi
jne case.default.0x10032525
mov eax, dword [ebp - 0x3cc]
xorps xmm0, xmm0
movlpd qword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x3c4]
mov ecx, dword [esi + 0x64]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x21c], edi
mov edi, dword [ebp - 0x3c0]
mov dword [ebp - 0x220], eax
mov eax, ecx
cmp edi, ecx
je 0x1003247f
test ecx, ecx
je 0x1003247f
mov dword [ebp - 0x238], 0xa
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x150]
mov ecx, dword [esi + 0x20]
xor eax, eax
mov dword [esi + 0x64], 0
test ecx, ecx
je 0x1003247f
lea eax, [esi + 0x24]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x64]
cmp edi, eax
je 0x100324ab
test edi, edi
je 0x100324ab
mov dword [ebp - 0x238], 0xb
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x234], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x150]
mov dword [esi + 0x64], edi
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x100324d6
mov dword [ebp - 0x238], 9
lea edx, [ebp - 0x238]
mov dword [ebp - 0x234], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x150]
jmp case.default.0x10032525
test edi, edi
je case.default.0x10032525
mov dword [ebp - 0x238], 9
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x234], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x150]
jmp case.default.0x10032525
cmp edx, 0x20a
ja 0x10032ac0
je 0x10032907
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x10032525
jmp dword [edx*4 + 0x100331e8]
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
cmp eax, ecx
je 0x1003254c
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x1003254c
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x3c4]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x3cc], ecx
mov dword [esi + 0x70], ecx
mov dword [ebp - 0x3f4], ecx
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x3e8], eax
mov dword [esi + 0x74], eax
mov dword [ebp - 0x3f0], eax
test ecx, ecx
je case.default.0x10032525
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100351a0
mov eax, dword [eax + 0x144]
call eax
mov edi, eax
mov dword [ebp - 0x3dc], edi
test edi, edi
je case.default.0x10032525
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x20]
call edx
cmp eax, esi
jne case.default.0x10032525
mov dword [esi + 0x68], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x134]
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x3cc]
xor eax, eax
mov word [ebp - 0x224], ax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x234], edi
mov edi, dword [ebp - 0x3c4]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3e8]
mov byte [esi + 0xcb], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0xd
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x3dc]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp case.default.0x10032525
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x3c4]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x3cc], ecx
mov dword [esi + 0x70], ecx
mov dword [ebp - 0x3f4], ecx
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x3e8], eax
mov dword [esi + 0x74], eax
mov dword [ebp - 0x3f0], eax
test ecx, ecx
je case.default.0x10032525
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100351a0
mov eax, dword [eax + 0x144]
call eax
mov edi, eax
test edi, edi
je case.default.0x10032525
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x20]
call edx
cmp eax, esi
jne case.default.0x10032525
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
mov byte [esi + 0xcb], 1
mov word [ebp - 0x224], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x3e8]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x230], 0
movlpd qword [ebp - 0x220], xmm0
mov dword [ebp - 0x238], 0x10
mov dword [ebp - 0x234], edi
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x238]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x150]
mov dword [esi + 0x68], edi
jmp case.default.0x10032525
mov eax, dword [ebp - 0x3c4]
movsx ecx, ax
shr eax, 0x10
cmp dword [esi + 0x68], 0
cwde
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x3e8], eax
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], eax
je case.default.0x10032525
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x3cc]
xor eax, eax
mov edi, dword [ebp - 0x3c4]
mov word [ebp - 0x224], ax
mov eax, dword [esi + 0x68]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3e8]
mov dword [ebp - 0x238], 0xe
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
mov dword [ebp - 0x230], 0
mov byte [esi + 0xcb], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x68]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov dword [esi + 0x68], 0
jmp case.default.0x10032525
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x3c4]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x3cc], ecx
mov dword [esi + 0x70], ecx
mov dword [ebp - 0x3f4], ecx
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x3e8], eax
mov dword [esi + 0x74], eax
mov dword [ebp - 0x3f0], eax
test ecx, ecx
je case.default.0x10032525
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100351a0
mov eax, dword [eax + 0x144]
call eax
mov edi, eax
mov dword [ebp - 0x3dc], edi
test edi, edi
je case.default.0x10032525
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x20]
call edx
cmp eax, esi
jne case.default.0x10032525
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x134]
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x3cc]
xor eax, eax
mov word [ebp - 0x224], ax
mov eax, dword [ebp - 0x3c8]
mov dword [ebp - 0x234], edi
mov edi, dword [ebp - 0x3c4]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3e8]
mov byte [esi + 0xcb], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x3dc]
jmp 0x10032730
mov ecx, dword [ebp - 0x3c4]
movsx eax, cx
mov dword [ebp - 0x3ec], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x3e8], eax
lea eax, [ebp - 0x3ec]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3e8]
mov dword [esi + 0x70], ecx
mov dword [ebp - 0x3f4], ecx
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x74], eax
mov dword [ebp - 0x3f0], eax
test ecx, ecx
je case.default.0x10032525
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100351a0
mov eax, dword [eax + 0x144]
call eax
mov edi, eax
mov dword [ebp - 0x3cc], edi
test edi, edi
je case.default.0x10032525
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x20]
call edx
cmp eax, esi
jne case.default.0x10032525
mov eax, dword [edi]
mov ecx, edi
push str.WebBrowserUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.100b0119
add esp, 8
test eax, eax
jne 0x10032a2d
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x100329d2
mov eax, dword [ecx]
push str.EditUI
mov eax, dword [eax + 0x10]
call eax
push eax
call fcn.100b0119
add esp, 8
test eax, eax
je 0x10032a2d
xorps xmm0, xmm0
mov dword [ebp - 0x258], 0x15
movlpd qword [ebp - 0x250], xmm0
movlpd qword [ebp - 0x248], xmm0
movlpd qword [ebp - 0x240], xmm0
mov dword [ebp - 0x254], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x258]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x150]
push 0
push 0
push 0
push str.setfocus
push edi
mov ecx, esi
call fcn.10034190
mov eax, dword [ebp - 0x3c8]
xorps xmm0, xmm0
shr eax, 0x10
movzx eax, ax
mov dword [ebp - 0x234], edi
mov edi, dword [ebp - 0x3c4]
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], edi
call fcn.10030ff0
mov word [ebp - 0x222], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x3cc]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
movzx ecx, word [esi + 0x74]
movzx eax, word [esi + 0x70]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x10032525
cmp edx, 0x318
ja 0x10032ee8
je 0x10032dfd
sub edx, 0x215
je 0x10032d99
sub edx, 0x8c
je 0x10032b2b
sub edx, 2
jne case.default.0x10032525
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x10032b09
lea eax, [esi + 0x24]
push eax
push edx
push 0x411
push ecx
call edi
cmp byte [esi + 0xca], 0
je 0x10032b1f
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi]
call edi
mov byte [esi + 0xca], 0
jmp case.default.0x10032525
mov eax, dword [ebp - 0x3c4]
movsx ecx, ax
shr eax, 0x10
mov dword [ebp - 0x3e8], ecx
cwde
mov dword [ebp - 0x3f4], ecx
mov ecx, dword [esi + 0x58]
mov byte [esi + 0xca], 0
mov dword [ebp - 0x3dc], eax
mov dword [ebp - 0x3f0], eax
test ecx, ecx
je case.default.0x10032525
mov eax, dword [ecx]
lea edx, [ebp - 0x3f4]
push 0xd
push edx
push 0x100351a0
mov eax, dword [eax + 0x144]
call eax
mov edi, eax
test edi, edi
je case.default.0x10032525
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10032bf2
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x3cc], eax
cmp eax, dword [esi]
je 0x10032bf2
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100a3120
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp - 0x3cc]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x10032bf2
lea eax, [ebp - 0x218]
push str.Internet_Explorer_Server
push eax
call fcn.100b0119
add esp, 8
test eax, eax
jne 0x10032bf2
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x64]
test eax, eax
je 0x10032c5e
mov ecx, dword [ebp - 0x3e8]
xorps xmm0, xmm0
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp - 0x3dc]
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 [esi + 0x64]
lea edx, [ebp - 0x238]
mov dword [ebp - 0x230], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xdc]
call eax
test al, al
je 0x10032189
mov eax, dword [edi]
lea ecx, [ebp - 0x36c]
push ecx
mov ecx, edi
call dword [eax + 0xd8]
lea ecx, [ebp - 0x36c]
mov dword [ebp - 4], 1
call fcn.1002e550
lea ecx, [ebp - 0x36c]
test al, al
jne 0x10032d8d
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov eax, dword [esi]
mov dword [esi + 0x24], 0x30
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov eax, dword [0x101091fc]
mov dword [esi + 0x44], eax
call fcn.1002d9f0
mov dword [esi + 0x48], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x3c]
call eax
movups xmm0, xmmword [eax]
mov eax, dword [esi + 0x20]
movups xmmword [esi + 0x34], xmm0
test eax, eax
jne 0x10032d63
push eax
push dword [0x101091fc]
push eax
push dword [esi]
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 edi, [esi + 0x24]
mov dword [esi + 0x20], eax
push edi
push 0
push 0x432
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
mov eax, dword [esi + 0x20]
jmp 0x10032d66
lea edi, [esi + 0x24]
push edi
push 0
push 0x436
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x411
push dword [esi + 0x20]
call eax
lea ecx, [ebp - 0x36c]
call fcn.1002d750
mov al, 1
jmp 0x10033099
mov edx, dword [esi + 0x68]
test edx, edx
je case.default.0x10032525
mov eax, dword [ebp - 0x3c4]
cmp eax, dword [esi]
je case.default.0x10032525
mov ecx, dword [ebp - 0x3c8]
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 + 0x154]
jmp case.default.0x10032525
lea eax, [ebp - 0x228]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x3c8]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x58]
mov dword [ebp - 0x3cc], eax
lea eax, [ebp - 0x228]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x160]
test byte [ebp - 0x3c4], 0x10
je 0x10032ed6
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x3c0], eax
test eax, eax
je 0x10032ed6
or dword [ebp - 0x3c4], 2
nop
lea ecx, [ebp - 0x248]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x248], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x248]
push eax
push dword [esi]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x244]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x248]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x3c4]
push edi
push 0x317
push dword [ebp - 0x3c0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x3c0]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x3c0], eax
test eax, eax
jne 0x10032e60
push dword [ebp - 0x3cc]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x10032525
cmp edx, 0x31e
je 0x10032f77
cmp edx, 0x8001
jne case.default.0x10032525
lea edi, [esi + 0x1a4]
push edi
lea ecx, [ebp - 0x3f8]
call fcn.1002d600
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.1002dde0
lea ecx, [ebp - 0x3f8]
xor edi, edi
call fcn.1002e210
test eax, eax
jle 0x10032f58
push edi
lea ecx, [ebp - 0x3f8]
call fcn.1002d9e0
test eax, eax
je 0x10032f48
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
lea ecx, [ebp - 0x3f8]
inc edi
call fcn.1002e210
cmp edi, eax
jl 0x10032f31
lea ecx, [ebp - 0x3f8]
call fcn.1002dde0
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 4], 0xffffffff
call fcn.1002d770
jmp case.default.0x10032525
push str.Dwmapi.dll
mov dword [esi + 0x348], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je case.default.0x10032525
push str.DwmIsCompositionEnabled
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10032fab
lea ecx, [esi + 0x348]
push ecx
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esi + 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esi + 0x1b0]
call fcn.1002e160
push 0
lea ecx, [esi + 0x1b0]
mov edi, eax
call fcn.1002e680
lea eax, [esi + 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x10033097
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x10033019
add ecx, 0x38
call fcn.100371f0
test al, al
je 0x10033019
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.10037200
test al, al
jne 0x10033072
lea eax, [esi + 0x168]
mov dword [ebp - 0x3cc], 0
mov ecx, eax
mov dword [ebp - 0x3c0], eax
call fcn.1002e210
test eax, eax
jle 0x10033072
mov esi, dword [ebp - 0x3cc]
cmp dword [edi + 0x108], 0
je 0x1003306c
mov ecx, dword [ebp - 0x3c0]
push esi
call fcn.1002d9e0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x3c0]
inc esi
call fcn.1002e210
cmp esi, eax
jl 0x10033040
mov esi, dword [ebp - 0x3d4]
lea ecx, [edi + 0x84]
call fcn.1002d750
mov ecx, edi
call fcn.1002d750
push 0x120
push edi
call fcn.1009c669
add esp, 8
jmp case.default.0x10032525
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.1009cacf
mov esp, ebp
pop ebp
ret 0x10