Function at 0x41d7b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov eax, dword [esp + 0xd0]
sub eax, 4
imul ebp, eax, 0xec
mov eax, dword [0x45b0dc]
mov dword [esp], eax
mov dword [esp + 0x40], ebp
call dword [sym.imp.USER32.dll_GetDC]
sub esp, 4
mov edi, eax
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
mov eax, dword [0x45a310]
sub esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 4], eax
mov dword [esp], esi
call ebx
mov eax, dword [0x4524ec]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], edi
call ebx
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
sub esp, 8
mov dword [esp + 0x60], ebx
mov dword [esp + 4], 0
mov dword [esp], edi
call ebx
mov ebx, dword [sym.imp.GDI32.dll_SetBkMode]
sub esp, 8
mov dword [esp + 0x44], ebx
mov dword [esp + 4], 1
mov dword [esp], edi
call ebx
sub esp, 8
mov dword [esp + 4], 0x90e890
mov dword [esp + 0x34], edi
mov dword [esp], edi
call dword [sym.imp.GDI32.dll_SetBkColor]
sub esp, 8
mov ebx, dword [esp + 0xd0]
lea eax, [ebx*4]
mov dword [esp + 0x38], eax
add eax, ebx
shl eax, 3
lea ebx, [eax + 0x458620]
lea ecx, [eax + 0x458640]
mov dword [esp + 0x48], ebx
mov ebx, dword [eax + 0x4584c4]
mov dword [esp + 0x50], ecx
xor ebx, dword [eax + 0x458644]
mov ecx, dword [eax + 0x4584c0]
xor ecx, dword [eax + 0x458640]
or ecx, ebx
jne 0x41edd0
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
shl eax, 3
lea edi, [eax + 0x458620]
movzx ebx, byte [eax + 0x45862c]
mov dword [esp + 0x48], edi
cmp byte [eax + 0x4584ac], bl
jne 0x41eb60
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
shl eax, 3
lea edi, [eax + 0x458620]
mov esi, dword [eax + 0x458634]
mov dword [esp + 0x48], edi
cmp dword [eax + 0x4584b4], esi
jne 0x41ea10
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
shl eax, 3
lea edi, [eax + 0x4584a0]
movzx esi, word [eax + 0x458630]
mov dword [esp + 0x48], edi
lea edi, [eax + 0x458620]
cmp word [eax + 0x4584b0], si
je 0x41da68
mov eax, dword [esp + 0x40]
mov ebx, dword [0x45a31c]
mov dword [esp + 0x20], 0xcc0020
lea esi, [eax + 0x107]
imul esi, dword [0x45a320]
mov eax, esi
cdq
idiv dword [0x42e2e8]
lea ecx, [eax + ebx]
mov dword [esp + 0x58], eax
imul eax, dword [0x45a320], 0x1d
mov dword [esp + 0x50], ecx
mov dword [esp + 0x78], ecx
add eax, esi
mov esi, dword [0x45a318]
cdq
idiv dword [0x42e2e8]
add ebx, eax
mov ecx, eax
imul eax, dword [0x45a320], 0x179
mov dword [esp + 0x80], ebx
cdq
idiv dword [0x42e2e8]
lea ebp, [eax + esi]
mov ebx, eax
imul eax, dword [0x45a320], 0x198
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], ebp
cdq
idiv dword [0x42e2e8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
add esi, eax
sub eax, ebx
add eax, 1
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], esi
sub ecx, eax
mov dword [esp + 4], esi
add ecx, 1
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0x34]
mov dword [esp], esi
call dword [sym.imp.GDI32.dll_BitBlt]
movzx eax, word [edi + 0x10]
sub esp, 0x24
mov dword [esp + 0xc], eax
mov eax, dword [0x452484]
lea ebx, [esp + 0x88]
mov dword [esp + 4], 0x28
add eax, 0x920
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0041b720
lea eax, [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.USER32.dll_DrawTextW]
movzx eax, word [edi + 0x10]
sub esp, 0x14
mov edi, dword [esp + 0x48]
mov word [edi + 0x10], ax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
shl eax, 3
mov ecx, dword [eax + 0x4584b8]
mov ebx, dword [eax + 0x4584bc]
lea esi, [eax + 0x458620]
xor ecx, dword [eax + 0x458638]
xor ebx, dword [eax + 0x45863c]
mov dword [esp + 0x48], esi
or ecx, ebx
jne 0x41e600
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
shl eax, 3
lea edi, [eax + 0x4584a0]
movzx esi, word [eax + 0x458632]
mov dword [esp + 0x48], edi
lea edi, [eax + 0x458620]
cmp word [eax + 0x4584b2], si
je 0x41dca2
mov eax, dword [esp + 0xd0]
cmp dword [0x45ae14], eax
sete al
mov esi, dword [esp + 0x34]
movzx eax, al
add eax, 1
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
call eax
mov edx, 0x606060
mov eax, 0x703030
sub esp, 8
cmp dword [esp + 0xd0], 6
mov dword [esp + 0x34], esi
cmovge eax, edx
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
call eax
mov ebx, dword [0x45a31c]
sub esp, 8
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], 0xcc0020
lea esi, [eax + 0x71]
imul esi, dword [0x45a320]
mov eax, esi
cdq
idiv dword [0x42e2e8]
lea edx, [eax + ebx]
mov dword [esp + 0x58], eax
imul eax, dword [0x45a320], 0x39
mov dword [esp + 0x50], edx
mov dword [esp + 0x78], edx
add eax, esi
mov esi, dword [0x45a318]
cdq
idiv dword [0x42e2e8]
add ebx, eax
mov ecx, eax
imul eax, dword [0x45a320], 0x1c3
mov dword [esp + 0x80], ebx
cdq
idiv dword [0x42e2e8]
lea ebp, [eax + esi]
mov ebx, eax
imul eax, dword [0x45a320], 0x1e3
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], ebp
cdq
idiv dword [0x42e2e8]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x18], edx
mov dword [esp + 4], edx
add esi, eax
sub eax, ebx
add eax, 1
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], esi
sub ecx, eax
add ecx, 1
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0x34]
mov dword [esp], esi
call dword [sym.imp.GDI32.dll_BitBlt]
movzx edx, word [edi + 0x12]
sub esp, 0x24
mov eax, edx
imul edx, edx, 0xcccd
lea ebx, [esp + 0x88]
mov dword [esp + 4], 0x28
mov ecx, eax
mov dword [esp], ebx
shr edx, 0x13
lea edx, [edx + edx*4]
add edx, edx
sub ecx, edx
lea edx, [eax + 0xa]
cmp cx, 4
cmova eax, edx
mov edx, eax
shr dx, 2
movzx edx, dx
imul edx, edx, 0x147b
shr edx, 0x11
lea ecx, [edx + edx*4]
movzx edx, dx
lea ecx, [ecx + ecx*4]
mov dword [esp + 0xc], edx
shl ecx, 2
sub eax, ecx
movzx eax, ax
imul eax, eax, 0xcccd
shr eax, 0x13
add eax, 0x30
mov dword [esp + 0x10], eax
mov eax, dword [0x452484]
add eax, 0x944
mov dword [esp + 8], eax
call fcn.0041b720
lea eax, [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.USER32.dll_DrawTextW]
movzx eax, word [edi + 0x12]
sub esp, 0x14
mov edi, dword [esp + 0x48]
mov word [edi + 0x12], ax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
shl eax, 3
lea edi, [eax + 0x4584a0]
movzx esi, word [eax + 0x45862e]
mov dword [esp + 0x48], edi
lea edi, [eax + 0x458620]
cmp word [eax + 0x4584ae], si
je 0x41de6c
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
mov dword [esp + 4], 0
mov dword [esp], esi
call eax
mov ebx, dword [0x45a31c]
sub esp, 8
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], 0xcc0020
lea esi, [eax + 0xf3]
imul esi, dword [0x45a320]
mov eax, esi
cdq
idiv dword [0x42e2e8]
lea edx, [eax + ebx]
mov dword [esp + 0x58], eax
imul eax, dword [0x45a320], 0x3d
mov dword [esp + 0x50], edx
mov dword [esp + 0x78], edx
add eax, esi
mov esi, dword [0x45a318]
cdq
idiv dword [0x42e2e8]
add ebx, eax
mov ecx, eax
imul eax, dword [0x45a320], 0x1c3
mov dword [esp + 0x80], ebx
cdq
idiv dword [0x42e2e8]
lea ebp, [eax + esi]
mov ebx, eax
imul eax, dword [0x45a320], 0x1e3
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], ebp
cdq
idiv dword [0x42e2e8]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x18], edx
mov dword [esp + 4], edx
add esi, eax
sub eax, ebx
add eax, 1
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], esi
sub ecx, eax
add ecx, 1
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0x34]
mov dword [esp], esi
call dword [sym.imp.GDI32.dll_BitBlt]
movzx edx, word [edi + 0xe]
sub esp, 0x24
mov eax, edx
imul edx, edx, 0xcccd
lea ebx, [esp + 0x88]
mov dword [esp + 4], 0x28
mov ecx, eax
mov dword [esp], ebx
shr edx, 0x13
lea edx, [edx + edx*4]
add edx, edx
sub ecx, edx
lea edx, [eax + 0xa]
cmp cx, 4
cmova eax, edx
mov edx, eax
shr dx, 2
movzx edx, dx
imul edx, edx, 0x147b
shr edx, 0x11
lea ecx, [edx + edx*4]
movzx edx, dx
lea ecx, [ecx + ecx*4]
mov dword [esp + 0xc], edx
shl ecx, 2
sub eax, ecx
movzx eax, ax
imul eax, eax, 0xcccd
shr eax, 0x13
add eax, 0x30
mov dword [esp + 0x10], eax
mov eax, dword [0x452484]
add eax, 0x944
mov dword [esp + 8], eax
call fcn.0041b720
lea eax, [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.USER32.dll_DrawTextW]
movzx eax, word [edi + 0xe]
sub esp, 0x14
mov edi, dword [esp + 0x48]
mov word [edi + 0xe], ax
mov edi, dword [0x45a320]
mov esi, dword [0x42e2e8]
mov ecx, dword [0x45a318]
imul eax, edi, 0x1e8
cdq
idiv esi
lea ebp, [eax + ecx]
mov dword [esp + 0x58], eax
imul eax, edi, 0x208
mov dword [esp + 0x7c], ebp
cdq
idiv esi
xor edx, edx
add ecx, eax
mov ebx, eax
mov eax, dword [0x42e2e4]
mov dword [esp + 0x84], ecx
cmp eax, 6
cmovge eax, edx
imul eax, eax, 0x7c
movzx eax, byte [eax + 0x45694d]
mov byte [esp + 0x50], al
cmp al, byte [0x45ae00]
je 0x41dfa7
mov ecx, dword [esp + 0x40]
mov eax, dword [0x45a31c]
add ecx, 0x142
mov dword [esp + 0x48], eax
imul ecx, edi
mov eax, ecx
cdq
idiv esi
mov edx, dword [esp + 0x48]
lea eax, [edx + eax - 2]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
sub ebx, eax
movzx eax, byte [esp + 0x50]
add ebx, 1
and eax, 0xf
cmp al, 3
je 0x41e3d0
imul edi, edi, 0x95
mov eax, ecx
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebx
sub eax, edi
mov edi, dword [esp + 0x48]
mov dword [esp + 8], ebp
cdq
idiv esi
lea edx, [edi + eax + 1]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], eax
sub eax, edx
add eax, 1
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edi
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_BitBlt]
sub esp, 0x24
mov edx, dword [esp + 0x38]
add edx, dword [esp + 0xd0]
shl edx, 3
movzx ebx, word [0x44abc8]
movzx eax, word [edx + 0x458624]
movzx ecx, word [edx + 0x458626]
add al, bl
add cl, bl
add ah, bh
add ch, bh
shl ecx, 0x10
movzx eax, ax
or eax, ecx
mov dword [edx + 0x4584a4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0x703030
mov dword [esp], eax
mov eax, dword [esp + 0x60]
call eax
mov eax, dword [0x42e2e4]
xor edx, edx
sub esp, 8
cmp eax, 6
cmovge eax, edx
imul eax, eax, 0x7c
movzx eax, byte [eax + 0x45694d]
and eax, 0xf
cmp al, 3
je 0x41ef38
mov eax, dword [esp + 0x40]
xor edi, edi
lea esi, [eax + 0xd1]
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
lea ebp, [eax*8]
movzx eax, byte [ebp + 0x458624]
cmp byte [ebp + 0x4584a4], al
je 0x41e0d5
lea eax, [esi - 0x1f]
mov ecx, dword [0x45a31c]
mov dword [esp + 0x20], 0xcc0020
imul eax, dword [0x45a320]
cdq
idiv dword [0x42e2e8]
add ecx, eax
mov ebx, eax
mov eax, dword [0x45a320]
mov dword [esp + 0x78], ecx
imul eax, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 4], ecx
cdq
idiv dword [0x42e2e8]
mov edx, dword [0x45a31c]
add edx, eax
sub eax, ebx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x7c]
add eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x84]
sub edx, dword [esp + 0x7c]
mov dword [esp], eax
add edx, 1
mov dword [esp + 0x10], edx
call dword [sym.imp.GDI32.dll_BitBlt]
movzx eax, byte [ebp + 0x458624]
sub esp, 0x24
test al, al
jne 0x41e2d8
mov edx, dword [0x45ae10]
test edx, edx
lea ecx, [edx + 3]
cmovns ecx, edx
sar ecx, 2
cmp ecx, dword [esp + 0xd0]
je 0x41e440
mov byte [ebp + 0x4584a4], al
add edi, 1
add esi, 0x24
add ebp, 1
cmp edi, 4
jne 0x41dfff
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
shl eax, 3
lea esi, [eax + 0x458620]
movzx ebx, byte [eax + 0x45862a]
mov dword [esp + 0x60], esi
cmp byte [eax + 0x4584aa], bl
jne 0x41e468
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
shl eax, 3
lea edi, [eax + 0x4584a0]
movzx ebx, byte [eax + 0x45862b]
lea ebp, [eax + 0x458620]
mov dword [esp + 0x38], edi
cmp byte [eax + 0x4584ab], bl
je 0x41e298
mov eax, dword [esp + 0xd0]
cmp dword [0x45ae08], eax
sete al
mov esi, dword [esp + 0x34]
movzx eax, al
add eax, 1
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
call eax
mov ebx, dword [0x45a31c]
sub esp, 8
mov edi, dword [esp + 0x40]
mov dword [esp + 0x20], 0xcc0020
add edi, 0xf7
imul edi, dword [0x45a320]
mov eax, edi
cdq
idiv dword [0x42e2e8]
lea esi, [eax + ebx]
mov ecx, eax
imul eax, dword [0x45a320], 0x2d
mov dword [esp + 0x78], esi
mov dword [esp + 0x18], esi
mov dword [esp + 4], esi
mov esi, dword [esp + 0x34]
add eax, edi
mov edi, dword [0x45a318]
cdq
idiv dword [0x42e2e8]
mov dword [esp + 0x40], eax
add ebx, eax
imul eax, dword [0x45a320], 0x20d
mov dword [esp + 0x80], ebx
cdq
idiv dword [0x42e2e8]
add edi, eax
mov ebx, eax
imul eax, dword [0x45a320], 0x22d
mov dword [esp + 0x7c], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 8], edi
cdq
idiv dword [0x42e2e8]
mov edx, dword [0x45a318]
add edx, eax
sub eax, ebx
add eax, 1
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], edx
sub eax, ecx
add eax, 1
mov dword [esp + 0xc], eax
mov dword [esp], esi
call dword [sym.imp.GDI32.dll_BitBlt]
movzx eax, byte [ebp + 0xb]
sub esp, 0x24
mov dword [esp + 0xc], eax
mov eax, dword [0x452484]
lea ebx, [esp + 0x88]
mov dword [esp + 4], 0x28
add eax, 0x918
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0041b720
lea eax, [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.USER32.dll_DrawTextW]
movzx eax, byte [ebp + 0xb]
sub esp, 0x14
mov edi, dword [esp + 0x38]
mov byte [edi + 0xb], al
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
sub esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [0x45b0dc]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
sub esp, 8
call dword [sym.imp.GDI32.dll_GdiFlush]
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x45ae10]
mov ecx, 1
test eax, eax
lea edx, [eax + 3]
cmovns edx, eax
sar edx, 2
cmp edx, dword [esp + 0xd0]
je 0x41f220
mov eax, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x44]
call eax
movzx edx, byte [ebp + 0x458624]
sub esp, 8
test dl, dl
jne 0x41e370
xor eax, eax
lea ebx, [esp + 0x88]
mov dword [esp + 0x88], 0x200020
mov word [esp + 0x8c], ax
lea eax, [esp + 0x78]
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DrawTextW]
movzx eax, byte [ebp + 0x458624]
sub esp, 0x14
jmp 0x41e0cf
mov eax, dword [0x42e2e4]
xor ecx, ecx
mov ebx, dword [0x452484]
cmp eax, 6
cmovge eax, ecx
imul eax, eax, 0x7c
add eax, 0x4568e0
movzx ecx, byte [eax + 0x6d]
and ecx, 0xf
cmp cl, 2
jne 0x41f1f0
test byte [eax + 0x70], 8
je 0x41f480
mov eax, edx
and eax, 0xf
test dl, 0x10
jne 0x41f4fb
mov dword [esp + 0xc], eax
test dl, dl
js 0x41f59c
add ebx, 0x992
jmp 0x41f1fa
imul edi, edi, 0xd4
mov eax, ecx
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebx
sub eax, edi
mov edi, dword [esp + 0x64]
mov dword [esp + 8], ebp
cdq
idiv esi
mov esi, dword [esp + 0x48]
mov dword [esp + 0x80], edi
lea eax, [esi + eax + 1]
mov esi, dword [esp + 0x3c]
sub edi, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x18], eax
mov edx, edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
add edx, 1
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edx
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_BitBlt]
sub esp, 0x24
jmp 0x41df6e
mov ecx, edx
sar ecx, 0x1f
shr ecx, 0x1e
add edx, ecx
and edx, 3
sub edx, ecx
cmp edx, edi
jne 0x41e0cf
mov ecx, 2
jmp 0x41e2fa
mov eax, dword [esp + 0x40]
mov ebx, dword [0x45a320]
mov dword [esp + 0x20], 0xcc0020
mov esi, dword [0x45a31c]
lea edi, [eax + 0x9f]
imul edi, ebx
mov eax, edi
cdq
idiv dword [0x42e2e8]
lea ecx, [eax + esi]
mov dword [esp + 0x48], eax
lea eax, [ebx + ebx*2]
lea eax, [eax + eax*8]
mov dword [esp + 0x78], ecx
add eax, edi
mov edi, dword [0x45a318]
mov dword [esp + 0x18], ecx
cdq
mov dword [esp + 4], ecx
idiv dword [0x42e2e8]
add esi, eax
mov dword [esp + 0x50], eax
imul eax, ebx, 0x20d
mov dword [esp + 0x80], esi
cdq
idiv dword [0x42e2e8]
lea ebp, [eax + edi]
mov esi, eax
imul eax, ebx, 0x22d
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], ebp
cdq
idiv dword [0x42e2e8]
add edi, eax
sub eax, esi
add eax, 1
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], edi
sub ebx, eax
mov eax, dword [esp + 0x34]
add ebx, 1
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x42e2e4]
xor edx, edx
mov ecx, dword [0x45ae0c]
sub esp, 0x24
cmp eax, 6
mov esi, dword [esp + 0x60]
cmovge eax, edx
movzx edx, byte [esi + 0xa]
imul eax, eax, 0x7c
add eax, 0x4568e0
movzx ebx, byte [eax + 0x6d]
and ebx, 0xf
cmp bl, 2
je 0x41f318
test dl, dl
je 0x41f290
xor eax, eax
cmp dword [esp + 0xd0], ecx
sete al
add eax, 1
mov edi, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], edi
call eax
sub esp, 8
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
lea ebx, [eax*8 + 0x458620]
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0xc], eax
mov eax, dword [0x452484]
lea esi, [esp + 0x88]
mov dword [esp + 4], 0x28
add eax, 0x918
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0041b720
lea eax, [esp + 0x78]
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.USER32.dll_DrawTextW]
movzx edx, byte [ebx + 0xa]
sub esp, 0x14
jmp 0x41f29d
mov eax, dword [esp + 0x40]
mov ebx, dword [0x45a31c]
mov dword [esp + 0x20], 0xcc0020
lea esi, [eax + 0x71]
imul esi, dword [0x45a320]
mov eax, esi
cdq
idiv dword [0x42e2e8]
lea edi, [eax + ebx]
mov dword [esp + 0x50], eax
imul eax, dword [0x45a320], 0xa3
mov dword [esp + 0x78], edi
mov dword [esp + 0x18], edi
mov dword [esp + 4], edi
add eax, esi
mov esi, dword [0x45a318]
cdq
idiv dword [0x42e2e8]
add ebx, eax
mov ecx, eax
imul eax, dword [0x45a320], 0x19e
mov dword [esp + 0x80], ebx
cdq
idiv dword [0x42e2e8]
lea ebp, [eax + esi]
mov ebx, eax
imul eax, dword [0x45a320], 0x1be
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], ebp
cdq
idiv dword [0x42e2e8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
add esi, eax
sub eax, ebx
add eax, 1
mov dword [esp + 0x84], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
sub ecx, eax
mov eax, dword [esp + 0x34]
add ecx, 1
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_BitBlt]
sub esp, 0x24
mov esi, dword [esp + 0x48]
mov edi, dword [esi + 0x18]
mov ebp, dword [esi + 0x1c]
mov esi, 0xcccccccd
mov ecx, edi
mov dword [esp + 0x48], edi
add ecx, ebp
mov dword [esp + 0x4c], ebp
adc ecx, 0
xor ebx, ebx
mov eax, ecx
mul esi
mov eax, edx
and edx, 0xfffffffc
shr eax, 2
add edx, eax
mov eax, edi
sub ecx, edx
mov edx, ebp
sub eax, ecx
sbb edx, ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov ebx, 0xa
imul ecx, edx, 0xcccccccd
mov dword [esp + 0x54], edx
imul edx, dword [esp + 0x50], 0xcccccccc
add ecx, edx
mul esi
add edx, ecx
shrd eax, edx, 1
shr edx, 1
imul ecx, edx, 0xa
mul ebx
mov ebx, ebp
add edx, ecx
mov ecx, edi
sub ecx, eax
mov eax, 4
sbb ebx, edx
cmp eax, ecx
mov eax, 0
sbb eax, ebx
jae 0x41e756
add edi, 0xa
adc ebp, 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebp
mov edi, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
mov ecx, edi
mov eax, edi
shrd ecx, ebp, 0x14
and eax, 0xfffff
and ecx, 0xfffff
add ecx, eax
mov eax, ebp
shr eax, 8
and eax, 0xfffff
add ecx, eax
mov eax, ebp
shr eax, 0x1c
add ecx, eax
mov eax, 0x51eb851f
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
mov edx, ebp
lea eax, [eax + eax*4]
sub ecx, eax
mov eax, edi
mov edi, 0xc28f5c29
sub eax, ecx
sbb edx, ebx
imul ebp, edx, 0xc28f5c29
imul edx, eax, 0x8f5c28f5
add ebp, edx
mul edi
mov esi, eax
mov edi, edx
and eax, 3
mov edx, 0x19
mul edx
add edi, ebp
xor ebp, ebp
add edx, ebp
add ecx, eax
mov eax, esi
mov ebp, 0xcccccccd
adc ebx, edx
shrd eax, edi, 2
mov edx, edi
mov dword [esp + 0x50], eax
mov eax, ecx
shr edx, 2
add eax, ebx
mov dword [esp + 0x54], edx
mov esi, eax
adc esi, 0
xor edi, edi
mov eax, esi
mul ebp
mov eax, edx
and edx, 0xfffffffc
shr eax, 2
add edx, eax
sub esi, edx
sub ecx, esi
mov esi, dword [esp + 0x48]
sbb ebx, edi
imul eax, ecx, 0xcccccccc
mov edi, dword [esp + 0x4c]
imul ebx, ebx, 0xcccccccd
add ebx, eax
mov eax, ecx
mul ebp
mov ebp, dword [0x452484]
add edx, ebx
shrd eax, edx, 1
shr edx, 1
add eax, 0x30
adc edx, 0
mov dword [esp + 0x58], eax
xor ebx, ebx
mov eax, 0x1869f
cmp eax, esi
mov eax, ebx
mov dword [esp + 0x5c], edx
sbb eax, edi
jae 0x41f3f0
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], 0x186a0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0042d3d0
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x64], eax
shrd esi, edi, 0x14
mov edi, dword [esp + 0x6c]
mov eax, esi
and ecx, 0xfffff
and eax, 0xfffff
shr edi, 8
lea esi, [ecx + eax]
mov eax, edi
mov edi, dword [esp + 0x6c]
and eax, 0xfffff
add esi, eax
shr edi, 0x1c
mov eax, 0x51eb851f
add esi, edi
xor edi, edi
mul esi
shr edx, 3
lea eax, [edx + edx*4]
mov edx, dword [esp + 0x6c]
lea eax, [eax + eax*4]
sub esi, eax
mov eax, dword [esp + 0x68]
sub eax, esi
sbb edx, edi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov edi, 0xc28f5c29
imul ecx, edx, 0xc28f5c29
imul edx, dword [esp + 0x50], 0x8f5c28f5
add ecx, edx
mul edi
add edx, ecx
mov esi, eax
mov ecx, dword [esp + 0x4c]
mov eax, 0x5f5e0ff
shrd esi, edx, 2
mov edi, edx
mov edx, dword [esp + 0x48]
shr edi, 2
mov dword [esp + 0x50], esi
cmp eax, edx
mov dword [esp + 0x54], edi
sbb ebx, ecx
jae 0x41f240
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], 0x5f5e100
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0042d3d0
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], 0x186a0
mov ebx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0042d2b0
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x88]
mov dword [esp + 0x10], eax
lea eax, [ebp + 0x968]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x28
mov dword [esp], ebx
call fcn.0041b720
lea eax, [esp + 0x78]
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DrawTextW]
sub esp, 0x14
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0xd0]
shl ecx, 3
mov eax, dword [ecx + 0x458638]
mov edx, dword [ecx + 0x45863c]
mov dword [ecx + 0x4584b8], eax
mov dword [ecx + 0x4584bc], edx
jmp 0x41daa0
mov eax, dword [esp + 0x40]
mov ebx, dword [0x45a31c]
mov dword [esp + 0x20], 0xcc0020
lea esi, [eax + 0x71]
imul esi, dword [0x45a320]
mov eax, esi
cdq
idiv dword [0x42e2e8]
lea edi, [eax + ebx]
mov dword [esp + 0x50], eax
imul eax, dword [0x45a320], 0x75
mov dword [esp + 0x78], edi
mov dword [esp + 0x18], edi
mov dword [esp + 4], edi
add eax, esi
mov esi, dword [0x45a318]
cdq
idiv dword [0x42e2e8]
add ebx, eax
mov ecx, eax
imul eax, dword [0x45a320], 0x179
mov dword [esp + 0x80], ebx
cdq
idiv dword [0x42e2e8]
lea ebp, [eax + esi]
mov ebx, eax
imul eax, dword [0x45a320], 0x198
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], ebp
cdq
idiv dword [0x42e2e8]
add esi, eax
sub eax, ebx
add eax, 1
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], esi
sub ecx, eax
mov eax, dword [esp + 0x34]
add ecx, 1
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_BitBlt]
sub esp, 0x24
mov edi, dword [esp + 0x48]
mov ecx, dword [edi + 0x14]
cmp ecx, 0x3e7
ja 0x41f158
mov eax, dword [0x452484]
lea ebx, [esp + 0x88]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0x28
add eax, 0x86a
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0041b720
lea eax, [esp + 0x78]
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DrawTextW]
sub esp, 0x14
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
shl eax, 3
mov edx, dword [eax + 0x458634]
mov dword [eax + 0x4584b4], edx
jmp 0x41d907
mov esi, dword [esp + 0x40]
mov ecx, dword [0x45a320]
mov dword [esp + 0x20], 0xcc0020
lea edi, [esi + 0x107]
mov esi, dword [0x45a31c]
imul edi, ecx
mov eax, edi
cdq
idiv dword [0x42e2e8]
lea ebx, [eax + esi]
mov dword [esp + 0x58], eax
lea eax, [ecx + ecx*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x50], ebx
add eax, edi
mov dword [esp + 0x78], ebx
mov edi, dword [0x45a318]
cdq
idiv dword [0x42e2e8]
add esi, eax
mov ebx, eax
imul eax, ecx, 0x154
mov dword [esp + 0x80], esi
cdq
idiv dword [0x42e2e8]
lea ebp, [eax + edi]
mov esi, eax
imul eax, ecx, 0x174
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ecx
cdq
mov dword [esp + 8], ebp
idiv dword [0x42e2e8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 0x14], edx
add edi, eax
sub eax, esi
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
add eax, 1
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp], edi
sub ebx, eax
add ebx, 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x50], esi
call esi
mov ecx, dword [0x452484]
sub esp, 0x24
mov eax, dword [esp + 0x48]
lea ebx, [esp + 0x88]
movzx eax, byte [eax + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], 0x28
mov dword [esp + 0xc], eax
lea eax, [ecx + 0x920]
mov dword [esp + 8], eax
call fcn.0041b720
lea ecx, [esp + 0x78]
mov dword [esp], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
call dword [sym.imp.USER32.dll_DrawTextW]
sub esp, 0x14
mov dword [esp + 0x34], edi
mov dword [esp], edi
mov dword [esp + 4], 0x50b0f0
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov ecx, dword [0x45a320]
mov ebp, dword [0x42e2e8]
sub esp, 8
mov ebx, dword [0x45a31c]
mov edx, dword [esp + 0x40]
lea edi, [edx + 0x64]
imul edi, ecx
mov eax, edi
cdq
idiv ebp
lea esi, [eax + ebx]
mov dword [esp + 0x58], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*2]
mov dword [esp + 0x78], esi
cdq
idiv ebp
add ebx, eax
mov dword [esp + 0x64], eax
imul eax, ecx, 0x151
mov dword [esp + 0x80], ebx
mov ebx, dword [0x45a318]
cdq
idiv ebp
lea edi, [ebx + eax + 1]
imul eax, ecx, 0x20a
cdq
idiv ebp
lea ecx, [eax + ebx]
mov ebx, dword [esp + 0x48]
mov eax, 0x51eb851f
mov ebp, ecx
mov dword [esp + 0x84], ecx
movzx ebx, byte [ebx + 0xc]
sub ebp, edi
imul ebx, ebp
imul ebx
sar ebx, 0x1f
sar edx, 5
sub edx, ebx
mov dword [esp + 0x7c], edx
je 0x41f1a0
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
sub ecx, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x7c], ecx
sub ecx, edi
add esi, 1
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x34]
sub ebx, eax
mov dword [esp + 0x10], ecx
mov eax, ebx
mov dword [esp + 0x18], esi
sub eax, 1
mov dword [esp + 4], esi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0xc], eax
mov dword [esp], edi
call esi
sub esp, 0x24
add dword [esp + 0x78], 1
mov dword [esp], 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
sub esp, 4
mov dword [esp + 8], eax
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.USER32.dll_FillRect]
sub esp, 0xc
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
shl eax, 3
movzx edx, byte [eax + 0x45862c]
mov byte [eax + 0x4584ac], dl
jmp 0x41d8dd
lea esi, [ebp + 0x71]
mov ebx, dword [0x45a31c]
mov dword [esp + 0x20], 0xcc0020
imul esi, dword [0x45a320]
mov eax, esi
cdq
idiv dword [0x42e2e8]
lea edi, [eax + ebx]
mov dword [esp + 0x58], eax
imul eax, dword [0x45a320], 0x75
mov dword [esp + 0x78], edi
mov dword [esp + 0x18], edi
mov dword [esp + 4], edi
mov edi, dword [esp + 0x34]
add eax, esi
mov esi, dword [0x45a318]
cdq
mov dword [esp], edi
idiv dword [0x42e2e8]
add ebx, eax
mov ecx, eax
imul eax, dword [0x45a320], 0x154
mov dword [esp + 0x80], ebx
cdq
idiv dword [0x42e2e8]
lea ebp, [eax + esi]
mov ebx, eax
imul eax, dword [0x45a320], 0x174
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 8], ebp
cdq
idiv dword [0x42e2e8]
add esi, eax
sub eax, ebx
add eax, 1
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], esi
sub ecx, eax
add ecx, 1
mov dword [esp + 0xc], ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, 0x3e7
sub esp, 0x24
mov ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ecx + 4]
cmp edx, eax
mov edx, 0
sbb edx, ecx
jb 0x41f0f8
mov dword [esp + 0xc], eax
mov eax, dword [0x452484]
lea ebx, [esp + 0x88]
mov dword [esp + 4], 0x28
add eax, 0x86a
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0041b720
lea eax, [esp + 0x78]
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DrawTextW]
sub esp, 0x14
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0xd0]
shl ecx, 3
mov eax, dword [ecx + 0x458640]
mov edx, dword [ecx + 0x458644]
mov dword [ecx + 0x4584c0], eax
mov dword [ecx + 0x4584c4], edx
jmp 0x41d8b2
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
xor ebp, ebp
add eax, dword [esp + 0xd0]
mov dword [esp + 0x60], ebp
lea edi, [ebx + 0x70]
lea esi, [eax*8]
lea eax, [ebx + 0x142]
mov ebp, edi
mov dword [esp + 0x48], eax
jmp 0x41efa6
mov ebx, dword [0x45ae10]
mov eax, 0x2aaaaaab
imul ebx
mov eax, ebx
sar eax, 0x1f
sub edx, eax
cmp edx, dword [esp + 0xd0]
je 0x41f2f0
mov byte [esi + 0x4584a4], cl
mov eax, dword [esp + 0x48]
add ebp, 0x23
add dword [esp + 0x60], 1
add esi, 1
cmp ebp, eax
je 0x41e0e7
movzx eax, byte [esi + 0x458624]
cmp byte [esi + 0x4584a4], al
je 0x41ef8f
mov ebx, dword [0x45a320]
mov eax, ebp
mov edi, dword [0x45a31c]
mov dword [esp + 0x20], 0xcc0020
imul eax, ebx
cdq
idiv dword [0x42e2e8]
mov ecx, eax
add edi, eax
lea eax, [ebp + 0x21]
imul eax, ebx
mov ebx, dword [0x45a31c]
mov dword [esp + 0x78], edi
mov dword [esp + 0x18], edi
mov dword [esp + 4], edi
cdq
idiv dword [0x42e2e8]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x84]
add ebx, eax
sub eax, ecx
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x7c]
add eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
sub edx, ebx
mov dword [esp + 0x1c], ebx
add edx, 1
mov dword [esp + 8], ebx
mov dword [esp + 0x10], edx
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_BitBlt]
movzx ecx, byte [esi + 0x458624]
sub esp, 0x24
test cl, cl
je 0x41ef68
mov ecx, dword [0x45ae10]
mov eax, 0x2aaaaaab
imul ecx
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, 1
cmp edx, dword [esp + 0xd0]
je 0x41f430
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
call eax
movzx eax, byte [esi + 0x458624]
sub esp, 8
test al, al
jne 0x41f2b8
xor edx, edx
lea edi, [esp + 0x88]
mov dword [esp + 0x88], 0x200020
mov word [esp + 0x8c], dx
mov eax, dword [esp + 0x34]
lea ebx, [esp + 0x78]
mov dword [esp + 4], edi
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DrawTextW]
sub esp, 0x14
cmp dword [esp + 0x60], 5
je 0x41f450
movzx ecx, byte [esi + 0x458624]
jmp 0x41ef89
lea edx, [esp + 0x68]
mov dword [esp], eax
lea ebx, [esp + 0x88]
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0x3e8
mov dword [esp + 0xc], 0
mov dword [esp + 4], ecx
call fcn.0042d3d0
mov edx, dword [esp + 0x68]
mov dword [esp + 4], 0x28
mov dword [esp + 0xc], eax
mov eax, dword [0x452484]
mov dword [esp + 0x10], edx
add eax, 0x8e6
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0041b720
jmp 0x41eeda
mov eax, 0x10624dd3
lea ebx, [esp + 0x88]
mov dword [esp + 4], 0x28
mul ecx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 0xc], edx
sub ecx, eax
mov eax, dword [0x452484]
mov dword [esp + 0x10], ecx
add eax, 0x8e6
mov dword [esp + 8], eax
call fcn.0041b720
jmp 0x41eb0f
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x58]
add esi, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], esi
sub eax, ebx
mov dword [esp + 0x10], ebp
sub eax, 1
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, dword [esp + 0x50]
call eax
sub esp, 0x24
jmp 0x41edaf
mov dword [esp + 0xc], edx
add ebx, 0x918
mov dword [esp + 8], ebx
lea ebx, [esp + 0x88]
mov dword [esp + 4], 0x28
mov dword [esp], ebx
call fcn.0041b720
jmp 0x41e335
cdq
xor ecx, ecx
shr edx, 0x1e
add eax, edx
and eax, 3
sub eax, edx
cmp edi, eax
sete cl
add ecx, 1
jmp 0x41e2fa
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
mov dword [esp + 4], 0x28
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x950]
mov dword [esp + 0x10], ebx
lea ebx, [esp + 0x88]
mov dword [esp + 0x14], ecx
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.0041b720
jmp 0x41e9b6
cmp dword [esp + 0xd0], ecx
je 0x41f560
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
mov byte [eax*8 + 0x4584aa], dl
jmp 0x41e112
mov dword [esp + 0xc], eax
mov eax, dword [0x452484]
lea edi, [esp + 0x88]
mov dword [esp + 4], 0x28
add eax, 0x918
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.0041b720
jmp 0x41f0b2
mov eax, dword [esp + 0xd0]
lea eax, [eax + eax*2]
add eax, eax
sub ebx, eax
mov eax, dword [esp + 0x60]
cmp ebx, eax
jne 0x41ef89
mov eax, 2
jmp 0x41f073
test byte [eax + 0x70], 8
je 0x41f498
test dl, 0x10
jne 0x41f570
cmp dword [esp + 0xd0], ecx
jne 0x41f29d
mov eax, 2
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
call eax
xor edx, edx
sub esp, 8
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
movzx eax, byte [eax*8 + 0x45862a]
test al, 0x10
je 0x41f379
mov ecx, eax
and ecx, 0xf
je 0x41f379
movzx ecx, cl
test al, 0xc
cmove edx, ecx
mov eax, dword [0x452484]
lea ebx, [esp + 0x88]
mov dword [esp + 0xc], edx
mov dword [esp + 4], 0x28
add eax, 0x918
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.0041b720
lea eax, [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], 0x26
mov dword [esp + 8], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DrawTextW]
sub esp, 0x14
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
movzx edx, byte [eax*8 + 0x45862a]
jmp 0x41f29d
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
lea ebx, [esp + 0x88]
mov dword [esp + 4], 0x28
mov dword [esp], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x944]
mov dword [esp + 8], eax
call fcn.0041b720
jmp 0x41e9b6
mov eax, dword [esp + 0xd0]
lea eax, [eax + eax*2]
add eax, eax
sub ecx, eax
xor eax, eax
cmp dword [esp + 0x60], ecx
sete al
add eax, 1
jmp 0x41f073
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
shl eax, 3
cmp byte [eax + 0x458629], 0
jne 0x41f508
mov byte [eax + 0x4584a9], 0
jmp 0x41e0e7
movzx eax, dl
cmp dl, 0xa
ja 0x41f4f8
mov dword [esp + 0xc], eax
jmp 0x41e3bf
cmp dl, 0xa
ja 0x41f588
cmp dword [esp + 0xd0], ecx
jne 0x41f29d
mov eax, 2
mov edi, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], edi
call eax
sub esp, 8
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0xd0]
lea ebx, [eax*8 + 0x458620]
movzx eax, byte [ebx + 0xa]
mov edx, eax
sub eax, 0xa
cmp dl, 0xa
mov edx, 0
cmovbe eax, edx
jmp 0x41e5a1
sub eax, 0xa
mov dword [esp + 0xc], eax
jmp 0x41f1f4
cmp byte [0x456673], 0
je 0x41f0e9
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 1
mov dword [esp], edi
call eax
mov eax, dword [0x452484]
sub esp, 8
add eax, 0x73c
mov dword [esp + 0x10], 0x26
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.USER32.dll_DrawTextW]
sub esp, 0x14
jmp 0x41f0e9
mov eax, 2
jmp 0x41e577
xor eax, eax
cmp dword [esp + 0xd0], ecx
sete al
add eax, 1
jmp 0x41f33d
xor eax, eax
cmp dword [esp + 0xd0], ecx
sete al
add eax, 1
jmp 0x41f4b3
add ebx, 0x98a
jmp 0x41f1fa