Function at 0x1008e814
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 0x1008f967
mov eax, dword [edi]
test eax, eax
jne 0x1008e855
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.100ffae6
add esp, 0x2f4
ret
cmp eax, 3
push ebx
push ebp
jne 0x1008e982
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.10101de5
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 0x1008f965
cmp eax, 0xc
jne 0x1008ead9
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.10101de5
add esp, 0x14
xor eax, eax
cmp dword [edi + 0x640], 1
jne 0x1008ea54
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 0x1008f965
cmp eax, 4
jne 0x1008ec81
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.10101de5
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 0x1008ec01
test al, 2
je 0x1008ebf8
mov ebx, 1
jmp 0x1008ec01
test al, 4
je 0x1008ec01
mov ebx, 2
mov eax, dword [esi + 0x74]
or ebx, 0x10
test eax, eax
mov dword [esp + 0x10], 0
je 0x1008ec1f
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 0x1008ec30
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 0x1008ec5a
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 0x1008f965
cmp eax, 5
jne 0x1008ed9a
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.10101de5
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.100899f0
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 0x1008f965
cmp eax, 6
jne 0x1008ee8a
push 0x3c
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.10100550
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 0x1008ee27
mov dword [esp + 0x98], 0x2bc
test al, 2
je 0x1008ee33
mov byte [esp + 0x9c], 1
test al, 4
je 0x1008ee3f
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 0x1008ee50
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, eax
test edi, edi
je 0x1008f965
mov eax, dword [esi + 0x74]
test eax, eax
je 0x1008ee82
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x74], edi
jmp 0x1008f965
cmp eax, 7
jne 0x1008ef69
cmp dword [edi + 0x1c], 0
jle 0x1008f965
cmp dword [edi + 0x20], 0
jle 0x1008f965
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1008eeb5
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 0x1008f965
cmp eax, 8
jne 0x1008f411
add dword [esi + 0x3a0], 1
cmp dword [esi + 0x9c], 0
mov eax, dword [esi + 0x3a0]
je 0x1008efa4
lea ecx, [edi + 0x234]
push ecx
lea edx, [esi + 0x2a0]
lea ecx, [esi + 0xa0]
push eax
call fcn.1008de00
add esp, 8
cmp dword [esi + 0x78], 0
jne 0x1008f052
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 0x1008f965
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 0x1008f09a
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.10100550
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 0x1008f132
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 0x1008f150
lea edx, [esp + 0xc4]
lea edi, [esi + 0x88]
push edx
mov ecx, edi
call fcn.1008e6a0
mov ecx, edi
mov dword [esp + 0x10], 0
call fcn.10089cc0
mov ebx, eax
sub ebx, 1
mov eax, dword [esp + 0x5c]
js 0x1008f21b
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.10089ce0
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 0x1008f1e5
sub ebx, 1
jns 0x1008f190
jmp 0x1008f21b
test ebx, ebx
jl 0x1008f21b
lea esp, [esp]
lea ecx, [esp + 0x2f0]
push ecx
mov ecx, edi
call fcn.10059770
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.1008abf0
sub ebx, 1
jns 0x1008f1f0
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.10089cc0
test eax, eax
jbe 0x1008f3da
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.10089ce0
add eax, 0x200
push eax
call fcn.10101de5
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.10089ce0
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 0x1008f392
mov ecx, ebx
sub ecx, dword [esi + 0x84]
sub ecx, dword [esp + 0x7c]
mov dword [esp + 0x54], ecx
mov ecx, edi
call fcn.10089ce0
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
cmp dword [esi + 0x98], 0
jne 0x1008f3b8
mov ecx, dword [esi + 0x84]
add ecx, dword [esp + 0x6c]
add ebx, ecx
jmp 0x1008f3c4
mov edx, dword [esi + 0x84]
add edx, dword [esp + 0x6c]
sub ebx, edx
add dword [esp + 0x10], 1
mov ecx, edi
call fcn.10089cc0
cmp dword [esp + 0x10], eax
jb 0x1008f250
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1008f3ea
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 0x1008f965
cmp eax, 9
jne 0x1008f4b7
cmp dword [esi + 0x78], 0
je 0x1008f965
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 0x1008f5ad
cmp eax, 0xa
jne 0x1008f4ca
mov eax, dword [edi + 0x20]
mov dword [esi + 0x84], eax
jmp 0x1008f965
cmp eax, 1
jne 0x1008f4e3
mov ecx, dword [esi + 0x38]
push 0
push ecx
mov dword [esi + 0x48], eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1008f965
cmp eax, 2
jne 0x1008f500
mov edx, dword [esi + 0x38]
push 1
push edx
mov dword [esi + 0x48], 0
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1008f965
cmp eax, 0xb
jne 0x1008f5c3
cmp dword [esi + 0x78], 0
mov eax, dword [edi + 0x640]
mov dword [esi + 0x98], eax
je 0x1008f965
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.1008b050
jmp 0x1008f965
cmp eax, 0xd
jne 0x1008f611
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 0x1008f5e0
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 0x1008f600
jmp 0x1008f965
cmp eax, 0xe
jne 0x1008f764
lea ebx, [esi + 0x3a4]
mov ecx, ebx
xor ebp, ebp
call fcn.10089d20
test eax, eax
jbe 0x1008f698
lea ecx, [ecx]
push ebp
mov ecx, ebx
call fcn.10089d50
mov edx, dword [edi + 0x14]
cmp edx, dword [eax + 0x200]
jne 0x1008f68a
push ebp
mov ecx, ebx
call fcn.10089d50
mov ecx, dword [edi + 0x18]
cmp ecx, dword [eax + 0x204]
jne 0x1008f68a
push ebp
mov ecx, ebx
call fcn.10089d50
lea ecx, [edi + 0x24]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1008f681
test dl, dl
je 0x1008f67d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1008f681
add ecx, 2
add eax, 2
test dl, dl
jne 0x1008f661
xor eax, eax
jmp 0x1008f686
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1008f698
mov ecx, ebx
add ebp, 1
call fcn.10089d20
cmp ebp, eax
jb 0x1008f630
mov ecx, ebx
call fcn.10089d20
cmp ebp, eax
jae 0x1008f6c0
mov edi, dword [edi + 0x640]
test edi, edi
je 0x1008f965
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
jmp 0x1008f965
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 0x1008f711
lea edx, [esp + 0xc4]
push edx
mov ecx, ebx
call fcn.1008e750
mov ebp, dword [esp + 0x2d0]
mov ecx, ebp
call fcn.1011fc50
cmp eax, 1
jle 0x1008f855
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x1008f751
mov ecx, ebp
call fcn.1011fb90
push 0
push eax
mov eax, dword [esi + 0x38]
push ebp
push eax
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x1008f855
cmp eax, 0xf
jne 0x1008f872
lea ebp, [esi + 0x3a4]
mov ecx, ebp
xor ebx, ebx
call fcn.10089d20
test eax, eax
jbe 0x1008f965
push ebx
mov ecx, ebp
call fcn.10089d50
mov edx, dword [edi + 0x14]
cmp edx, dword [eax + 0x200]
jne 0x1008f7de
push ebx
mov ecx, ebp
call fcn.10089d50
mov ecx, dword [edi + 0x18]
cmp ecx, dword [eax + 0x204]
jne 0x1008f7de
push ebx
mov ecx, ebp
call fcn.10089d50
lea ecx, [edi + 0x24]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x1008f7d5
test dl, dl
je 0x1008f7d1
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x1008f7d5
add ecx, 2
add eax, 2
test dl, dl
jne 0x1008f7b5
xor eax, eax
jmp 0x1008f7da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1008f7f1
mov ecx, ebp
add ebx, 1
call fcn.10089d20
cmp ebx, eax
jb 0x1008f784
jmp 0x1008f965
push ebx
mov ecx, ebp
call fcn.10089d50
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.10089d50
mov eax, dword [eax + 0x20c]
test eax, eax
je 0x1008f826
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.10059770
mov ecx, eax
call fcn.1008a150
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call fcn.1008ac40
mov ecx, dword [esi + 0x38]
push 0
push 0
push ecx
mov dword [esi + 0x3b8], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1008f965
cmp eax, 0x10
jne 0x1008f965
mov eax, dword [edi + 0x640]
test eax, eax
mov dword [esi + 0x3b4], eax
je 0x1008f965
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.10101de5
fld1
fsub qword [edi + 0x648]
add esp, 0x14
fmul qword [0x1016b950]
call fcn.10103780
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.100ffae6
add esp, 0x2f4
ret