Function at 0x472580
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4b5b6b
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x4d77ac]
xor eax, esp
mov dword [esp + 0x1b4], eax
push esi
push edi
mov eax, dword [0x4d77ac]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
je 0x473f46
nop
cmp dword [esi + 0x560], 0
jle 0x4726cb
mov eax, dword [esi + 0x55c]
mov edx, dword [eax]
mov dword [esp + 0x34], edx
test edx, edx
je 0x4726cb
mov eax, dword [esi + 0x560]
test eax, eax
jle 0x472631
dec eax
mov dword [esi + 0x560], eax
test eax, eax
jle 0x472631
mov ecx, dword [esi + 0x55c]
shl eax, 2
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004985a0
mov edx, dword [esp + 0x40]
add esp, 0xc
mov ecx, dword [edx + 0x108]
test ecx, ecx
je 0x472658
cmp dword [ecx + 0x140], 0
jle 0x472658
push edx
add ecx, 0x13c
call fcn.0048c8d0
test al, al
jne 0x4726ba
mov edx, dword [esp + 0x34]
xor edi, edi
cmp dword [esi + 0x518], edi
jle 0x47267d
mov eax, dword [esi + 0x514]
push edx
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [esp + 0x34]
inc edi
cmp edi, dword [esi + 0x518]
jl 0x472662
mov edi, dword [esp + 0x34]
mov ecx, dword [edi + 0x84]
lea eax, [edi + 0x88]
cmp ecx, eax
je 0x47269a
push ecx
call fcn.00493921
add esp, 4
mov ecx, dword [edi]
lea eax, [edi + 4]
cmp ecx, eax
je 0x4726ac
push ecx
call fcn.00493921
add esp, 4
push edi
call fcn.00493959
add esp, 4
jmp 0x4725e0
push ecx
mov ecx, dword [esp + 0x38]
call fcn.00471e70
mov al, 1
jmp 0x473f48
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x53c], ecx
jle 0x47271e
lea esp, [esp]
mov eax, dword [esi + 0x538]
lea edx, [esp + 0x33]
mov byte [esp + 0x33], 0
push edx
push dword [esp + 0x20]
mov ecx, dword [eax + ecx*4]
push dword [esp + 0x44]
push edi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp byte [esp + 0x33], 0
jne 0x47326c
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, dword [esi + 0x53c]
jl 0x4726e0
cmp edi, 0x111
ja 0x4732a4
je 0x473279
lea eax, [edi - 5]
cmp eax, 0xfd
ja case.default.0x47358c
movzx eax, byte [eax + 0x473fa0]
jmp dword [eax*4 + 0x473f70]
mov eax, dword [esi + 0x438]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x43c]
mov dword [esp + 0x44], 0
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x42c]
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x4727ac
mov dword [esp + 0x44], 0xa
lea edx, [esp + 0x44]
mov dword [esp + 0x48], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x124]
mov ecx, dword [esi + 0x430]
test ecx, ecx
je 0x4727cf
mov dword [esp + 0x44], 0xe
lea edx, [esp + 0x44]
mov dword [esp + 0x48], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x124]
push 0
mov ecx, esi
call fcn.00474ea0
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x47358c
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x47358c
mov ecx, dword [esp + 0x14]
mov al, 1
mov dword [ecx], 1
jmp 0x473f48
push 0
lea eax, [esp + 0x118]
xorps xmm0, xmm0
push eax
push dword [esi]
movdqu xmmword [esp + 0x120], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4726c4
cmp dword [esi + 0x424], 0
jne 0x47287c
push 0x3c
lea eax, [esp + 0x8c]
mov dword [esp + 0x88], 0
push 0
push eax
call fcn.0049c630
add esp, 0xc
lea eax, [esp + 0x84]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [esp + 0x84]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x473f48
cmp byte [esi + 0x485], 0
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
je 0x4729d4
lea ecx, [esp + 0x104]
mov byte [esi + 0x485], 0
push ecx
push dword [esi]
xorps xmm0, xmm0
movdqa xmmword [esp + 0x10c], xmm0
call eax
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4729cf
mov ecx, dword [esi + 0x424]
cmp byte [ecx + 0x274], al
je 0x47293c
movdqu xmm0, xmmword [esp + 0x104]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call dword [edx + 0x34]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4728f8
push eax
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x472902
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x472910
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x47291e
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
jmp 0x4729a7
mov eax, dword [ecx]
push 0x80000001
push 0
push 0x476870
mov eax, dword [eax + 0x118]
call eax
mov dword [esp + 0x14], eax
test eax, eax
je 0x4729a7
lea ebx, [ebx]
mov edi, dword [eax]
mov ecx, eax
mov edx, dword [edi + 0x30]
call edx
sub esp, 0x10
mov ecx, esp
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx], xmm0
mov ecx, dword [esp + 0x24]
call dword [edi + 0x34]
mov ecx, dword [esi + 0x424]
push 0x80000001
push 0
push 0x476870
mov eax, dword [ecx]
mov eax, dword [eax + 0x118]
call eax
mov dword [esp + 0x14], eax
test eax, eax
jne 0x472960
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [esi + 0x484], 0
je 0x4729cf
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0x424]
mov ecx, esi
mov byte [esi + 0x484], 0
call fcn.00475960
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esi + 0x486], 0
je 0x4729eb
push 1
mov ecx, esi
call fcn.004753e0
jmp 0x472e83
cmp byte [esi + 0x488], 0
je 0x472bd7
cmp byte [esi + 0x48c], 0
je 0x472bd7
cmp byte [0x4e1fb8], 0
jne 0x472a36
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x472a2f
xor eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov byte [0x4e1fb8], 1
lea eax, [esp + 0x104]
xorps xmm0, xmm0
push eax
push dword [esi]
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
movdqa xmmword [esp + 0x10c], xmm0
call eax
push 0x3c
lea eax, [esp + 0xcc]
mov dword [esp + 0xc8], 0
push 0
push eax
call fcn.0049c630
add esp, 0xc
lea eax, [esp + 0xc4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x472a8c
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x472a9a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [esi + 0x487], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
je 0x472ae7
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x110]
sub eax, dword [esp + 0x108]
push eax
mov eax, dword [esp + 0x110]
sub eax, dword [esp + 0x108]
push eax
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x18], eax
push dword [esi + 0x18]
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [esi + 0x48c], 0
je 0x472b2d
movdqa xmm0, xmmword [esp + 0x104]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
movdqa xmmword [esp + 0x48], xmm0
call fcn.00477400
mov ecx, dword [esi + 0x424]
lea edx, [esp + 0x44]
push edx
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x138]
lea eax, [esp + 0x124]
xorps xmm0, xmm0
push eax
push dword [esi]
movdqu xmmword [esp + 0x12c], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x124]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10c]
sub eax, dword [esp + 0x104]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x110]
sub eax, dword [esp + 0x108]
push 2
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x18]
push eax
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0
push eax
push dword [esi + 0x10]
lea eax, [esp + 0x48]
mov dword [esp + 0x3c], 0
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], 0x1ff0000
push eax
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
lea eax, [esp + 0xc4]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x473f48
cmp byte [esi + 0x487], 0
je 0x472c34
cmp dword [esi + 0x14], 0
jne 0x472c34
lea ecx, [esp + 0x104]
xorps xmm0, xmm0
push ecx
push dword [esi]
movdqu xmmword [esp + 0x10c], xmm0
call eax
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x110]
sub eax, dword [esp + 0x108]
push eax
mov eax, dword [esp + 0x110]
sub eax, dword [esp + 0x108]
push eax
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x14], eax
push 0x3c
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], 0
push 0
push eax
call fcn.0049c630
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x487], 0
je 0x472e48
push dword [esi + 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xc]
call edi
push dword [esi + 0xc]
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [esi + 0x488], 0
mov dword [esp + 0x14], eax
je 0x472d5a
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x472d27
lea eax, [esp + 0x104]
xorps xmm0, xmm0
push eax
push dword [esi]
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
movdqu xmmword [esp + 0x10c], xmm0
call eax
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x110]
sub eax, dword [esp + 0x108]
push eax
mov eax, dword [esp + 0x110]
sub eax, dword [esp + 0x108]
push eax
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esi + 0x10]
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
sub eax, edx
push 0xcc0020
push edx
push ecx
push dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x68]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0x10]
call edi
jmp 0x472d33
push ecx
push dword [esi + 0x10]
call edi
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
push 0xcc0020
push edx
push ecx
push dword [esi + 0x10]
sub eax, edx
push eax
mov eax, dword [esp + 0x68]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 0x424]
lea edx, [esp + 0x4c]
push edx
push dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x138]
xor edi, edi
cmp dword [esi + 0x548], edi
jle 0x472da2
lea ebx, [ebx]
mov eax, dword [esi + 0x544]
lea edx, [esp + 0x4c]
push edx
push dword [esi + 0xc]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x150]
inc edi
cmp edi, dword [esi + 0x548]
jl 0x472d80
push dword [esp + 0x14]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
push 0xcc0020
push edx
push ecx
push dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esp + 0x68]
sub eax, ecx
push eax
push edx
push ecx
push dword [esp + 0x64]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x34]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xc]
call edi
cmp byte [esi + 0x50], 0
je 0x472e76
push dword [0x4dbee4]
push dword [esp + 0x48]
call edi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x120]
push dword [esp + 0x120]
push dword [esp + 0x120]
push dword [esp + 0x120]
push dword [esp + 0x54]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x472e76
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x424]
mov edi, eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x48]
mov edx, dword [ecx]
call dword [edx + 0x138]
push edi
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [esp + 0x44]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [esi + 0x485], 0
je 0x4726c4
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x473f48
mov eax, dword [esi + 0x440]
mov ecx, dword [esp + 0x1c]
test eax, eax
jle 0x472eb4
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x444]
test eax, eax
jle 0x472ec1
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x448]
test eax, eax
jle 0x472ece
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x44c]
test eax, eax
jle case.default.0x47358c
mov dword [ecx + 0x24], eax
jmp case.default.0x47358c
mov eax, dword [esi + 0x428]
test eax, eax
je 0x472f2e
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x44], 0x16
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x428]
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x124]
mov ecx, dword [esi + 0x424]
mov byte [esi + 0x485], 1
test ecx, ecx
je 0x4726c4
call fcn.00467e40
mov al, 1
jmp 0x473f48
mov ecx, dword [esp + 0x1c]
movsx eax, cx
mov dword [esp + 0x24], eax
shr ecx, 0x10
movsx eax, cx
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0x430], 0
mov eax, dword [esp + 0x24]
mov dword [esi + 0x438], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x43c], eax
je case.default.0x47358c
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x430]
mov edx, dword [esp + 0x3c]
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x44], 0x11
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], eax
mov word [esp + 0x5a], dx
mov dword [esp + 0x60], ecx
jmp 0x4737ed
cmp dword [esi + 0x428], 0
je case.default.0x47358c
mov eax, dword [esi + 0x438]
xorps xmm0, xmm0
mov edx, dword [esp + 0x3c]
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x43c]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x44], 5
mov word [esp + 0x58], dx
mov dword [esp + 0x54], eax
call fcn.00444330
mov word [esp + 0x5a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x428]
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x124]
jmp case.default.0x47358c
cmp dword [esi + 0x428], 0
je case.default.0x47358c
mov eax, dword [esi + 0x438]
xorps xmm0, xmm0
mov edx, dword [esp + 0x3c]
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x43c]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x44], 3
mov word [esp + 0x58], dx
mov dword [esp + 0x54], eax
call fcn.00444330
mov word [esp + 0x5a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x428]
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x124]
mov eax, dword [esi + 0x428]
mov dword [esi + 0x434], eax
jmp case.default.0x47358c
cmp dword [esi + 0x434], 0
je case.default.0x47358c
mov eax, dword [esi + 0x438]
xorps xmm0, xmm0
mov edx, dword [esp + 0x3c]
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x43c]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x44], 4
mov word [esp + 0x58], dx
mov dword [esp + 0x54], eax
call fcn.00444330
mov word [esp + 0x5a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x434]
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x124]
mov dword [esi + 0x434], 0
jmp case.default.0x47358c
mov edi, dword [esp + 0x1c]
cmp di, 1
jne case.default.0x47358c
cmp byte [esi + 0x48a], 0
jne 0x4726c4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x1c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [esp + 0x20]
mov ecx, esi
push dword [esp + 0x20]
call fcn.004766a0
mov dword [esp + 0x14], eax
test eax, eax
je case.default.0x47358c
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x14]
call edx
test al, 2
je case.default.0x47358c
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
mov edx, dword [esp + 0x3c]
movdqu xmmword [esp + 0x88], xmm0
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x20]
movq qword [esp + 0x98], xmm0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x84], 0x17
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
mov dword [esp + 0x94], eax
call fcn.00444330
mov word [esp + 0x9a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x84]
mov dword [esp + 0x8c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x124]
mov al, 1
jmp 0x473f48
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x473272
mov edx, dword [esp + 0x3c]
lea eax, [edi + 0x2000]
push ecx
push edx
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov al, 1
jmp 0x473f48
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je case.default.0x47358c
mov edx, dword [esp + 0x3c]
push ecx
push edx
push 0x2111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov al, 1
jmp 0x473f48
cmp edi, 0x200
ja 0x47356b
je 0x473392
mov eax, edi
sub eax, 0x113
je 0x4732fa
sub eax, 0x20
je 0x4732cd
sub eax, 5
jne case.default.0x47358c
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je case.default.0x47358c
mov edx, dword [esp + 0x3c]
lea eax, [edi + 0x2000]
push ecx
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov al, 1
jmp 0x473f48
xor ecx, ecx
cmp dword [esi + 0x524], ecx
jle case.default.0x47358c
mov edi, dword [esi + 0x520]
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edi
mov edi, dword [edi]
cmp dword [edi + 8], eax
jne 0x47332f
movzx eax, dx
cmp dword [edi + 0xc], eax
jne 0x47332d
cmp byte [edi + 0x10], 0
je 0x473348
mov eax, dword [esi]
mov edi, dword [esp + 0x14]
inc ecx
add edi, 4
mov dword [esp + 0x14], edi
cmp ecx, dword [esi + 0x524]
jl 0x473318
jmp case.default.0x47358c
mov eax, dword [edi]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x48], eax
mov eax, dword [edi + 4]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x44], 0x18
mov dword [esp + 0x5c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi]
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x124]
jmp case.default.0x47358c
cmp byte [esi + 0x489], 0
jne 0x473411
mov eax, dword [esi]
xorps xmm0, xmm0
movq qword [esp + 0x108], xmm0
mov dword [esp + 0x10c], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x110], 0
mov dword [esp + 0x104], 0x10
mov dword [esp + 0x108], 3
test eax, eax
jne 0x4733e5
mov dword [esp + 0x110], 0x190
jmp 0x4733fc
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x110], eax
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0x489], 1
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x438], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x424]
mov dword [esp + 0x34], eax
mov dword [esi + 0x43c], eax
mov dword [esp + 0x28], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x476760
mov eax, dword [eax + 0x118]
call eax
mov edi, eax
test edi, edi
je 0x47346b
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.default.0x47358c
mov eax, dword [esp + 0x14]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], 0
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x42c]
mov dword [esp + 0x4c], eax
cmp edi, ecx
je 0x4734ee
test ecx, ecx
je 0x4734ee
mov dword [esp + 0x44], 0xa
lea edx, [esp + 0x44]
mov dword [esp + 0x48], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x124]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x42c], 0
test ecx, ecx
je 0x4734ee
lea eax, [esi + 0x20]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, dword [esi + 0x42c]
je 0x47351b
test edi, edi
je 0x47351b
mov dword [esp + 0x44], 0xb
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x124]
mov dword [esi + 0x42c], edi
mov ecx, dword [esi + 0x430]
test ecx, ecx
je 0x473543
mov dword [esp + 0x44], 9
lea edx, [esp + 0x44]
mov dword [esp + 0x48], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x124]
jmp case.default.0x47358c
test edi, edi
je case.default.0x47358c
mov dword [esp + 0x44], 9
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x124]
jmp case.default.0x47358c
cmp edi, 0x20a
ja 0x473a29
je 0x47391c
add edi, 0xfffffdff
cmp edi, 3
ja case.default.0x47358c
jmp dword [edi*4 + 0x4740a0]
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x104]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x438], ecx
mov dword [esp + 0x104], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x424]
mov dword [esp + 0x34], eax
mov dword [esi + 0x43c], eax
mov dword [esp + 0x108], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x476760
mov eax, dword [eax + 0x118]
call eax
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je case.default.0x47358c
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.default.0x47358c
mov dword [esi + 0x430], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0xf0]
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x14]
xorps xmm0, xmm0
mov eax, dword [esp + 0x3c]
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x1c]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], 0
mov byte [esi + 0x48a], 1
mov dword [esp + 0x44], 0xd
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x54], ecx
mov word [esp + 0x5a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x124]
jmp case.default.0x47358c
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x104]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x438], ecx
mov dword [esp + 0x104], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x424]
mov dword [esp + 0x14], eax
mov dword [esi + 0x43c], eax
mov dword [esp + 0x108], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x476760
mov eax, dword [eax + 0x118]
call eax
mov edi, eax
test edi, edi
je case.default.0x47358c
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.default.0x47358c
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esp + 0x24]
xorps xmm0, xmm0
mov edx, dword [esp + 0x3c]
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
movq qword [esp + 0x58], xmm0
mov byte [esi + 0x48a], 1
mov dword [esp + 0x60], 0
mov dword [esp + 0x44], 0x10
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], eax
mov word [esp + 0x5a], dx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x44]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x124]
mov dword [esi + 0x430], edi
jmp case.default.0x47358c
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 0x10
cmp dword [esi + 0x430], 0
movsx edx, cx
cwde
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
mov dword [esi + 0x438], edx
mov dword [esi + 0x43c], eax
je case.default.0x47358c
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x430]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], 0
mov dword [esp + 0x44], 0xe
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x54], ecx
mov word [esp + 0x5a], ax
mov byte [esi + 0x48a], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x430]
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x124]
mov dword [esi + 0x430], 0
jmp case.default.0x47358c
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x104]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x438], ecx
mov dword [esp + 0x104], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x424]
mov dword [esp + 0x14], eax
mov dword [esi + 0x43c], eax
mov dword [esp + 0x108], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x476760
mov eax, dword [eax + 0x118]
call eax
mov edi, eax
mov dword [esp + 0x34], edi
test edi, edi
je case.default.0x47358c
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.default.0x47358c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xf0]
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0x24]
xorps xmm0, xmm0
mov eax, dword [esp + 0x3c]
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x1c]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], 0
mov byte [esi + 0x48a], 1
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x54], ecx
mov word [esp + 0x5a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], eax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x124]
mov dword [esi + 0x430], edi
jmp case.default.0x47358c
mov ecx, dword [esp + 0x1c]
movsx eax, cx
mov dword [esp + 0x14], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x104]
mov eax, dword [esp + 0x18]
mov dword [esi + 0x438], ecx
mov dword [esp + 0x104], ecx
mov ecx, dword [esi + 0x424]
mov dword [esi + 0x43c], eax
mov dword [esp + 0x108], eax
push 0xd
mov eax, dword [ecx]
push edx
push 0x476760
mov eax, dword [eax + 0x118]
call eax
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je case.default.0x47358c
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.default.0x47358c
mov ecx, dword [esp + 0x3c]
xor eax, eax
shr ecx, 0x10
xorps xmm0, xmm0
test cx, cx
movq qword [esp + 0x58], xmm0
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x48], edi
sets al
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x60], 0
mov dword [esp + 0x44], 0x12
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
call fcn.00444330
mov word [esp + 0x5a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x124]
movzx ecx, word [esi + 0x43c]
movzx eax, word [esi + 0x438]
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.0x47358c
cmp edi, 0xa90
ja 0x473d4a
je 0x4726c4
sub edi, 0x2a1
je 0x473b71
sub edi, 2
je 0x473b34
sub edi, 0x75
jne case.default.0x47358c
lea eax, [esp + 0x44]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x3c]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x424]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x44]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x138]
test byte [esp + 0x1c], 0x10
je 0x473b24
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x14], eax
test eax, eax
je 0x473b24
or dword [esp + 0x1c], 2
nop
lea ecx, [esp + 0x114]
xorps xmm0, xmm0
push ecx
push eax
movdqu xmmword [esp + 0x11c], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x118]
push eax
push dword [esi]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x118]
push 0
neg eax
push eax
mov eax, dword [esp + 0x11c]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [esp + 0x1c]
push edi
push 0x317
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x473ab0
push dword [esp + 0x24]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x47358c
mov ecx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x473b4f
lea eax, [esi + 0x20]
push eax
push 0
push 0x411
push ecx
call edi
cmp byte [esi + 0x489], 0
je 0x473b65
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi]
call edi
mov byte [esi + 0x489], 0
jmp case.default.0x47358c
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x104]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
mov dword [esp + 0x108], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x424]
mov dword [esp + 0x24], eax
mov dword [esp + 0x104], eax
mov byte [esi + 0x489], 0
mov eax, dword [ecx]
push 0xd
push edx
push 0x476760
mov eax, dword [eax + 0x118]
call eax
mov edi, eax
mov dword [esp + 0x34], edi
test edi, edi
je case.default.0x47358c
mov eax, dword [esi + 0x42c]
test eax, eax
je 0x473c22
mov ecx, dword [esp + 0x24]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x14]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x60], 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], 0xc
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x42c]
lea edx, [esp + 0x44]
mov dword [esp + 0x4c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x124]
mov eax, dword [edi]
lea ecx, [esp + 0x134]
push ecx
mov ecx, edi
call dword [eax + 0x98]
mov dword [esp + 0x1d0], 0
mov edi, dword [esp + 0x134]
cmp word [edi], 0
jne 0x473c67
lea eax, [esp + 0x138]
cmp edi, eax
je 0x473c60
push edi
call fcn.00493921
add esp, 4
mov al, 1
jmp 0x473f48
push 0x30
lea eax, [esi + 0x20]
push 0
push eax
call fcn.0049c630
mov eax, dword [esi]
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov eax, dword [0x4dc108]
mov dword [esi + 0x40], eax
mov dword [esi + 0x20], 0x30
mov dword [esi + 0x24], 1
mov dword [esi + 0x44], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp dword [esi + 0x1c], 0
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 0x30], xmm0
jne 0x473cfe
push 0
push dword [0x4dc108]
push 0
push dword [esi]
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000003
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea edi, [esi + 0x20]
mov dword [esi + 0x1c], eax
push edi
push 0
push 0x432
push eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
jmp 0x473d01
lea edi, [esi + 0x20]
push edi
push 0
push 0x436
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x411
push dword [esi + 0x1c]
call eax
mov eax, dword [esp + 0x134]
lea ecx, [esp + 0x138]
cmp eax, ecx
je 0x473c60
push eax
call fcn.00493921
add esp, 4
mov al, 1
jmp 0x473f48
cmp edi, 0xa91
je 0x473dbf
cmp edi, 0x8001
jne case.default.0x47358c
xor edi, edi
cmp dword [esi + 0x554], edi
jle 0x473d8c
jmp 0x473d70
mov eax, dword [esi + 0x550]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x473d83
mov eax, dword [ecx]
push 1
call dword [eax]
inc edi
cmp edi, dword [esi + 0x554]
jl 0x473d70
mov eax, dword [esi + 0x550]
test eax, eax
je 0x473d9f
push eax
call fcn.00493921
add esp, 4
mov dword [esi + 0x550], 0
mov dword [esi + 0x558], 0
mov dword [esi + 0x554], 0
jmp case.default.0x47358c
mov eax, dword [esi + 0x424]
xorps xmm0, xmm0
mov edx, dword [esp + 0x3c]
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x60], 0
mov dword [esp + 0x60], eax
xor eax, eax
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x44], 0x1b
mov dword [esp + 0x5c], edx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov word [esp + 0x5a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [esi + 0x424]
mov dword [esp + 0x50], eax
mov ecx, esi
lea eax, [esp + 0x48]
push eax
call fcn.004754a0
jmp case.default.0x47358c
cmp dword [esi + 0x560], 0
jle 0x473f46
mov eax, dword [esi + 0x55c]
mov edx, dword [eax]
mov dword [esp + 0x14], edx
test edx, edx
je 0x473f46
mov eax, dword [esi + 0x560]
test eax, eax
jle 0x473e81
dec eax
mov dword [esi + 0x560], eax
test eax, eax
jle 0x473e81
mov ecx, dword [esi + 0x55c]
shl eax, 2
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004985a0
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [edx + 0x108]
test ecx, ecx
je 0x473ea8
cmp dword [ecx + 0x140], 0
jle 0x473ea8
push edx
add ecx, 0x13c
call fcn.0048c8d0
test al, al
jne 0x473f0a
mov edx, dword [esp + 0x14]
xor edi, edi
cmp dword [esi + 0x518], edi
jle 0x473ecd
mov eax, dword [esi + 0x514]
push edx
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [esp + 0x14]
inc edi
cmp edi, dword [esi + 0x518]
jl 0x473eb2
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x84]
lea eax, [edi + 0x88]
cmp ecx, eax
je 0x473eea
push ecx
call fcn.00493921
add esp, 4
mov ecx, dword [edi]
lea eax, [edi + 4]
cmp ecx, eax
je 0x473efc
push ecx
call fcn.00493921
add esp, 4
push edi
call fcn.00493959
add esp, 4
jmp case.default.0x47358c
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x84]
lea eax, [edi + 0x88]
cmp ecx, eax
je 0x473f27
push ecx
call fcn.00493921
add esp, 4
mov ecx, dword [edi]
lea eax, [edi + 4]
cmp ecx, eax
je 0x473f39
push ecx
call fcn.00493921
add esp, 4
push edi
call fcn.00493959
add esp, 4
mov al, 1
jmp 0x473f48
xor al, al
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1b4]
xor ecx, esp
call fcn.00493864
mov esp, ebp
pop ebp
ret 0x10