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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f4fb
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x47201c]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x47201c]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, edx
cmp dword [edi], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0xac], ecx
je 0x4168ad
lea esp, [esp]
cmp dword [edi + 0x108], 0
jle 0x415237
mov edx, dword [edi + 0x104]
mov eax, dword [edx]
mov dword [esp + 0xbc], eax
test eax, eax
je 0x415237
mov eax, dword [edi + 0x108]
test eax, eax
jle 0x415191
dec eax
mov dword [edi + 0x108], eax
test eax, eax
jle 0x415191
mov ecx, dword [edi + 0x104]
add eax, eax
add eax, eax
push eax
lea edx, [ecx + 4]
push edx
push ecx
call fcn.004575e0
add esp, 0xc
mov eax, dword [esp + 0xbc]
mov esi, dword [eax + 0x84]
test esi, esi
je 0x4151de
cmp dword [esi + 0x38], 0
jle 0x4151de
xor eax, eax
mov dword [esp + 0x5c], eax
cmp dword [esi + 0x38], eax
jle 0x4151de
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x4151d4
mov edx, dword [ecx]
mov eax, dword [esp + 0xbc]
mov edx, dword [edx + 8]
push eax
call edx
test al, al
je 0x4151de
mov eax, dword [esp + 0x5c]
inc eax
mov dword [esp + 0x5c], eax
cmp eax, dword [esi + 0x38]
jl 0x4151b3
xor esi, esi
cmp dword [edi + 0xc0], esi
jle 0x415210
jmp 0x4151f0
mov eax, dword [edi + 0xbc]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov eax, dword [esp + 0xbc]
mov edx, dword [edx]
push eax
call edx
inc esi
cmp esi, dword [edi + 0xc0]
jl 0x4151f0
mov esi, dword [esp + 0xbc]
mov eax, dword [esi]
lea ecx, [esi + 4]
cmp eax, ecx
je 0x415229
push eax
call fcn.00450199
add esp, 4
push esi
call fcn.0044f731
add esp, 4
jmp 0x415140
xor esi, esi
cmp dword [edi + 0xe4], esi
jle 0x415278
mov edx, dword [edi + 0xe0]
mov byte [esp + 0x1b], 0
mov ecx, dword [edx + esi*4]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x1b]
push edx
mov edx, dword [esp + 0x18]
push ebx
push edx
mov edx, dword [ebp + 8]
push edx
call eax
cmp byte [esp + 0x1b], 0
jne 0x415cb5
inc esi
cmp esi, dword [edi + 0xe4]
jl 0x415241
mov eax, dword [ebp + 8]
cmp eax, 0x111
ja 0x415cef
je 0x415cc5
add eax, 0xfffffffb
cmp eax, 0xfd
ja case.default.0x415fcb
movzx edx, byte [eax + 0x416908]
jmp dword [edx*4 + 0x4168d8]
mov ecx, dword [edi + 0x6c]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x68]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x415308
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x20], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x1c]
push eax
call edx
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x41532a
mov dword [esp + 0x1c], 0xe
mov dword [esp + 0x20], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
lea edx, [esp + 0x1c]
push edx
call eax
xor esi, esi
mov eax, edi
call fcn.00416e50
mov ecx, dword [edi]
push 4
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x415fcb
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x415fcb
mov edx, dword [esp + 0xac]
mov dword [edx], 1
mov al, 1
jmp 0x4168af
mov ecx, dword [edi]
xor eax, eax
xor esi, esi
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
push esi
lea eax, [esp + 0xd0]
push eax
push ecx
mov dword [esp + 0xd8], esi
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x416594
cmp dword [edi + 0x54], esi
jne 0x4153dc
push 0x3c
lea edx, [esp + 0x74]
push esi
push edx
mov dword [esp + 0x78], esi
call fcn.00454970
mov ecx, dword [edi]
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [edi]
lea edx, [esp + 0x6c]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4168af
cmp byte [edi + 0xb5], 0
je 0x41553c
mov edx, dword [edi]
lea ecx, [esp + 0xac]
xor eax, eax
push ecx
push edx
mov byte [edi + 0xb5], 0
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x41553c
mov ecx, dword [edi + 0x54]
mov edx, dword [ecx]
cmp byte [ecx + 0xcc], al
je 0x4154b5
mov ebx, dword [esp + 0xac]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0xc0]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0xc4]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0xc8]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0x34]
call eax
mov eax, dword [edi + 0xc]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
cmp eax, esi
je 0x415483
push eax
call ebx
mov eax, dword [edi + 0x10]
cmp eax, esi
je 0x41548d
push eax
call ebx
mov eax, dword [edi + 0x14]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, esi
je 0x41549d
push eax
call ebx
mov eax, dword [edi + 0x18]
cmp eax, esi
je 0x4154a7
push eax
call ebx
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
jmp 0x41551a
mov eax, dword [edx + 0xf4]
push SysReAllocString
push esi
push 0x418560
call eax
mov ebx, eax
cmp ebx, esi
je 0x41551a
mov edi, edi
mov esi, dword [ebx]
mov edx, dword [esi + 0x30]
mov ecx, ebx
call edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esi + 0x34]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xf4]
push SysReAllocString
push 0
push 0x418560
call edx
mov ebx, eax
test ebx, ebx
jne 0x4154d0
cmp byte [edi + 0xb4], 0
je 0x41553c
mov eax, dword [edi + 0x54]
push 0
push 0
push eax
mov ecx, str.windowinit
mov byte [edi + 0xb4], 0
call fcn.00417810
cmp byte [edi + 0xb6], 0
je 0x415600
cmp byte [edi + 0xb5], 0
je 0x41556b
mov ecx, dword [edi]
push 0
push 0
push ecx
mov byte [edi + 0xb6], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x415600
mov edx, dword [edi + 0x58]
mov ecx, dword [edi + 0x54]
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xac], edx
push SysStringLen
mov dword [esp + 0xb4], eax
lea edx, [esp + 0xb0]
mov byte [esp + 0xb8], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0xf4]
push edx
push 0x418480
call eax
test eax, eax
jne 0x4155f0
mov ecx, dword [edi + 0x54]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], eax
push SysStringLen
lea eax, [esp + 0xc0]
mov byte [esp + 0xc8], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0xf4]
push eax
push 0x418480
call edx
test eax, eax
je 0x4155f9
mov esi, eax
mov eax, edi
call fcn.00416e50
mov byte [edi + 0xb6], 0
cmp byte [edi + 0xb7], 0
je 0x41565a
xor eax, eax
cmp dword [edi + 0x14], eax
jne 0x41565a
mov ecx, dword [edi]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea eax, [esp + 0x5c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x5c]
mov edx, dword [edi + 8]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0x14], eax
push 0x3c
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x28], 0
call fcn.00454970
mov edx, dword [edi]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [edi + 0xb7], 0
je 0x41588e
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0xc]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call ebx
mov edx, dword [edi + 0xc]
push edx
mov dword [esp + 0xb0], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [edi + 0xb8], 0
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [esp + 0x5c], eax
je 0x415799
mov eax, dword [edi + 0x18]
test eax, eax
jne 0x415769
mov ecx, dword [edi]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xbc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0xc4]
sub ecx, dword [esp + 0xbc]
mov edx, dword [edi + 8]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xc0]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x10]
push eax
call ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x40]
sub edx, eax
push edx
mov edx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x10]
push ecx
push eax
call esi
jmp 0x415770
mov ecx, dword [edi + 0x10]
push eax
push ecx
call ebx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x10]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x40]
sub edx, eax
push edx
mov edx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0xc]
push ecx
push eax
call esi
mov ecx, dword [edi + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x110]
lea eax, [esp + 0x24]
push eax
mov eax, dword [edi + 0xc]
push eax
call edx
xor esi, esi
cmp dword [edi + 0xf0], esi
jle 0x4157e5
lea esp, [esp]
mov eax, dword [edi + 0xec]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x128]
lea eax, [esp + 0x24]
push eax
mov eax, dword [edi + 0xc]
push eax
call edx
inc esi
cmp esi, dword [edi + 0xf0]
jl 0x4157c0
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0xc]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x40]
sub edx, eax
push edx
mov edx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x38]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0xac]
mov edx, dword [edi + 0xc]
push ecx
push edx
call ebx
cmp byte [edi + 0x50], 0
je 0x4158be
mov eax, dword [0x47a4f0]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call ebx
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esp + 0x1c]
push eax
push edx
call ebx
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
push eax
mov eax, dword [esp + 0xd0]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0x1c]
push esi
push edx
call ebx
jmp 0x4158be
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x110]
mov esi, eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push eax
call edx
mov eax, dword [esp + 0x1c]
push esi
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [edi + 0xb5], 0
je 0x4158e2
mov eax, dword [edi]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x4168af
mov eax, dword [edi + 0x70]
test eax, eax
jle 0x4158f3
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x74]
test eax, eax
jle 0x4158fd
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x415907
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x7c]
test eax, eax
jle case.default.0x415fcb
mov dword [ebx + 0x24], eax
jmp case.default.0x415fcb
mov ecx, dword [edi + 0x58]
test ecx, ecx
je 0x415967
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], 0x16
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x1c]
push eax
call edx
mov edi, dword [edi + 0x54]
test edi, edi
je 0x415975
mov eax, edi
call fcn.0041cd90
mov al, 1
jmp 0x4168af
movsx eax, bx
shr ebx, 0x10
lea edx, [esp + 0xac]
mov dword [esp + 0xac], eax
mov eax, dword [edi]
movsx ecx, bx
push edx
push eax
mov dword [esp + 0xb8], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0x60], 0
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], edx
je case.default.0x415fcb
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x60]
mov dword [esp + 0x28], ecx
mov cx, word [esp + 0x14]
mov byte [edi + 0xba], 0
mov dword [esp + 0x1c], 0x11
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
mov word [esp + 0x32], cx
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x60]
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x1c]
push eax
call edx
mov dword [edi + 0x60], 0
jmp case.default.0x415fcb
cmp dword [edi + 0x58], 0
je case.default.0x415fcb
mov ecx, dword [edi + 0x68]
mov edx, dword [edi + 0x6c]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov ax, word [esp + 0x14]
mov dword [esp + 0x1c], 5
mov word [esp + 0x30], ax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call fcn.004143f0
mov word [esp + 0x32], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
lea edx, [esp + 0x1c]
push edx
call eax
jmp case.default.0x415fcb
cmp dword [edi + 0x58], 0
je case.default.0x415fcb
mov cx, word [esp + 0x14]
mov edx, dword [edi + 0x68]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x1c], 3
mov word [esp + 0x30], cx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.004143f0
mov word [esp + 0x32], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, dword [edi + 0x58]
mov dword [edi + 0x64], eax
jmp case.default.0x415fcb
cmp dword [edi + 0x64], 0
je case.default.0x415fcb
mov cx, word [esp + 0x14]
mov edx, dword [edi + 0x68]
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x1c], 4
mov word [esp + 0x30], cx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.004143f0
mov word [esp + 0x32], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x1c]
push eax
call edx
mov dword [edi + 0x64], 0
jmp case.default.0x415fcb
cmp bx, 1
jne case.default.0x415fcb
cmp byte [edi + 0xba], 0
jne 0x416594
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x5c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [edi]
lea ecx, [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
mov eax, edi
call fcn.00418380
mov esi, eax
test esi, esi
je case.default.0x415fcb
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
mov ecx, esi
call eax
test al, 2
je case.default.0x415fcb
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x5c]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], 0x17
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call fcn.004143f0
mov word [esp + 0x82], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x74], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call edx
mov al, bl
jmp 0x4168af
test ebx, ebx
je 0x416594
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx]
push ebx
push eax
add ecx, 0x2000
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xac]
mov dword [ecx], eax
mov al, 1
jmp 0x4168af
test ebx, ebx
je case.default.0x415fcb
mov edx, dword [esp + 0x14]
push ebx
push edx
push 0x2111
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xac]
mov dword [ecx], eax
mov al, 1
jmp 0x4168af
cmp eax, 0x200
ja 0x415fac
je 0x415ddb
sub eax, 0x113
je 0x415d43
sub eax, 0x20
je 0x415d15
sub eax, 5
jne case.default.0x415fcb
test ebx, ebx
je case.default.0x415fcb
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
push ebx
push edx
add eax, 0x2000
push eax
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xac]
mov dword [ecx], eax
mov al, 1
jmp 0x4168af
xor ecx, ecx
cmp dword [edi + 0xcc], ecx
jle case.default.0x415fcb
mov edx, dword [edi]
mov eax, dword [edi + 0xc8]
lea esp, [esp]
mov esi, dword [eax]
cmp dword [esi + 8], edx
jne 0x415d77
movzx ebx, word [esp + 0x14]
cmp dword [esi + 0xc], ebx
jne 0x415d77
cmp byte [esi + 0x10], 0
je 0x415d88
inc ecx
add eax, 4
cmp ecx, dword [edi + 0xcc]
jl 0x415d60
jmp case.default.0x415fcb
mov edx, dword [esi]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], 0x18
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x1c]
push eax
call edx
jmp case.default.0x415fcb
cmp byte [edi + 0xb9], 0
jne 0x415e5a
xor eax, eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov eax, dword [edi]
mov dword [esp + 0xd4], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0xcc], 0x10
mov dword [esp + 0xd0], 3
test eax, eax
jne 0x415e2e
mov dword [esp + 0xd8], 0x190
jmp 0x415e45
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0xd8], eax
lea ecx, [esp + 0xcc]
push ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0xb9], 1
mov ecx, dword [edi + 0x54]
movsx esi, bx
shr ebx, 0x10
movsx eax, bx
mov dword [edi + 0x6c], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xc0], eax
push 0xd
lea eax, [esp + 0xb0]
mov dword [edi + 0x68], esi
mov dword [esp + 0xb0], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0xf4]
push eax
push 0x418450
call edx
mov ebx, eax
test ebx, ebx
je 0x415eb1
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
mov ecx, ebx
call edx
cmp eax, edi
jne case.default.0x415fcb
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x24], eax
cmp ebx, ecx
je 0x415f32
test ecx, ecx
je 0x415f32
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x20], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x1c]
push eax
call edx
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x5c], 0
test eax, eax
je 0x415f32
lea ecx, [edi + 0x20]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, dword [edi + 0x5c]
je 0x415f5b
test ebx, ebx
je 0x415f5b
mov dword [esp + 0x1c], 0xb
mov dword [esp + 0x20], ebx
mov edx, dword [ebx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call edx
mov dword [edi + 0x5c], ebx
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x415f82
mov dword [esp + 0x1c], 9
mov dword [esp + 0x20], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
lea edx, [esp + 0x1c]
push edx
call eax
jmp case.default.0x415fcb
test ebx, ebx
je case.default.0x415fcb
mov dword [esp + 0x1c], 9
mov dword [esp + 0x20], ebx
mov edx, dword [ebx]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call edx
jmp case.default.0x415fcb
cmp eax, 0x20a
ja 0x41644e
je 0x416342
add eax, 0xfffffdff
cmp eax, 3
ja case.default.0x415fcb
jmp dword [eax*4 + 0x416a08]
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, ebx
shr ecx, 0x10
movsx ecx, cx
movsx eax, bx
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
mov ecx, dword [edi + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0xf4]
push 0xd
lea eax, [esp + 0xc0]
push eax
push 0x418450
call edx
mov esi, eax
test esi, esi
je case.default.0x415fcb
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp eax, edi
jne case.default.0x415fcb
mov dword [edi + 0x60], esi
mov eax, dword [esi]
mov edx, dword [eax + 0xe8]
mov ecx, esi
call edx
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xb0]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov byte [edi + 0xba], 1
mov dword [esp + 0x1c], 0xd
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov word [esp + 0x32], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x100]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
jmp case.default.0x415fcb
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [edi + 0x54]
movsx esi, bx
shr ebx, 0x10
movsx eax, bx
mov dword [edi + 0x6c], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xc0], eax
push 0xd
lea eax, [esp + 0xb0]
mov dword [edi + 0x68], esi
mov dword [esp + 0xb0], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0xf4]
push eax
push 0x418450
call edx
mov ebx, eax
test ebx, ebx
je case.default.0x415fcb
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
mov ecx, ebx
call edx
cmp eax, edi
jne case.default.0x415fcb
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [esp + 0xc0]
mov dx, word [esp + 0x14]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [edi + 0xba], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ecx
mov word [esp + 0x32], dx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x100]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call edx
mov dword [edi + 0x60], ebx
jmp case.default.0x415fcb
mov eax, ebx
shr eax, 0x10
cmp dword [edi + 0x60], 0
cwde
movsx esi, bx
mov dword [esp + 0x60], eax
mov dword [edi + 0x68], esi
mov dword [edi + 0x6c], eax
je case.default.0x415fcb
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [edi + 0x60]
mov edx, dword [esp + 0x60]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov byte [edi + 0xba], 0
mov dword [esp + 0x1c], 0xe
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
mov word [esp + 0x32], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
lea edx, [esp + 0x1c]
push edx
call eax
mov dword [edi + 0x60], 0
jmp case.default.0x415fcb
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, ebx
shr edx, 0x10
movsx ecx, dx
movsx eax, bx
mov dword [edi + 0x6c], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xb0], ecx
mov ecx, dword [edi + 0x54]
push 0xd
mov dword [esp + 0xb0], eax
mov dword [edi + 0x68], eax
mov dword [esp + 0xc0], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xf4]
lea edx, [esp + 0xc0]
push edx
push 0x418450
call eax
mov esi, eax
test esi, esi
je case.default.0x415fcb
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, edi
jne case.default.0x415fcb
mov edx, dword [esi]
mov eax, dword [edx + 0xe8]
mov ecx, esi
call eax
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov byte [edi + 0xba], 1
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov word [esp + 0x32], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call edx
mov dword [edi + 0x60], esi
jmp case.default.0x415fcb
movsx eax, bx
mov ecx, ebx
shr ecx, 0x10
mov dword [esp + 0xac], eax
movsx edx, cx
mov ecx, dword [edi]
lea eax, [esp + 0xac]
push eax
push ecx
mov dword [esp + 0xb8], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov ecx, dword [edi + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0xf4]
push 0xd
lea eax, [esp + 0xc0]
push eax
push 0x418450
call edx
mov esi, eax
test esi, esi
je case.default.0x415fcb
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp eax, edi
jne case.default.0x415fcb
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
shr eax, 0x10
test ax, ax
sets cl
mov dword [esp + 0x1c], 0x12
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ecx
call fcn.004143f0
mov word [esp + 0x32], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x100]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call edx
movzx eax, word [edi + 0x6c]
movzx ecx, word [edi + 0x68]
mov edx, dword [edi]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x415fcb
cmp eax, 0x318
ja 0x416776
je 0x41666a
sub eax, 0x2a1
je 0x4164ad
sub eax, 2
jne case.default.0x415fcb
mov eax, dword [edi + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41648a
lea ecx, [edi + 0x20]
push ecx
push 0
push 0x411
push eax
call esi
cmp byte [edi + 0xb9], 0
je 0x4164a1
mov edx, dword [edi]
push 0xffffffffffffffff
push 0
push 0x200
push edx
call esi
mov byte [edi + 0xb9], 0
jmp case.default.0x415fcb
mov ecx, dword [edi + 0x54]
movsx esi, bx
shr ebx, 0x10
movsx eax, bx
push 0xd
mov dword [esp + 0xc4], eax
mov dword [esp + 0xb4], eax
lea edx, [esp + 0xb0]
mov byte [edi + 0xb9], 0
mov dword [esp + 0xb0], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xf4]
push edx
push 0x418450
call eax
mov ebx, eax
test ebx, ebx
je case.default.0x415fcb
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x416554
mov edx, dword [esp + 0xc0]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
lea edx, [esp + 0x1c]
push edx
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x98]
lea eax, [esp + 0xdc]
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x178], 0
mov eax, dword [esp + 0xdc]
cmp word [eax], 0
jne 0x41659b
lea ecx, [esp + 0xe0]
cmp eax, ecx
je 0x416594
push eax
call fcn.00450199
add esp, 4
mov al, 1
jmp 0x4168af
push 0x30
lea esi, [edi + 0x20]
push 0
push esi
call fcn.00454970
mov eax, dword [edi]
mov edx, dword [0x47a4f4]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0xe8]
mov dword [edi + 0x44], eax
mov dword [esi], 0x30
mov dword [edi + 0x24], 1
mov dword [edi + 0x40], edx
mov edx, dword [ebx]
mov eax, dword [edx + 0x30]
add esp, 0xc
mov ecx, ebx
call eax
cmp dword [edi + 0x1c], 0
mov ecx, dword [eax]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x30], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x34], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x38], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x3c], edx
jne 0x416642
mov eax, dword [0x47a4f4]
mov ecx, dword [edi]
push 0
push eax
push 0
push ecx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysStringLen
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push esi
push 0
push 0x432
push eax
mov dword [edi + 0x1c], eax
call ebx
mov edx, dword [edi + 0x1c]
push esi
push 0
push 0x436
push edx
call ebx
mov eax, dword [edi + 0x1c]
push esi
push 1
push 0x411
push eax
call ebx
mov eax, dword [esp + 0xdc]
jmp 0x416580
mov eax, dword [edi]
lea edx, [esp + 0xbc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0x54]
mov edx, dword [ecx]
mov edx, dword [edx + 0x110]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xbc]
push eax
push esi
call edx
test bl, 0x10
je 0x416761
mov eax, dword [edi]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x416761
or ebx, 2
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x14]
lea esp, [esp]
xor eax, eax
lea ecx, [esp + 0xcc]
push ecx
push esi
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi]
push 2
lea edx, [esp + 0xd0]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xcc]
push 0
neg ecx
push ecx
neg edx
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [esp + 0x5c]
push eax
push ebx
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x4166d0
mov ecx, dword [esp + 0xac]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x415fcb
mov ecx, dword [esp + 0xac]
mov ebx, dword [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x415fcb
cmp eax, 0x8001
jne case.default.0x415fcb
xor esi, esi
cmp dword [edi + 0xfc], esi
jle 0x4167a5
mov edx, dword [edi + 0xf8]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x41679c
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
inc esi
cmp esi, dword [edi + 0xfc]
jl 0x416787
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x4167b8
push eax
call fcn.00450199
add esp, 4
xor eax, eax
mov dword [edi + 0xf8], eax
mov dword [edi + 0x100], eax
mov dword [edi + 0xfc], eax
lea esp, [esp]
cmp dword [edi + 0x108], 0
jle 0x4168ad
mov eax, dword [edi + 0x104]
mov ebx, dword [eax]
mov dword [esp + 0xbc], ebx
test ebx, ebx
je 0x4168ad
mov eax, dword [edi + 0x108]
test eax, eax
jle 0x416824
dec eax
mov dword [edi + 0x108], eax
test eax, eax
jle 0x416824
mov ecx, dword [edi + 0x104]
lea edx, [eax*4]
push edx
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004575e0
add esp, 0xc
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x41686a
cmp dword [esi + 0x38], 0
jle 0x41686a
xor ebx, ebx
cmp dword [esi + 0x38], ebx
jle 0x416863
jmp 0x416840
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + ebx*4]
test ecx, ecx
je 0x41685d
mov edx, dword [ecx]
mov eax, dword [esp + 0xbc]
mov edx, dword [edx + 8]
push eax
call edx
test al, al
je 0x416863
inc ebx
cmp ebx, dword [esi + 0x38]
jl 0x416840
mov ebx, dword [esp + 0xbc]
xor esi, esi
cmp dword [edi + 0xc0], esi
jle 0x41688d
mov eax, dword [edi + 0xbc]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
call eax
inc esi
cmp esi, dword [edi + 0xc0]
jl 0x416874
mov eax, dword [ebx]
lea ecx, [ebx + 4]
cmp eax, ecx
je 0x41689f
push eax
call fcn.00450199
add esp, 4
push ebx
call fcn.0044f731
add esp, 4
jmp case.default.0x415fcb
xor al, al
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.0044eeef
mov esp, ebp
pop ebp
ret 0xc