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

Disassembly:
sub esp, 0x2e4
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x2e0], eax
push esi
mov esi, ecx
test esi, esi
push edi
mov edi, edx
je 0x10088251
mov eax, dword [edi]
test eax, eax
jne 0x10087155
push eax
push eax
mov eax, dword [esi + 0x38]
push eax
mov dword [esi + 0x3b0], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.100f611a
add esp, 0x2e4
ret
cmp eax, 3
push ebx
push ebp
jne 0x10087282
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 + 0x28], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x2ec]
push ecx
add edi, 0x224
push 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.100f86bd
movzx eax, byte [esp + 0x34]
xor edx, edx
mov dh, byte [esp + 0x30]
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 + 0x34]
push ecx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x28]
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 0x1008824f
cmp eax, 0xc
jne 0x100873d3
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esi + 0x70]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
push edx
push ebx
call ebp
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x18]
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.100f86bd
add esp, 0x14
xor eax, eax
cmp dword [edi + 0x640], 1
jne 0x10087351
mov eax, 2
movzx ecx, byte [esp + 0x10]
xor edx, edx
mov dh, byte [esp + 0x28]
mov dl, byte [esp + 0x1c]
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 ebx
mov dword [esp + 0x34], eax
call ebp
mov ecx, dword [edi + 4]
push 0
mov dword [esp + 0x24], eax
mov eax, dword [edi + 8]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
call ebp
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x18]
push eax
push ebx
call ebp
push ebx
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 0x1008824f
cmp eax, 4
jne 0x10087571
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x70]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x14]
add edx, eax
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x20]
add eax, ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x34]
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.100f86bd
add esp, 0x14
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
movzx ecx, byte [esp + 0x2c]
xor eax, eax
mov ah, byte [esp + 0x14]
mov al, byte [esp + 0x18]
shl eax, 8
or eax, ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [edi + 0x63c]
xor ebp, ebp
test al, 1
jne 0x100874f5
test al, 2
je 0x100874ec
mov ebp, 1
jmp 0x100874f5
test al, 4
je 0x100874f5
mov ebp, 2
mov eax, dword [esi + 0x74]
or ebp, 0x10
test eax, eax
mov dword [esp + 0x1c], 0
je 0x10087513
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
add edi, 0x234
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10087520
push ebp
sub eax, edx
lea edx, [esp + 0x34]
push edx
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1008754a
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x28]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1008824f
cmp eax, 5
jne 0x10087684
mov ecx, dword [esi + 0x38]
mov eax, dword [edi + 0x640]
push ecx
mov dword [esp + 0x2c], 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 + 0x1c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
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.100f86bd
movzx eax, byte [esp + 0x40]
movzx ecx, word [edi + 0x18]
xor edx, edx
mov dh, byte [esp + 0x28]
mov dl, byte [esp + 0x2c]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x3c]
push edx
movzx edx, word [edi + 0x14]
push ecx
push edx
push eax
mov eax, ebx
call fcn.10083320
mov ecx, dword [esp + 0x40]
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 0x1008824f
cmp eax, 6
jne 0x10087772
push 0x3c
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.100f6b80
mov ebp, dword [sym.imp.USER32.dll_GetDesktopWindow]
add esp, 0xc
call ebp
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push 0x48
mov ebx, eax
push 0x5a
push ebx
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 ebx
mov dword [esp + 0x8c], eax
call ebp
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 0x10087711
mov dword [esp + 0x98], 0x2bc
test al, 2
je 0x1008771d
mov byte [esp + 0x9c], 1
test al, 4
je 0x10087729
mov byte [esp + 0x9d], 1
add edi, 0x434
lea ecx, [esp + 0xa4]
sub ecx, edi
mov al, byte [edi]
mov byte [edi + ecx], al
add edi, 1
test al, al
jne 0x10087738
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, eax
test edi, edi
je 0x1008824f
mov eax, dword [esi + 0x74]
test eax, eax
je 0x1008776a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0x74], edi
jmp 0x1008824f
cmp eax, 7
jne 0x1008784b
cmp dword [edi + 0x1c], 0
jle 0x1008824f
cmp dword [edi + 0x20], 0
jle 0x1008824f
mov eax, dword [esi + 0x78]
test eax, eax
je 0x1008779d
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 ebp, eax
push edx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebp
mov dword [esi + 0x78], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [esi + 0x78]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xff00ff
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [edi + 0x20]
push eax
xor ecx, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0x1c]
push eax
push ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [esp + 0x14]
push ecx
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]
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x7c], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x80], edx
jmp 0x1008824f
cmp eax, 8
jne 0x10087d1b
add dword [esi + 0x39c], 1
cmp dword [esi + 0x98], 0
mov eax, dword [esi + 0x39c]
je 0x10087886
lea ecx, [edi + 0x234]
push ecx
lea edx, [esi + 0x29c]
lea ecx, [esi + 0x9c]
push eax
call fcn.10086c30
add esp, 8
cmp dword [esi + 0x78], 0
jne 0x1008792e
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 ebp, eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
push edx
push eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebp
mov dword [esi + 0x78], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x78]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xff00ff
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea edx, [esp + 0x44]
push edx
push ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x18]
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]
cmp dword [esi + 0x78], 0
je 0x1008824f
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x78]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
push ecx
push ebx
call ebp
push 1
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x74]
test eax, eax
mov dword [esp + 0x1c], 0
je 0x10087976
push eax
push ebx
call ebp
mov dword [esp + 0x1c], eax
push 0xff00ff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
lea edx, [esp + 0x70]
push edx
mov ebp, 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 ebp
lea eax, [esp + 0x54]
push eax
push ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
call dword [sym.imp.USER32.dll_FillRect]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x1ff
lea ecx, [esp + 0xc9]
push 0
push ecx
mov byte [esp + 0xd0], 0
call fcn.100f6b80
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 ebp, [esp + 0xd0]
add esp, 0xc
sub ebp, eax
mov edi, edi
mov cl, byte [eax]
mov byte [eax + ebp], cl
add eax, 1
test cl, cl
jne 0x10087a10
add edi, 0x224
lea ecx, [esp + 0x2c4]
sub ecx, edi
jmp 0x10087a30
mov al, byte [edi]
mov byte [edi + ecx], al
add edi, 1
test al, al
jne 0x10087a30
lea edx, [esp + 0xc4]
lea edi, [esi + 0x88]
push edx
mov ecx, edi
call fcn.10084560
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x3e0f83e1
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax - 1]
xor ebp, ebp
test edx, edx
mov dword [esp + 0x20], edx
jl 0x10087b04
mov eax, edx
imul eax, eax, 0x210
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
jmp 0x10087a90
push 0x410
mov dword [esp + 0x50], eax
mov eax, dword [edi]
add eax, dword [esp + 0x14]
lea edx, [esp + 0x44]
push edx
xor ecx, ecx
push 0xffffffffffffffff
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x64]
push eax
push ebx
mov dword [esp + 0x5c], ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esi + 0x84]
add ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
add ebp, ecx
cmp ebp, eax
jg 0x10087aed
mov ecx, dword [esp + 0x20]
sub dword [esp + 0x10], 0x210
sub ecx, 1
test ecx, ecx
mov dword [esp + 0x20], ecx
jge 0x10087a90
jmp 0x10087b08
mov ebp, dword [esp + 0x20]
test ebp, ebp
jl 0x10087b08
mov edx, dword [edi]
push edx
mov ecx, edi
call fcn.10083d90
sub ebp, 1
jns 0x10087af5
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov ebp, dword [esi + 0x94]
neg ebp
sbb ebp, ebp
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
and ebp, eax
mov dword [esp + 0x3c], eax
mov eax, 0x3e0f83e1
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x20], 0
je 0x10087ce1
mov dword [esp + 0x10], 0
lea esp, [esp]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [edi]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2ec]
push ecx
lea ecx, [eax + edx + 0x200]
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.100f86bd
movzx eax, byte [esp + 0x40]
xor edx, edx
mov dh, byte [esp + 0x28]
add esp, 0x14
mov dl, byte [esp + 0x18]
shl edx, 8
or edx, eax
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
push 0x410
mov dword [esp + 0x70], edx
mov edx, dword [edi]
add edx, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x64]
push ecx
xor eax, eax
push 0xffffffffffffffff
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x68]
push edx
push ebx
mov dword [esp + 0x80], eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
push 0x10
mov dword [esp + 0x4c], eax
mov eax, dword [edi]
add eax, dword [esp + 0x14]
cmp dword [esi + 0x94], 0
lea edx, [esp + 0x44]
push edx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x54], ebp
mov dword [esp + 0x5c], ecx
push ebx
je 0x10087c8b
mov ecx, ebp
sub ecx, dword [esi + 0x84]
sub ecx, dword [esp + 0x80]
mov dword [esp + 0x58], ecx
call dword [sym.imp.USER32.dll_DrawTextA]
cmp dword [esi + 0x94], 0
jne 0x10087ca8
mov ecx, dword [esi + 0x84]
add ecx, dword [esp + 0x6c]
add ebp, ecx
jmp 0x10087cb4
mov edx, dword [esi + 0x84]
add edx, dword [esp + 0x6c]
sub ebp, edx
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
add dword [esp + 0x20], 1
add dword [esp + 0x10], 0x210
mov eax, 0x3e0f83e1
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x20], eax
jb 0x10087b50
cmp dword [esp + 0x1c], 0
je 0x10087cf4
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x28]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1008824f
cmp eax, 9
jne 0x10087dbb
cmp dword [esi + 0x78], 0
je 0x1008824f
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [esi + 0x78]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xff00ff
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x70]
push ecx
push 0x18
push edx
mov ebp, eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x78]
xor eax, eax
push ebp
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x78]
push edx
push edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
call dword [sym.imp.USER32.dll_FillRect]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x24]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esi + 0x38]
push ebx
push ecx
jmp 0x10087eab
cmp eax, 0xa
jne 0x10087dce
mov edx, dword [edi + 0x20]
mov dword [esi + 0x84], edx
jmp 0x1008824f
cmp eax, 1
jne 0x10087de7
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x38]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1008824f
cmp eax, 2
jne 0x10087e04
mov ecx, dword [esi + 0x38]
push 1
push ecx
mov dword [esi + 0x48], 0
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x1008824f
cmp eax, 0xb
jne 0x10087ec1
cmp dword [esi + 0x78], 0
mov edx, dword [edi + 0x640]
mov dword [esi + 0x94], edx
je 0x1008824f
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
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 + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
lea edx, [esp + 0x70]
push edx
mov ebp, 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 + 0x30], eax
mov dword [esp + 0x34], eax
push ebp
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
call dword [sym.imp.USER32.dll_FillRect]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x24]
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 ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esi + 0x88]
call fcn.1002aad0
jmp 0x1008824f
cmp eax, 0xd
jne 0x10087f11
mov eax, dword [edi + 0x640]
mov dword [esi + 0x98], eax
lea eax, [edi + 0x24]
lea edx, [esi + 0x9c]
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x10087ee0
add edi, 0x234
add esi, 0x29c
sub esi, edi
lea ebx, [ebx]
mov al, byte [edi]
mov byte [edi + esi], al
add edi, 1
test al, al
jne 0x10087f00
jmp 0x1008824f
cmp eax, 0xe
jne 0x1008806f
lea ecx, [esi + 0x3a0]
xor ebp, ebp
call fcn.100835f0
test eax, eax
mov dword [esp + 0x24], eax
jbe 0x10087f87
mov eax, dword [esi + 0x3a0]
mov ecx, dword [edi + 0x14]
cmp ecx, dword [eax + 0x200]
jne 0x10087f79
mov ecx, dword [edi + 0x18]
cmp ecx, dword [eax + 0x204]
jne 0x10087f79
mov edx, eax
lea ecx, [edi + 0x24]
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x10087f70
test bl, bl
je 0x10087f6c
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x10087f70
add ecx, 2
add edx, 2
test bl, bl
jne 0x10087f50
xor ecx, ecx
jmp 0x10087f75
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x10087f87
add ebp, 1
add eax, 0x21c
cmp ebp, dword [esp + 0x24]
jb 0x10087f35
lea ecx, [esi + 0x3a0]
call fcn.100835f0
cmp ebp, eax
jae 0x10087fb3
mov edi, dword [edi + 0x640]
test edi, edi
je 0x1008824f
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
jmp 0x1008824f
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 0x10088004
lea edx, [esp + 0xc4]
push edx
lea ecx, [esi + 0x3a0]
call fcn.100845a0
mov ebx, dword [esp + 0x2d0]
mov ecx, ebx
call fcn.101161d0
cmp eax, 1
jle 0x10088052
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x10088044
mov ecx, ebx
call fcn.10116110
push 0
push eax
mov eax, dword [esi + 0x38]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esi + 0x38]
push 0
push 0
push ecx
mov dword [esi + 0x3b0], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1008824f
cmp eax, 0xf
jne 0x10088162
lea ebx, [esi + 0x3a0]
mov ecx, ebx
xor ebp, ebp
call fcn.100835f0
test eax, eax
mov dword [esp + 0x24], eax
jbe 0x1008824f
mov eax, dword [ebx]
mov dword [esp + 0x14], eax
lea esp, [esp]
mov ecx, dword [edi + 0x14]
cmp ecx, dword [eax + 0x200]
jne 0x100880e9
mov edx, dword [edi + 0x18]
cmp edx, dword [eax + 0x204]
jne 0x100880e9
mov edx, eax
lea ecx, [edi + 0x24]
jmp 0x100880c0
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x100880e0
test bl, bl
je 0x100880dc
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x100880e0
add ecx, 2
add edx, 2
test bl, bl
jne 0x100880c0
xor ecx, ecx
jmp 0x100880e5
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x100880fc
add ebp, 1
add eax, 0x21c
cmp ebp, dword [esp + 0x24]
jb 0x100880a0
jmp 0x1008824f
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x38]
mov edi, ebp
imul edi, edi, 0x21c
mov ecx, dword [edi + eax + 0x210]
push ecx
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x3a0]
mov ecx, dword [edi + eax + 0x20c]
test ecx, ecx
lea ebx, [esi + 0x3a0]
je 0x10088139
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebx]
add ecx, edi
push ecx
mov ecx, ebx
call fcn.10083e60
mov edx, dword [esi + 0x38]
push 0
push 0
push edx
mov dword [esi + 0x3b0], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x1008824f
cmp eax, 0x10
jne 0x1008824f
mov eax, dword [edi + 0x640]
test eax, eax
mov dword [esi + 0x3ac], eax
je 0x1008824f
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
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.100f86bd
fld1
fsub qword [edi + 0x648]
add esp, 0x14
fmul qword [0x10161968]
call fcn.100f9c90
movzx ecx, byte [esp + 0x18]
xor edx, edx
mov dh, byte [esp + 0x24]
movzx eax, al
mov dl, byte [esp + 0x14]
shl edx, 8
or edx, ecx
mov dword [esi + 0x3b4], edx
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [esi + 0x3b8], edx
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e8]
pop edi
pop esi
xor ecx, esp
call fcn.100f611a
add esp, 0x2e4
ret