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

Disassembly:
sub esp, 0x2e4
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x2e0], eax
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp esi, ebp
push edi
mov edi, edx
je 0x100a6759
mov eax, dword [edi]
cmp eax, ebp
jne 0x100a53ed
mov dword [esi + 0x3b0], 1
mov ebp, ebp
mov eax, dword [esi + 0x38]
push ebp
push ebp
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
test esi, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.101180ca
add esp, 0x2e4
ret
cmp eax, 3
push ebx
jne 0x100a553f
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x54], eax
mov ch, ch
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
test dl, dl
mov edx, dword [esi + 0x70]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x58], eax
test cl, cl
push ebx
pop ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], eax
mov ebp, ebp
mov ecx, dword [edi + 8]
mov dword [esp + 0x30], ecx
test eax, eax
mov edx, dword [edi + 0xc]
mov dword [esp + 0x34], edx
test cl, cl
mov eax, dword [edi + 0x10]
mov dword [esp + 0x38], eax
mov dl, dl
push eax
pop eax
mov bl, 0x78
mov byte [esp + 0x2e0], 0x25
mov byte [esp + 0x2e1], 0x30
mov byte [esp + 0x2e2], 0x32
mov byte [esp + 0x2e3], bl
mov byte [esp + 0x2e4], 0x25
mov byte [esp + 0x2e5], 0x30
mov byte [esp + 0x2e6], 0x32
mov byte [esp + 0x2e7], bl
mov byte [esp + 0x2e8], 0x25
mov byte [esp + 0x2e9], 0x30
mov byte [esp + 0x2ea], 0x32
mov byte [esp + 0x2eb], bl
mov byte [esp + 0x2ec], 0
mov al, al
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2ec]
push ecx
add edi, 0x224
push edi
call fcn.1011a25d
add esp, 0x14
test bl, bl
movzx eax, byte [esp + 0x18]
xor edx, edx
mov dh, byte [esp + 0x10]
mov dl, byte [esp + 0x14]
shl edx, 8
or edx, eax
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
mov al, al
push edi
lea ecx, [esp + 0x30]
push ecx
push ebp
call dword [sym.imp.USER32.dll_FillRect]
mov dh, dh
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
test edx, edx
mov edx, dword [esp + 0x58]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push ecx
pop ecx
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
mov eax, dword [esp + 0x54]
mov ecx, dword [esi + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
nop
jmp 0x100a6758
cmp eax, 0xc
jne 0x100a56b8
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x5c], eax
test dl, dl
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
test edx, edx
mov eax, dword [esi + 0x70]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
mov dh, dh
test esi, esi
mov bl, 0x78
mov byte [esp + 0x2e0], 0x25
mov byte [esp + 0x2e1], 0x30
mov byte [esp + 0x2e2], 0x32
mov byte [esp + 0x2e3], bl
mov byte [esp + 0x2e4], 0x25
mov byte [esp + 0x2e5], 0x30
mov byte [esp + 0x2e6], 0x32
mov byte [esp + 0x2e7], bl
mov byte [esp + 0x2e8], 0x25
mov byte [esp + 0x2e9], 0x30
mov byte [esp + 0x2ea], 0x32
mov byte [esp + 0x2eb], bl
mov byte [esp + 0x2ec], 0
test bh, bh
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2ec]
push ecx
lea edx, [edi + 0x224]
push edx
call fcn.1011a25d
add esp, 0x14
test esi, esi
xor eax, eax
push edx
pop edx
cmp dword [edi + 0x640], 1
jne 0x100a561b
mov eax, 2
test eax, eax
movzx edx, byte [esp + 0x18]
xor ecx, ecx
mov ch, byte [esp + 0x10]
mov cl, byte [esp + 0x14]
shl ecx, 8
or ecx, edx
push ecx
mov ecx, dword [edi + 0x1c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov ebx, eax
mov eax, eax
push ebx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x58], eax
nop
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
push 0
push edx
push eax
push ebp
call dword [sym.imp.GDI32.dll_MoveToEx]
test cl, cl
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
push ecx
push edx
push ebp
call dword [sym.imp.GDI32.dll_LineTo]
test eax, 0x6427
mov eax, dword [esp + 0x58]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebp
call edi
test dh, dh
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
test ebx, ebx
mov ecx, dword [esp + 0x54]
push ecx
push ebp
call edi
test eax, 0x3b0f
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov bh, bh
mov edx, dword [esp + 0x5c]
mov eax, dword [esi + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, edx
jmp 0x100a6758
cmp eax, 4
jne 0x100a588d
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x5c], eax
test edx, edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
test eax, eax
mov edx, dword [esi + 0x70]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
nop
mov bl, bl
mov eax, dword [edi + 0x14]
mov dword [esp + 0x1c], eax
push eax
pop eax
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x20], ecx
mov ebp, ebp
mov edx, dword [edi + 0x1c]
add edx, dword [edi + 0x14]
mov dword [esp + 0x24], edx
mov ebx, ebx
mov eax, dword [edi + 0x20]
add eax, dword [edi + 0x18]
mov dword [esp + 0x28], eax
test cl, cl
test edx, edx
mov bl, 0x78
mov byte [esp + 0x2e0], 0x25
mov byte [esp + 0x2e1], 0x30
mov byte [esp + 0x2e2], 0x32
mov byte [esp + 0x2e3], bl
mov byte [esp + 0x2e4], 0x25
mov byte [esp + 0x2e5], 0x30
mov byte [esp + 0x2e6], 0x32
mov byte [esp + 0x2e7], bl
mov byte [esp + 0x2e8], 0x25
mov byte [esp + 0x2e9], 0x30
mov byte [esp + 0x2ea], 0x32
mov byte [esp + 0x2eb], bl
mov byte [esp + 0x2ec], 0
mov ah, ah
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2ec]
push ecx
lea edx, [edi + 0x224]
push edx
call fcn.1011a25d
add esp, 0x14
mov ch, ch
push 1
push ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ch, ch
movzx ecx, byte [esp + 0x10]
xor eax, eax
mov ah, byte [esp + 0x18]
mov al, byte [esp + 0x14]
shl eax, 8
or eax, ecx
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, ecx
xor ebx, ebx
test ebx, ebx
mov eax, dword [edi + 0x63c]
test al, 1
je 0x100a57e6
mov al, al
jmp 0x100a57fe
test al, 2
je 0x100a57f3
mov ebx, 1
mov eax, eax
jmp 0x100a57fe
test al, 4
je 0x100a57fe
mov ebx, 2
test dh, dh
or ebx, 0x10
test ecx, ecx
mov dword [esp + 0x58], 0
test dl, dl
mov eax, dword [esi + 0x74]
test eax, eax
je 0x100a5822
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x58], eax
test ecx, ecx
add edi, 0x234
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a5830
push ebx
sub eax, edx
lea edx, [esp + 0x20]
push edx
push eax
push edi
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
test bl, bl
mov eax, dword [esp + 0x58]
test eax, eax
je 0x100a585e
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
test ebx, ebx
mov eax, dword [esp + 0x54]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
test eax, 0x22a9
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
nop
mov ecx, dword [esp + 0x5c]
mov edx, dword [esi + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
push ecx
pop ecx
jmp 0x100a6758
cmp eax, 5
jne 0x100a59c4
mov eax, dword [edi + 0x640]
mov dword [esp + 0x58], eax
push eax
pop eax
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x5c], eax
mov edi, edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
test ch, ch
mov edx, dword [esi + 0x70]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
mov edx, edx
mov edi, edi
mov bl, 0x78
mov byte [esp + 0x2e0], 0x25
mov byte [esp + 0x2e1], 0x30
mov byte [esp + 0x2e2], 0x32
mov byte [esp + 0x2e3], bl
mov byte [esp + 0x2e4], 0x25
mov byte [esp + 0x2e5], 0x30
mov byte [esp + 0x2e6], 0x32
mov byte [esp + 0x2e7], bl
mov byte [esp + 0x2e8], 0x25
mov byte [esp + 0x2e9], 0x30
mov byte [esp + 0x2ea], 0x32
mov byte [esp + 0x2eb], bl
mov byte [esp + 0x2ec], 0
test eax, 0x353a
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2ec]
push eax
lea ecx, [edi + 0x224]
push ecx
call fcn.1011a25d
add esp, 0x14
mov ch, ch
movzx eax, byte [esp + 0x18]
movzx ecx, word [edi + 0x18]
xor edx, edx
mov dh, byte [esp + 0x10]
mov dl, byte [esp + 0x14]
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x58]
push edx
movzx edx, word [edi + 0x14]
push ecx
push edx
push eax
mov eax, ebp
call fcn.100a1160
add esp, 0x10
test al, al
mov ecx, dword [esp + 0x54]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
test cl, cl
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, edx
mov edx, dword [esp + 0x5c]
mov eax, dword [esi + 0x38]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
test eax, 0x2399
jmp 0x100a6758
cmp eax, 6
jne 0x100a5ae2
test ecx, ecx
mov ah, ah
push 0x3c
lea ecx, [esp + 0x8c]
push 0
push ecx
call fcn.10118770
add esp, 0xc
test ecx, ecx
mov ebp, dword [sym.imp.USER32.dll_GetDesktopWindow]
call ebp
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebx, eax
mov ebp, ebp
push 0x48
push 0x5a
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, dword [edi + 0x634]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [esp + 0x88], eax
test ah, ah
push ebx
call ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ebx, ebx
mov dword [esp + 0x8c], 0
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0x98], 0x190
test edi, edi
mov byte [esp + 0x9f], 0x86
test edx, edx
test byte [edi + 0x638], 1
je 0x100a5a67
mov dword [esp + 0x98], 0x2bc
test eax, 0x14a9
test byte [edi + 0x638], 2
je 0x100a5a7a
mov byte [esp + 0x9c], 1
mov ah, ah
test byte [edi + 0x638], 4
je 0x100a5a8d
mov byte [esp + 0x9d], 1
mov esi, esi
add edi, 0x434
lea ecx, [esp + 0xa4]
sub ecx, edi
lea esp, [esp]
mov al, byte [edi]
mov byte [edi + ecx], al
add edi, 1
test al, al
jne 0x100a5aa0
mov ch, ch
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, eax
push edx
pop edx
test edi, edi
je 0x100a6758
mov eax, dword [esi + 0x74]
test eax, eax
je 0x100a5ad8
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
mov dword [esi + 0x74], edi
push ecx
pop ecx
jmp 0x100a6758
cmp eax, 7
jne 0x100a5bdd
cmp dword [edi + 0x1c], ebp
jle 0x100a6758
cmp dword [edi + 0x20], ebp
jle 0x100a6758
mov eax, dword [esi + 0x78]
cmp eax, ebp
je 0x100a5b0d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edx
pop edx
mov dword [esi + 0x78], ebp
mov ebx, ebx
mov ecx, dword [esi + 0x38]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
mov ebx, ebx
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
push edx
push eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x78], eax
nop
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push ecx
pop ecx
mov ecx, dword [esi + 0x78]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
test edi, edi
push 0xff00ff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x58], eax
mov ch, ch
test al, al
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov ebx, ebx
mov dword [esp + 0x20], ecx
test eax, 0x5880
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x24], edx
test al, al
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x28], ecx
mov edx, edx
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov edi, edi
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test ah, ah
mov ecx, dword [esp + 0x54]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
test ah, ah
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov bh, bh
mov edx, dword [esi + 0x38]
push ebp
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
test al, al
mov eax, dword [edi + 0x14]
mov dword [esi + 0x7c], eax
mov dh, dh
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x80], ecx
mov esi, esi
jmp 0x100a6758
cmp eax, 8
jne 0x100a6171
add dword [esi + 0x39c], 1
test bh, bh
cmp dword [esi + 0x98], ebp
je 0x100a5c1b
mov eax, dword [esi + 0x39c]
lea edx, [edi + 0x234]
push edx
lea edx, [esi + 0x29c]
lea ecx, [esi + 0x9c]
push eax
call fcn.100a4e40
add esp, 8
test edi, edi
cmp dword [esi + 0x78], ebp
jne 0x100a5cd8
test dl, dl
mov edx, dword [esi + 0x38]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
test dh, dh
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
mov ah, ah
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x2c]
push ecx
push edx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x78], eax
test eax, 0x7ea9
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov dl, dl
mov eax, dword [esi + 0x78]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
test ebx, ebx
push 0xff00ff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x58], eax
test ecx, ecx
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
test eax, 0x530b
mov edx, dword [esp + 0x58]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, edx
mov eax, dword [esp + 0x54]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
nop
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
test ecx, ecx
mov ecx, dword [esi + 0x38]
push ebp
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
test eax, 0x39be
cmp dword [esi + 0x78], 0
je 0x100a6758
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x60], eax
test eax, 0x4d3c
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
test esi, esi
mov eax, dword [esi + 0x78]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebp
call ebx
mov dword [esp + 0x74], eax
mov eax, eax
push 1
push ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
test bh, bh
mov dword [esp + 0x58], 0
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esi + 0x74]
test eax, eax
je 0x100a5d39
push eax
push ebp
call ebx
mov dword [esp + 0x58], eax
mov ch, ch
push 0xff00ff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebx, eax
mov ch, ch
test edi, edi
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x3c]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov bl, bl
mov cl, cl
xor eax, eax
mov dword [esp + 0x1c], eax
mov al, al
mov dword [esp + 0x20], eax
mov ecx, ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov ah, ah
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x28], ecx
test esi, esi
push ebx
lea edx, [esp + 0x20]
push edx
push ebp
call dword [sym.imp.USER32.dll_FillRect]
xchg ebx, eax
xchg ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
pop ebx
push 0x1ff
lea eax, [esp + 0xc9]
push 0
push eax
mov byte [esp + 0xd0], 0
call fcn.10118770
xor eax, eax
add esp, 0xc
mov dword [esp + 0x2c4], eax
mov dword [esp + 0x2c8], eax
mov dword [esp + 0x2cc], eax
mov dword [esp + 0x2d0], eax
push edx
pop edx
lea eax, [edi + 0x234]
lea ecx, [esp + 0xc4]
sub ecx, eax
mov dl, byte [eax]
mov byte [eax + ecx], dl
add eax, 1
test dl, dl
jne 0x100a5de7
test dh, dh
add edi, 0x224
lea ecx, [esp + 0x2c4]
sub ecx, edi
mov al, byte [edi]
mov byte [edi + ecx], al
add edi, 1
test al, al
jne 0x100a5e04
test eax, 0x964
lea ecx, [esp + 0xc4]
lea edi, [esi + 0x88]
push ecx
mov ecx, edi
call fcn.100a2510
test dl, dl
mov dword [esp + 0x54], 0
mov dh, dh
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x3e0f83e1
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
lea ebx, [edx + eax - 1]
mov bh, bh
test ebx, ebx
jl 0x100a5eec
mov eax, ebx
imul eax, eax, 0x210
mov dword [esp + 0x5c], eax
test bl, bl
xor eax, eax
mov dword [esp + 0x2c], eax
test bl, bl
mov dword [esp + 0x30], eax
mov eax, eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov dl, dl
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
test edi, edi
mov ecx, dword [edi]
add ecx, dword [esp + 0x5c]
push 0x410
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push ecx
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov bh, bh
mov edx, dword [esi + 0x84]
add edx, dword [esp + 0x38]
mov eax, dword [esp + 0x54]
add eax, edx
mov dword [esp + 0x54], eax
push ecx
pop ecx
cmp eax, dword [esp + 0x28]
jg 0x100a5ed1
sub dword [esp + 0x5c], 0x210
sub ebx, 1
test ebx, ebx
jge 0x100a5e64
jmp 0x100a5eec
mov edi, edi
test ebx, ebx
jl 0x100a5eec
mov eax, dword [edi]
push eax
mov ecx, edi
call fcn.100a1d40
push ebx
pop ebx
sub ebx, 1
push ebx
pop ebx
test ebx, ebx
jge 0x100a5ed7
test dh, dh
push edx
pop edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x80], ecx
xchg ebx, eax
xchg ebx, eax
xor eax, eax
cmp dword [esi + 0x94], eax
jne 0x100a5f0f
mov dword [esp + 0x7c], eax
test bl, bl
jmp 0x100a5f19
mov edx, dword [esp + 0x28]
mov dword [esp + 0x7c], edx
test cl, cl
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x84], ecx
test ch, ch
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov dword [esp + 0x54], eax
mov eax, 0x3e0f83e1
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100a612f
mov dword [esp + 0x5c], 0
mov bl, 0x78
xchg ebx, eax
xchg ebx, eax
mov byte [esp + 0x2e0], 0x25
mov byte [esp + 0x2e1], 0x30
mov byte [esp + 0x2e2], 0x32
mov byte [esp + 0x2e3], bl
mov byte [esp + 0x2e4], 0x25
mov byte [esp + 0x2e5], 0x30
mov byte [esp + 0x2e6], 0x32
mov byte [esp + 0x2e7], bl
mov byte [esp + 0x2e8], 0x25
mov byte [esp + 0x2e9], 0x30
mov byte [esp + 0x2ea], 0x32
mov byte [esp + 0x2eb], bl
mov byte [esp + 0x2ec], 0
push eax
pop eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, dword [edi]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x2ec]
push ecx
lea ecx, [eax + edx + 0x200]
push ecx
call fcn.1011a25d
add esp, 0x14
test eax, 0x696b
movzx eax, byte [esp + 0x18]
xor edx, edx
mov dh, byte [esp + 0x10]
mov dl, byte [esp + 0x14]
shl edx, 8
or edx, eax
push edx
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov esi, esi
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
xor eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
mov ecx, ecx
mov dword [esp + 0x68], 0
test dh, dh
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x70], ecx
nop
mov eax, dword [edi]
add eax, dword [esp + 0x5c]
push 0x410
lea edx, [esp + 0x68]
push edx
push 0xffffffffffffffff
push eax
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov edi, edi
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
xor eax, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
test esi, esi
cmp dword [esi + 0x94], 0
jne 0x100a60a8
mov edx, dword [edi]
add edx, dword [esp + 0x5c]
push 0x10
lea ecx, [esp + 0x30]
push ecx
push 0xffffffffffffffff
push edx
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov ebx, ebx
jmp 0x100a60d4
mov eax, dword [esi + 0x84]
add eax, dword [esp + 0x70]
sub dword [esp + 0x30], eax
test eax, 0x2f2e
mov edx, dword [edi]
add edx, dword [esp + 0x5c]
push 0x10
lea ecx, [esp + 0x30]
push ecx
push 0xffffffffffffffff
push edx
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
test esi, esi
cmp dword [esi + 0x94], 0
jne 0x100a60ef
mov eax, dword [esi + 0x84]
add eax, dword [esp + 0x70]
add dword [esp + 0x7c], eax
mov bl, bl
jmp 0x100a6102
mov ecx, dword [esi + 0x84]
add ecx, dword [esp + 0x70]
sub dword [esp + 0x7c], ecx
test eax, 0x2160
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
add dword [esp + 0x54], 1
add dword [esp + 0x5c], 0x210
mov eax, 0x3e0f83e1
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x54], eax
jb 0x100a5f50
cmp dword [esp + 0x58], 0
je 0x100a6144
mov ecx, dword [esp + 0x58]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push edx
pop edx
mov edx, dword [esp + 0x74]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
test ah, ah
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
push edx
pop edx
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, esi
jmp 0x100a6758
cmp eax, 9
jne 0x100a624c
cmp dword [esi + 0x78], ebp
je 0x100a6758
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov bh, bh
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov ah, ah
mov eax, dword [esi + 0x78]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x60], eax
push ebx
pop ebx
push 0xff00ff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebp, eax
test ecx, ecx
mov dh, dh
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x3c]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
test esi, esi
test dh, dh
xor eax, eax
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x30], eax
test ecx, ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], eax
test eax, 0x233f
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], ecx
test eax, 0x1ffc
push ebp
lea edx, [esp + 0x30]
push edx
push edi
call dword [sym.imp.USER32.dll_FillRect]
test edx, edx
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x60]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test cl, cl
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test cl, cl
mov ecx, dword [esi + 0x38]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
test eax, 0x742a
lea ecx, [esi + 0x88]
call fcn.100a3e10
test ah, ah
jmp 0x100a6758
cmp eax, 0xa
jne 0x100a6261
mov edx, dword [edi + 0x20]
mov dword [esi + 0x84], edx
push ebx
pop ebx
jmp 0x100a6758
cmp eax, 1
jne 0x100a627d
mov dword [esi + 0x48], eax
mov bl, bl
mov eax, dword [esi + 0x38]
push ebp
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, esi
jmp 0x100a6758
cmp eax, 2
jne 0x100a6299
mov dword [esi + 0x48], ebp
test edi, edi
mov ecx, dword [esi + 0x38]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
nop
jmp 0x100a6758
cmp eax, 0xb
jne 0x100a637f
mov edx, dword [edi + 0x640]
mov dword [esi + 0x94], edx
test edx, edx
cmp dword [esi + 0x78], ebp
je 0x100a6758
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
mov ah, ah
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov ecx, ecx
mov ecx, dword [esi + 0x78]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x60], eax
test ch, ch
push 0xff00ff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebp, eax
test dl, dl
mov cl, cl
mov eax, dword [esi + 0x78]
lea edx, [esp + 0x3c]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, 0x16b0
mov dl, dl
xor eax, eax
mov dword [esp + 0x2c], eax
test bl, bl
mov dword [esp + 0x30], eax
test edi, edi
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x34], ecx
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esp + 0x44]
mov dword [esp + 0x38], edx
test esi, esi
push ebp
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
test ah, ah
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push eax
pop eax
mov ecx, dword [esp + 0x60]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
test al, al
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test eax, 0x5e1f
mov edx, dword [esi + 0x38]
push ebx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
pop ebx
lea ecx, [esi + 0x88]
call fcn.100a3e10
mov ah, ah
jmp 0x100a6758
cmp eax, 0xd
jne 0x100a63d3
mov eax, dword [edi + 0x640]
mov dword [esi + 0x98], eax
test edi, edi
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 0x100a63a0
mov ch, ch
add edi, 0x234
add esi, 0x29c
sub esi, edi
lea esp, [esp]
mov al, byte [edi]
mov byte [edi + esi], al
add edi, 1
test al, al
jne 0x100a63c0
mov edi, edi
jmp 0x100a6758
cmp eax, 0xe
jne 0x100a6564
mov ah, ah
lea ecx, [esi + 0x3a0]
call fcn.100a1490
cmp eax, ebp
mov dword [esp + 0x60], eax
jbe 0x100a6457
mov eax, dword [esi + 0x3a0]
jmp 0x100a6400
mov ecx, dword [edi + 0x14]
cmp ecx, dword [eax + 0x200]
jne 0x100a6449
mov ecx, dword [edi + 0x18]
cmp ecx, dword [eax + 0x204]
jne 0x100a6449
mov edx, eax
lea ecx, [edi + 0x24]
jmp 0x100a6420
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x100a6440
test bl, bl
je 0x100a643c
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x100a6440
add ecx, 2
add edx, 2
test bl, bl
jne 0x100a6420
xor ecx, ecx
jmp 0x100a6445
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x100a6457
add ebp, 1
add eax, 0x21c
cmp ebp, dword [esp + 0x60]
jb 0x100a6400
lea ecx, [esi + 0x3a0]
call fcn.100a1490
cmp ebp, eax
jae 0x100a6481
mov edi, dword [edi + 0x640]
test edi, edi
je 0x100a647a
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
test eax, eax
jmp 0x100a6758
test ecx, ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x2c4], ecx
mov eax, eax
mov edx, dword [edi + 0x18]
mov dword [esp + 0x2c8], edx
test al, al
mov eax, dword [edi + 0x640]
mov dword [esp + 0x2d0], eax
test esi, esi
xor eax, eax
mov dword [esp + 0x2cc], eax
test esi, esi
mov dword [esp + 0x2d4], eax
mov eax, eax
mov ecx, dword [edi + 0x63c]
mov dword [esp + 0x2dc], ecx
test dh, dh
mov dword [esp + 0x2d8], eax
push eax
pop eax
lea eax, [edi + 0x24]
lea edx, [esp + 0xc4]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100a64e2
test ah, ah
lea edx, [esp + 0xc4]
push edx
lea ecx, [esi + 0x3a0]
call fcn.100a2550
test ah, ah
mov ebx, dword [esp + 0x2d0]
mov ecx, ebx
call fcn.10137c10
cmp eax, 1
jle 0x100a653d
mov eax, dword [edi + 0x1c]
test eax, 0x4462
test eax, eax
jne 0x100a652d
mov ecx, ebx
call fcn.10137b50
test esi, esi
push 0
push eax
mov eax, dword [esi + 0x38]
push ebx
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ebp, ebp
mov dword [esi + 0x3b0], 1
test eax, 0x12a4
mov ecx, dword [esi + 0x38]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
test eax, 0x7e62
jmp 0x100a6758
cmp eax, 0xf
jne 0x100a665c
mov cl, cl
lea ebx, [esi + 0x3a0]
mov ecx, ebx
xor ebp, ebp
call fcn.100a1490
test eax, eax
mov dword [esp + 0x60], eax
jbe 0x100a6758
mov eax, dword [ebx]
mov dword [esp + 0x74], eax
mov ecx, dword [edi + 0x14]
cmp ecx, dword [eax + 0x200]
jne 0x100a65d9
mov edx, dword [edi + 0x18]
cmp edx, dword [eax + 0x204]
jne 0x100a65d9
mov edx, eax
lea ecx, [edi + 0x24]
jmp 0x100a65b0
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x100a65d0
test bl, bl
je 0x100a65cc
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x100a65d0
add ecx, 2
add edx, 2
test bl, bl
jne 0x100a65b0
xor ecx, ecx
jmp 0x100a65d5
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x100a65ec
add ebp, 1
add eax, 0x21c
cmp ebp, dword [esp + 0x60]
jb 0x100a6590
jmp 0x100a6758
mov eax, dword [esp + 0x74]
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 ebp, ebp
mov eax, dword [esi + 0x3a0]
mov ecx, dword [edi + eax + 0x20c]
test ecx, ecx
lea ebx, [esi + 0x3a0]
je 0x100a662b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
test dl, dl
mov ecx, dword [ebx]
add ecx, edi
push ecx
mov ecx, ebx
call fcn.100a1e10
mov bh, bh
mov dword [esi + 0x3b0], 1
test edx, edx
mov edx, dword [esi + 0x38]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
test al, al
jmp 0x100a6758
cmp eax, 0x10
jne 0x100a6758
mov eax, dword [edi + 0x640]
mov dword [esi + 0x3ac], eax
test ecx, ecx
cmp dword [esi + 0x3ac], ebp
je 0x100a6758
test edi, edi
mov bl, 0x78
mov byte [esp + 0x2e0], 0x25
mov byte [esp + 0x2e1], 0x30
mov byte [esp + 0x2e2], 0x32
mov byte [esp + 0x2e3], bl
mov byte [esp + 0x2e4], 0x25
mov byte [esp + 0x2e5], 0x30
mov byte [esp + 0x2e6], 0x32
mov byte [esp + 0x2e7], bl
mov byte [esp + 0x2e8], 0x25
mov byte [esp + 0x2e9], 0x30
mov byte [esp + 0x2ea], 0x32
mov byte [esp + 0x2eb], bl
mov byte [esp + 0x2ec], 0
nop
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2ec]
push ecx
lea edx, [edi + 0x224]
push edx
call fcn.1011a25d
add esp, 0x14
mov ecx, ecx
fld1
fsub qword [edi + 0x648]
fmul qword [0x10181b48]
call fcn.1011b720
test edx, edx
movzx edx, byte [esp + 0x10]
xor ecx, ecx
mov ch, byte [esp + 0x18]
mov cl, byte [esp + 0x14]
shl ecx, 8
or ecx, edx
mov dword [esi + 0x3b4], ecx
test ebx, ebx
movzx eax, al
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
mov dword [esi + 0x3b8], ecx
nop
pop ebx
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.101180ca
add esp, 0x2e4
ret