Function at 0x1008e7b4
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2f4
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x2f0], eax
push esi
mov esi, ecx
test esi, esi
push edi
mov edi, edx
je 0x1008f907
mov eax, dword [edi]
test eax, eax
jne 0x1008e7f5
push eax
push eax
mov eax, dword [esi + 0x38]
push eax
mov dword [esi + 0x3b8], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.100ffa66
add esp, 0x2f4
ret
cmp eax, 3
push ebx
push ebp
jne 0x1008e922
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esi + 0x70]
mov ebx, eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x30], edx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2fc]
push ecx
add edi, 0x224
push edi
mov byte [esp + 0x304], 0x25
mov byte [esp + 0x305], 0x30
mov byte [esp + 0x306], 0x32
mov byte [esp + 0x307], 0x78
mov byte [esp + 0x308], 0x25
mov byte [esp + 0x309], 0x30
mov byte [esp + 0x30a], 0x32
mov byte [esp + 0x30b], 0x78
mov byte [esp + 0x30c], 0x25
mov byte [esp + 0x30d], 0x30
mov byte [esp + 0x30e], 0x32
mov byte [esp + 0x30f], 0x78
mov byte [esp + 0x310], 0
call fcn.10101d65
movzx eax, byte [esp + 0x28]
xor edx, edx
mov dh, byte [esp + 0x48]
add esp, 0x14
mov dl, byte [esp + 0x10]
shl edx, 8
or edx, eax
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
lea ecx, [esp + 0x28]
push ecx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x18]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x38]
push ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1008f905
cmp eax, 0xc
jne 0x1008ea79
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x2f4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esi + 0x70]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, eax
push edx
push ebp
call ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x2ec]
push eax
lea ecx, [edi + 0x224]
push ecx
mov byte [esp + 0x2f4], 0x25
mov byte [esp + 0x2f5], 0x30
mov byte [esp + 0x2f6], 0x32
mov byte [esp + 0x2f7], 0x78
mov byte [esp + 0x2f8], 0x25
mov byte [esp + 0x2f9], 0x30
mov byte [esp + 0x2fa], 0x32
mov byte [esp + 0x2fb], 0x78
mov byte [esp + 0x2fc], 0x25
mov byte [esp + 0x2fd], 0x30
mov byte [esp + 0x2fe], 0x32
mov byte [esp + 0x2ff], 0x78
mov byte [esp + 0x300], 0
call fcn.10101d65
add esp, 0x14
xor eax, eax
cmp dword [edi + 0x640], 1
jne 0x1008e9f4
mov eax, 2
movzx ecx, byte [esp + 0x34]
xor edx, edx
mov dh, byte [esp + 0x18]
mov dl, byte [esp + 0x14]
shl edx, 8
or edx, ecx
push edx
mov edx, dword [edi + 0x1c]
push edx
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push ebp
mov dword [esp + 0x40], eax
call ebx
mov ecx, dword [edi + 4]
push 0
mov dword [esp + 0x14], eax
mov eax, dword [edi + 8]
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
push edx
push eax
push ebp
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x10]
push ecx
push ebp
call ebx
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x1c]
push eax
push ebp
call ebx
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x2f0]
mov edx, dword [esi + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1008f905
cmp eax, 4
jne 0x1008ec21
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x70]
mov ebp, eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x14]
add edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x20]
add eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x2f0]
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2ec]
push ecx
lea edx, [edi + 0x224]
push edx
mov byte [esp + 0x2f4], 0x25
mov byte [esp + 0x2f5], 0x30
mov byte [esp + 0x2f6], 0x32
mov byte [esp + 0x2f7], 0x78
mov byte [esp + 0x2f8], 0x25
mov byte [esp + 0x2f9], 0x30
mov byte [esp + 0x2fa], 0x32
mov byte [esp + 0x2fb], 0x78
mov byte [esp + 0x2fc], 0x25
mov byte [esp + 0x2fd], 0x30
mov byte [esp + 0x2fe], 0x32
mov byte [esp + 0x2ff], 0x78
mov byte [esp + 0x300], 0
call fcn.10101d65
add esp, 0x14
push 1
push ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
movzx ecx, byte [esp + 0x38]
xor eax, eax
mov ah, byte [esp + 0x2f0]
mov al, byte [esp + 0x1c]
shl eax, 8
or eax, ecx
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi + 0x63c]
xor ebx, ebx
test al, 1
jne 0x1008eba1
test al, 2
je 0x1008eb98
mov ebx, 1
jmp 0x1008eba1
test al, 4
je 0x1008eba1
mov ebx, 2
mov eax, dword [esi + 0x74]
or ebx, 0x10
test eax, eax
mov dword [esp + 0x10], 0
je 0x1008ebbf
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
add edi, 0x234
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1008ebd0
push ebx
sub eax, edx
lea edx, [esp + 0x28]
push edx
push eax
push edi
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1008ebfa
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x18]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1008f905
cmp eax, 5
jne 0x1008ed3a
mov ecx, dword [esi + 0x38]
mov eax, dword [edi + 0x640]
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esi + 0x70]
mov ebx, eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2f0]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x2ec]
push eax
lea ecx, [edi + 0x224]
push ecx
mov byte [esp + 0x2f4], 0x25
mov byte [esp + 0x2f5], 0x30
mov byte [esp + 0x2f6], 0x32
mov byte [esp + 0x2f7], 0x78
mov byte [esp + 0x2f8], 0x25
mov byte [esp + 0x2f9], 0x30
mov byte [esp + 0x2fa], 0x32
mov byte [esp + 0x2fb], 0x78
mov byte [esp + 0x2fc], 0x25
mov byte [esp + 0x2fd], 0x30
mov byte [esp + 0x2fe], 0x32
mov byte [esp + 0x2ff], 0x78
mov byte [esp + 0x300], 0
call fcn.10101d65
movzx eax, byte [esp + 0x4c]
movzx ecx, word [edi + 0x18]
xor edx, edx
mov dh, byte [esp + 0x304]
mov dl, byte [esp + 0x30]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x2c]
push edx
movzx edx, word [edi + 0x14]
push ecx
push edx
push eax
mov eax, ebx
call fcn.10089990
mov ecx, dword [esp + 0x38]
add esp, 0x24
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esi + 0x38]
push ebp
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1008f905
cmp eax, 6
jne 0x1008ee2a
push 0x3c
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.101004d0
mov ebx, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0xc
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push 0x48
mov ebp, eax
push 0x5a
push ebp
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, dword [edi + 0x634]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_MulDiv]
neg eax
push ebp
mov dword [esp + 0x8c], eax
call ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [edi + 0x638]
test al, 1
mov dword [esp + 0x8c], 0
mov dword [esp + 0x98], 0x190
mov byte [esp + 0x9f], 0x86
je 0x1008edc7
mov dword [esp + 0x98], 0x2bc
test al, 2
je 0x1008edd3
mov byte [esp + 0x9c], 1
test al, 4
je 0x1008eddf
mov byte [esp + 0x9d], 1
add edi, 0x434
lea ecx, [esp + 0xa4]
sub ecx, edi
mov edi, edi
mov al, byte [edi]
mov byte [edi + ecx], al
add edi, 1
test al, al
jne 0x1008edf0
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, eax
test edi, edi
je 0x1008f905
mov eax, dword [esi + 0x74]
test eax, eax
je 0x1008ee22
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x74], edi
jmp 0x1008f905
cmp eax, 7
jne 0x1008ef09
cmp dword [edi + 0x1c], 0
jle 0x1008f905
cmp dword [edi + 0x20], 0
jle 0x1008f905
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1008ee55
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x38]
push eax
mov dword [esi + 0x78], 0
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x1c]
push ecx
mov ebx, eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebx
mov dword [esi + 0x78], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov eax, dword [esi + 0x78]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xff00ff
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [edi + 0x20]
push eax
xor ecx, ecx
mov dword [esp + 0x2f4], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x1c]
push eax
push ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esp + 0x2f0]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x1c]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x38]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x7c], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x80], edx
jmp 0x1008f905
cmp eax, 8
jne 0x1008f3b1
add dword [esi + 0x3a0], 1
cmp dword [esi + 0x9c], 0
mov eax, dword [esi + 0x3a0]
je 0x1008ef44
lea ecx, [edi + 0x234]
push ecx
lea edx, [esi + 0x2a0]
lea ecx, [esi + 0xa0]
push eax
call fcn.1008dda0
add esp, 8
cmp dword [esi + 0x78], 0
jne 0x1008eff2
mov eax, dword [esi + 0x38]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x44]
mov ebx, eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebx
mov dword [esi + 0x78], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x78]
mov ebp, eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xff00ff
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
mov dword [esp + 0x2fc], eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x2f0]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esi + 0x38]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esi + 0x78], 0
je 0x1008f905
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x78]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, eax
push ecx
push ebp
call ebx
push 1
push ebp
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x74]
test eax, eax
mov dword [esp + 0x34], 0
je 0x1008f03a
push eax
push ebp
call ebx
mov dword [esp + 0x34], eax
push 0xff00ff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
lea edx, [esp + 0x70]
push edx
mov ebx, eax
mov eax, dword [esi + 0x78]
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
push ebx
lea eax, [esp + 0x54]
push eax
push ebp
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x1ff
lea ecx, [esp + 0xc9]
push 0
push ecx
mov byte [esp + 0xd0], 0
call fcn.101004d0
xor eax, eax
mov dword [esp + 0x2d0], eax
mov dword [esp + 0x2d4], eax
mov dword [esp + 0x2d8], eax
mov dword [esp + 0x2dc], eax
lea eax, [edi + 0x234]
lea ecx, [esp + 0xd0]
add esp, 0xc
sub ecx, eax
mov dl, byte [eax]
mov byte [eax + ecx], dl
add eax, 1
test dl, dl
jne 0x1008f0d2
add edi, 0x224
lea ecx, [esp + 0x2c4]
sub ecx, edi
lea ecx, [ecx]
mov al, byte [edi]
mov byte [edi + ecx], al
add edi, 1
test al, al
jne 0x1008f0f0
lea edx, [esp + 0xc4]
lea edi, [esi + 0x88]
push edx
mov ecx, edi
call fcn.1008e640
mov ecx, edi
mov dword [esp + 0x10], 0
call fcn.10089c60
mov ebx, eax
sub ebx, 1
mov eax, dword [esp + 0x5c]
js 0x1008f1bb
nop
xor ecx, ecx
push 0x410
lea edx, [esp + 0x44]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x5c]
push edx
push 0xffffffffffffffff
mov dword [esp + 0x54], ecx
push ebx
mov ecx, edi
mov dword [esp + 0x5c], eax
call fcn.10089c80
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esi + 0x84]
add eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
add ecx, eax
mov eax, dword [esp + 0x5c]
cmp ecx, eax
mov dword [esp + 0x10], ecx
jg 0x1008f185
sub ebx, 1
jns 0x1008f130
jmp 0x1008f1bb
test ebx, ebx
jl 0x1008f1bb
lea esp, [esp]
lea ecx, [esp + 0x2f0]
push ecx
mov ecx, edi
call fcn.10059710
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.1008ab90
sub ebx, 1
jns 0x1008f190
mov eax, dword [esp + 0x5c]
mov ebx, dword [esi + 0x98]
mov edx, dword [esp + 0x58]
neg ebx
sbb ebx, ebx
mov ecx, edi
mov dword [esp + 0x2c], edx
and ebx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0
call fcn.10089c60
test eax, eax
jbe 0x1008f37a
lea ebx, [ebx]
lea eax, [esp + 0x2f0]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x2ec]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x2f4], 0x25
mov byte [esp + 0x2f5], 0x30
mov byte [esp + 0x2f6], 0x32
mov byte [esp + 0x2f7], 0x78
mov byte [esp + 0x2f8], 0x25
mov byte [esp + 0x2f9], 0x30
mov byte [esp + 0x2fa], 0x32
mov byte [esp + 0x2fb], 0x78
mov byte [esp + 0x2fc], 0x25
mov byte [esp + 0x2fd], 0x30
mov byte [esp + 0x2fe], 0x32
mov byte [esp + 0x2ff], 0x78
mov byte [esp + 0x300], 0
call fcn.10089c80
add eax, 0x200
push eax
call fcn.10101d65
movzx eax, byte [esp + 0x4c]
xor edx, edx
mov dh, byte [esp + 0x304]
add esp, 0x14
mov dl, byte [esp + 0x1c]
shl edx, 8
or edx, eax
push edx
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x68], ecx
push 0x410
xor eax, eax
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x64]
push 0xffffffffffffffff
push edx
mov ecx, edi
mov dword [esp + 0x7c], eax
call fcn.10089c80
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x30]
xor eax, eax
cmp dword [esi + 0x98], 0
push 0x10
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
mov dword [esp + 0x50], ebx
mov dword [esp + 0x58], ecx
push eax
je 0x1008f332
mov ecx, ebx
sub ecx, dword [esi + 0x84]
sub ecx, dword [esp + 0x7c]
mov dword [esp + 0x54], ecx
mov ecx, edi
call fcn.10089c80
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
cmp dword [esi + 0x98], 0
jne 0x1008f358
mov ecx, dword [esi + 0x84]
add ecx, dword [esp + 0x6c]
add ebx, ecx
jmp 0x1008f364
mov edx, dword [esi + 0x84]
add edx, dword [esp + 0x6c]
sub ebx, edx
add dword [esp + 0x10], 1
mov ecx, edi
call fcn.10089c60
cmp dword [esp + 0x10], eax
jb 0x1008f1f0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1008f38a
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x18]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1008f905
cmp eax, 9
jne 0x1008f457
cmp dword [esi + 0x78], 0
je 0x1008f905
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x78]
mov edi, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xff00ff
mov dword [esp + 0x2f4], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
lea edx, [esp + 0x70]
push edx
mov ebx, eax
mov eax, dword [esi + 0x78]
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ebx
lea eax, [esp + 0x28]
push eax
push edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x2f0]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esi + 0x38]
push ebp
push edx
jmp 0x1008f54d
cmp eax, 0xa
jne 0x1008f46a
mov eax, dword [edi + 0x20]
mov dword [esi + 0x84], eax
jmp 0x1008f905
cmp eax, 1
jne 0x1008f483
mov ecx, dword [esi + 0x38]
push 0
push ecx
mov dword [esi + 0x48], eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1008f905
cmp eax, 2
jne 0x1008f4a0
mov edx, dword [esi + 0x38]
push 1
push edx
mov dword [esi + 0x48], 0
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1008f905
cmp eax, 0xb
jne 0x1008f563
cmp dword [esi + 0x78], 0
mov eax, dword [edi + 0x640]
mov dword [esi + 0x98], eax
je 0x1008f905
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esi + 0x78]
mov edi, eax
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xff00ff
mov dword [esp + 0x2f4], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esi + 0x78]
mov ebx, eax
lea eax, [esp + 0x70]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [esp + 0x74]
xor eax, eax
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
push ecx
push edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x2f0]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x38]
push ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esi + 0x88]
call fcn.1008aff0
jmp 0x1008f905
cmp eax, 0xd
jne 0x1008f5b1
mov ecx, dword [edi + 0x640]
lea eax, [edi + 0x24]
lea edx, [esi + 0xa0]
mov dword [esi + 0x9c], ecx
sub edx, eax
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1008f580
add edi, 0x234
add esi, 0x2a0
sub esi, edi
lea ebx, [ebx]
mov al, byte [edi]
mov byte [edi + esi], al
add edi, 1
test al, al
jne 0x1008f5a0
jmp 0x1008f905
cmp eax, 0xe
jne 0x1008f704
lea ebx, [esi + 0x3a4]
mov ecx, ebx
xor ebp, ebp
call fcn.10089cc0
test eax, eax
jbe 0x1008f638
lea ecx, [ecx]
push ebp
mov ecx, ebx
call fcn.10089cf0
mov edx, dword [edi + 0x14]
cmp edx, dword [eax + 0x200]
jne 0x1008f62a
push ebp
mov ecx, ebx
call fcn.10089cf0
mov ecx, dword [edi + 0x18]
cmp ecx, dword [eax + 0x204]
jne 0x1008f62a
push ebp
mov ecx, ebx
call fcn.10089cf0
lea ecx, [edi + 0x24]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1008f621
test dl, dl
je 0x1008f61d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1008f621
add ecx, 2
add eax, 2
test dl, dl
jne 0x1008f601
xor eax, eax
jmp 0x1008f626
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1008f638
mov ecx, ebx
add ebp, 1
call fcn.10089cc0
cmp ebp, eax
jb 0x1008f5d0
mov ecx, ebx
call fcn.10089cc0
cmp ebp, eax
jae 0x1008f660
mov edi, dword [edi + 0x640]
test edi, edi
je 0x1008f905
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
jmp 0x1008f905
mov eax, dword [edi + 0x640]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov dword [esp + 0x2d0], eax
xor eax, eax
mov dword [esp + 0x2c8], edx
mov dword [esp + 0x2c4], ecx
mov ecx, dword [edi + 0x63c]
mov dword [esp + 0x2cc], eax
mov dword [esp + 0x2d4], eax
mov dword [esp + 0x2d8], eax
lea eax, [edi + 0x24]
lea edx, [esp + 0xc4]
mov dword [esp + 0x2dc], ecx
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1008f6b1
lea edx, [esp + 0xc4]
push edx
mov ecx, ebx
call fcn.1008e6f0
mov ebp, dword [esp + 0x2d0]
mov ecx, ebp
call fcn.1011fbe0
cmp eax, 1
jle 0x1008f7f5
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x1008f6f1
mov ecx, ebp
call fcn.1011fb20
push 0
push eax
mov eax, dword [esi + 0x38]
push ebp
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x1008f7f5
cmp eax, 0xf
jne 0x1008f812
lea ebp, [esi + 0x3a4]
mov ecx, ebp
xor ebx, ebx
call fcn.10089cc0
test eax, eax
jbe 0x1008f905
push ebx
mov ecx, ebp
call fcn.10089cf0
mov edx, dword [edi + 0x14]
cmp edx, dword [eax + 0x200]
jne 0x1008f77e
push ebx
mov ecx, ebp
call fcn.10089cf0
mov ecx, dword [edi + 0x18]
cmp ecx, dword [eax + 0x204]
jne 0x1008f77e
push ebx
mov ecx, ebp
call fcn.10089cf0
lea ecx, [edi + 0x24]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1008f775
test dl, dl
je 0x1008f771
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1008f775
add ecx, 2
add eax, 2
test dl, dl
jne 0x1008f755
xor eax, eax
jmp 0x1008f77a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1008f791
mov ecx, ebp
add ebx, 1
call fcn.10089cc0
cmp ebx, eax
jb 0x1008f724
jmp 0x1008f905
push ebx
mov ecx, ebp
call fcn.10089cf0
mov edx, dword [eax + 0x210]
mov eax, dword [esi + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
mov ecx, ebp
call fcn.10089cf0
mov eax, dword [eax + 0x20c]
test eax, eax
je 0x1008f7c6
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
push ebx
lea ecx, [esp + 0x2f4]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.10059710
mov ecx, eax
call fcn.1008a0f0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call fcn.1008abe0
mov ecx, dword [esi + 0x38]
push 0
push 0
push ecx
mov dword [esi + 0x3b8], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1008f905
cmp eax, 0x10
jne 0x1008f905
mov eax, dword [edi + 0x640]
test eax, eax
mov dword [esi + 0x3b4], eax
je 0x1008f905
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2f8]
push ecx
lea edx, [esp + 0x2ec]
push edx
lea eax, [edi + 0x224]
push eax
mov byte [esp + 0x2f4], 0x25
mov byte [esp + 0x2f5], 0x30
mov byte [esp + 0x2f6], 0x32
mov byte [esp + 0x2f7], 0x78
mov byte [esp + 0x2f8], 0x25
mov byte [esp + 0x2f9], 0x30
mov byte [esp + 0x2fa], 0x32
mov byte [esp + 0x2fb], 0x78
mov byte [esp + 0x2fc], 0x25
mov byte [esp + 0x2fd], 0x30
mov byte [esp + 0x2fe], 0x32
mov byte [esp + 0x2ff], 0x78
mov byte [esp + 0x300], 0
call fcn.10101d65
fld1
fsub qword [edi + 0x648]
add esp, 0x14
fmul qword [0x1016b950]
call fcn.10103700
movzx edx, byte [esp + 0x38]
xor ecx, ecx
mov ch, byte [esp + 0x2f0]
movzx eax, al
mov cl, byte [esp + 0x1c]
shl ecx, 8
or ecx, edx
mov dword [esi + 0x3bc], ecx
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [esi + 0x3c0], ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f8]
pop edi
pop esi
xor ecx, esp
call fcn.100ffa66
add esp, 0x2f4
ret