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

Disassembly:
push 0xffffffffffffffff
push 0x46266c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x58], esi
mov eax, dword [edi + 4]
push ecx
push eax
mov dword [esp + 0x64], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 4]
lea edx, [esp + 0x40]
push edx
push eax
mov dword [esp + 0x2c0], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [edi + 0xa88], esi
je 0x41d5d3
mov ecx, dword [esp + 0x58]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ecx
call esi
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov dword [edi + 0xa8c], eax
mov eax, dword [esp + 0x4c]
sub eax, ebp
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
sub ecx, ebx
push eax
push ecx
push edx
call ebp
mov dword [edi + 0xa90], eax
push eax
mov eax, dword [edi + 0xa8c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
mov byte [esp + 0x2bc], 1
call ebx
test eax, eax
je 0x41d54b
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x58]
push ecx
call esi
mov edx, dword [esp + 0x58]
push 0x20
push 0x20
push edx
mov dword [edi + 0xa94], eax
call ebp
mov dword [edi + 0xa98], eax
push eax
mov eax, dword [edi + 0xa94]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
lea ecx, [esp + 0x18]
call fcn.00421780
mov ecx, dword [esp + 0x14]
push ecx
call ebx
test eax, eax
je 0x41d594
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0xa94]
mov edx, dword [edi + 0xa50]
push 1
push 0
push 0
push eax
push 0
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [esp + 0x14]
mov dword [edi + 0xa88], 0
test eax, eax
mov byte [esp + 0x2b8], 0
je 0x41d5d3
lea ecx, [esp + 0x14]
call fcn.00417940
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
sub eax, ecx
mov ecx, dword [esp + 0x48]
push 0xcc0020
push 0
push 0
sub ecx, ebp
lea esi, [edi + 0xa8c]
push edx
push eax
push ecx
mov eax, dword [esi]
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [edi + 0x143c]
test eax, eax
je 0x41d652
mov eax, dword [esi]
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
sub esp, 0x10
mov byte [esp + 0x2c8], 2
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [edi + 0x1438]
call fcn.0042dba0
mov edx, dword [esi]
push 1
push edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov edx, dword [edi + 0x7b4]
mov eax, dword [edi + 0xab0]
mov ecx, dword [edi + 0x7b0]
mov ebp, dword [edi + 0x7b8]
mov ebx, dword [sym.imp.GDI32.dll_SetBkColor]
add eax, edx
add ecx, edx
mov edx, dword [edi + 0x7bc]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
add edx, ebp
push 0xffffff
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
je 0x41d6c8
mov edx, dword [esi]
push 0
push 0
lea ecx, [esp + 0x24]
push 0
push ecx
push 2
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [esi]
push ebp
push eax
call ebx
mov ebx, dword [sym.imp.GDI32.dll_GetStockObject]
mov ebp, dword [esi]
push 0x13
call ebx
push eax
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
call ebp
mov eax, dword [esi]
push 0xe3d7cb
push eax
call dword [sym.imp.GDI32.dll_SetDCPenColor]
mov ecx, dword [esi]
push 0x12
mov dword [esp + 0x34], ecx
call ebx
mov edx, dword [esp + 0x30]
push eax
push edx
call ebp
mov eax, dword [esi]
push 0xf8fcf8
push eax
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
mov eax, dword [edi + 0x146c]
push eax
mov eax, dword [esi]
push eax
call ebp
mov dword [esp + 0x14], eax
mov ecx, dword [0x46f42c]
mov dword [esp + 0x10], ecx
mov eax, dword [edi + 0xa58]
mov byte [esp + 0x2b8], 4
cmp eax, 1
je 0x41d807
cmp eax, 2
je 0x41d807
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0xb0]
push 0x100
push eax
push 0xb1
call fcn.00408450
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x41d787
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x10]
push edx
call fcn.00407430
jmp 0x41d7d5
push 0x1ff
lea ecx, [esp + 0x14]
mov ebp, 0x200
call fcn.00407e80
test eax, eax
je 0x41d7ca
push ebp
push eax
push 0xb1
call fcn.00408450
mov ecx, ebp
sub ecx, eax
cmp ecx, 1
jg 0x41d7ca
add ebp, 0x100
lea ecx, [esp + 0x10]
lea edx, [ebp - 1]
push edx
call fcn.00407e80
test eax, eax
jne 0x41d79e
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00407f40
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x5f
mov dword [esp + 0x20], 0xaa
mov dword [esp + 0x24], 0x1ef
mov dword [esp + 0x28], 0xb9
mov ecx, dword [eax - 8]
push 0x24
lea edx, [esp + 0x20]
jmp 0x41d8c6
mov ecx, dword [esi]
push 0xff
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea edx, [esp + 0xb0]
push 0x100
push edx
push 0xb1
call fcn.00408450
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x41d84b
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x10]
push edx
call fcn.00407430
jmp 0x41d899
push 0x1ff
lea ecx, [esp + 0x14]
mov ebp, 0x200
call fcn.00407e80
test eax, eax
je 0x41d88e
push ebp
push eax
push 0xb1
call fcn.00408450
mov ecx, ebp
sub ecx, eax
cmp ecx, 1
jg 0x41d88e
add ebp, 0x100
lea ecx, [esp + 0x10]
lea edx, [ebp - 1]
push edx
call fcn.00407e80
test eax, eax
jne 0x41d862
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00407f40
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x5f
mov dword [esp + 0x20], 0xaa
mov dword [esp + 0x24], 0x1ef
mov dword [esp + 0x28], 0xb9
mov ecx, dword [eax - 8]
push 0x24
lea edx, [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
push edx
push ecx
push eax
mov eax, dword [esi]
push eax
call ebx
mov eax, dword [edi + 0xa5c]
cmp eax, 1
je 0x41d9ad
cmp eax, 2
je 0x41d9ad
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea edx, [esp + 0xb0]
push 0x100
push edx
push 0xb2
call fcn.00408450
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x41d92d
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x10]
push edx
call fcn.00407430
jmp 0x41d97b
push 0x1ff
lea ecx, [esp + 0x14]
mov ebp, 0x200
call fcn.00407e80
test eax, eax
je 0x41d970
push ebp
push eax
push 0xb2
call fcn.00408450
mov ecx, ebp
sub ecx, eax
cmp ecx, 1
jg 0x41d970
add ebp, 0x100
lea ecx, [esp + 0x10]
lea edx, [ebp - 1]
push edx
call fcn.00407e80
test eax, eax
jne 0x41d944
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00407f40
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x5f
mov dword [esp + 0x20], 0x6e
mov dword [esp + 0x24], 0x1ef
mov dword [esp + 0x28], 0x7d
mov ecx, dword [eax - 8]
push 0x24
lea edx, [esp + 0x20]
jmp 0x41da6c
mov ecx, dword [esi]
push 0xff
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea edx, [esp + 0xb0]
push 0x100
push edx
push 0xb2
call fcn.00408450
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x41d9f1
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x10]
push edx
call fcn.00407430
jmp 0x41da3f
push 0x1ff
lea ecx, [esp + 0x14]
mov ebp, 0x200
call fcn.00407e80
test eax, eax
je 0x41da34
push ebp
push eax
push 0xb2
call fcn.00408450
mov ecx, ebp
sub ecx, eax
cmp ecx, 1
jg 0x41da34
add ebp, 0x100
lea ecx, [esp + 0x10]
lea edx, [ebp - 1]
push edx
call fcn.00407e80
test eax, eax
jne 0x41da08
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00407f40
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x5f
mov dword [esp + 0x20], 0x6e
mov dword [esp + 0x24], 0x1ef
mov dword [esp + 0x28], 0x7d
mov ecx, dword [eax - 8]
push 0x24
lea edx, [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [esi]
push eax
call ebx
mov eax, dword [edi + 0xa60]
cmp eax, 1
je 0x41db4d
cmp eax, 2
je 0x41db4d
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea edx, [esp + 0xb0]
push 0x100
push edx
push 0xb3
call fcn.00408450
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x41dacd
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x10]
push edx
call fcn.00407430
jmp 0x41db1b
push 0x1ff
lea ecx, [esp + 0x14]
mov ebp, 0x200
call fcn.00407e80
test eax, eax
je 0x41db10
push ebp
push eax
push 0xb3
call fcn.00408450
mov ecx, ebp
sub ecx, eax
cmp ecx, 1
jg 0x41db10
add ebp, 0x100
lea ecx, [esp + 0x10]
lea edx, [ebp - 1]
push edx
call fcn.00407e80
test eax, eax
jne 0x41dae4
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00407f40
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x5f
mov dword [esp + 0x20], 0xe6
mov dword [esp + 0x24], 0x20d
mov dword [esp + 0x28], 0xf5
mov ecx, dword [eax - 8]
push 0x24
lea edx, [esp + 0x20]
jmp 0x41dc0c
mov ecx, dword [esi]
push 0xff
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea edx, [esp + 0xb0]
push 0x100
push edx
push 0xb3
call fcn.00408450
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x41db91
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x10]
push edx
call fcn.00407430
jmp 0x41dbdf
push 0x1ff
lea ecx, [esp + 0x14]
mov ebp, 0x200
call fcn.00407e80
test eax, eax
je 0x41dbd4
push ebp
push eax
push 0xb3
call fcn.00408450
mov ecx, ebp
sub ecx, eax
cmp ecx, 1
jg 0x41dbd4
add ebp, 0x100
lea ecx, [esp + 0x10]
lea edx, [ebp - 1]
push edx
call fcn.00407e80
test eax, eax
jne 0x41dba8
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00407f40
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0x5f
mov dword [esp + 0x20], 0xe6
mov dword [esp + 0x24], 0x20d
mov dword [esp + 0x28], 0xf5
mov ecx, dword [eax - 8]
push 0x24
lea edx, [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [esi]
push eax
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x10]
mov edx, dword [0x46f430]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41dc53
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41dc53
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004535f0
add esp, 4
mov eax, dword [esp + 0x14]
mov byte [esp + 0x2b8], 0
test eax, eax
je 0x41dc6c
lea ecx, [esp + 0x14]
call fcn.00417940
mov eax, dword [edi + 0x1470]
push eax
mov eax, dword [esi]
push eax
call ebp
mov dword [esp + 0x30], eax
mov ecx, dword [0x46f42c]
mov dword [esp + 0x54], ecx
mov edx, dword [esi]
push 0
push edx
mov byte [esp + 0x2c0], 6
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [edi + 0xa58], 1
jne 0x41e046
mov eax, dword [0x46f42c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea ebp, [edi + 0xadc]
lea eax, [esp + 0x2c]
push 3
push eax
mov ecx, ebp
mov byte [esp + 0x2c0], 9
call fcn.00421900
mov ebx, eax
mov eax, dword [ebx]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov byte [esp + 0x2b8], 0xa
je 0x41dd2f
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41dcfb
mov edx, dword [0x46f430]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41dd02
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41dd12
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004080a0
jmp 0x41dd2b
lea ecx, [esp + 0x18]
call fcn.004083e0
mov ebx, dword [ebx]
mov dword [esp + 0x18], ebx
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ebx, dword [0x46f430]
mov byte [esp + 0x2b8], 9
lea edx, [eax - 0xc]
cmp edx, ebx
je 0x41dd6a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41dd66
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
mov ecx, dword [esp + 0x18]
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ecx - 8]
cmp eax, 0xffffffff
jne 0x41dd85
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push eax
push ebx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x96
add eax, 0x96
mov dword [esp + 0x20], 0xc3
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0xd2
lea edx, [esp + 0x1c]
mov ecx, dword [eax - 8]
push 0x24
push edx
push ecx
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esi]
push 0xff
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebp]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [edx - 8]
lea edx, [esp + 0x2c]
add eax, 0xfffffff1
mov dword [esp + 0x1c], ecx
push eax
push 3
push edx
mov ecx, ebp
call fcn.00407500
mov ebx, eax
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0x2b8], 0xb
je 0x41de61
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41de2d
mov edx, dword [0x46f430]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41de34
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41de44
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x18]
call fcn.004080a0
jmp 0x41de5d
lea ecx, [esp + 0x10]
call fcn.004083e0
mov ebx, dword [ebx]
mov dword [esp + 0x10], ebx
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ebx, dword [0x46f430]
mov byte [esp + 0x2b8], 9
lea edx, [eax - 0xc]
cmp edx, ebx
je 0x41de9c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41de98
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
mov ebx, ecx
cmp eax, 0xffffffff
jne 0x41dead
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push eax
push ebx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
add ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], ebx
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [eax - 8]
lea edx, [esp + 0x1c]
push 0x24
push edx
push ecx
push eax
mov eax, dword [esi]
push eax
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x24]
push 0xc
mov dword [esp + 0x20], eax
add eax, 0xc8
mov dword [esp + 0x28], eax
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call fcn.00421a70
mov ebp, eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
mov byte [esp + 0x2b8], 0xc
je 0x41df6d
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41df3c
mov edx, dword [0x46f430]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41df43
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41df53
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004080a0
jmp 0x41df6d
lea ecx, [esp + 0x14]
call fcn.004083e0
mov ebp, dword [ebp]
mov dword [esp + 0x14], ebp
add ebp, 0xfffffff4
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x46f430]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41dfa0
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41dfa6
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
jmp 0x41dfa6
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push 0x24
push edx
mov eax, dword [ecx - 8]
push eax
mov eax, dword [esi]
push ecx
push eax
call ebx
mov eax, dword [esp + 0x14]
mov edx, dword [0x46f430]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41dfe6
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41dfe6
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
push eax
call fcn.004535f0
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x46f430]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41e011
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41e011
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004535f0
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x46f430]
mov byte [esp + 0x2b8], 6
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41e083
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x41e083
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.004535f0
add esp, 4
jmp 0x41e083
mov eax, dword [edi + 0xadc]
mov dword [esp + 0x1c], 0x5f
mov dword [esp + 0x20], 0xc3
mov dword [esp + 0x24], 0x1ef
mov dword [esp + 0x28], 0xd2
mov ecx, dword [eax - 8]
lea edx, [esp + 0x1c]
push 0x24
push edx
push ecx
push eax
mov eax, dword [esi]
push eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esi]
lea ecx, [esp + 0x1c]
push 0x24
push ecx
push 0
mov ebp, 0x96
push 0x47a15c
push edx
mov dword [esp + 0x30], 0x5f
mov dword [esp + 0x34], 0x87
mov dword [esp + 0x38], 0x1ef
mov dword [esp + 0x3c], ebp
call ebx
mov eax, dword [edi + 0xae0]
mov dword [esp + 0x1c], 0x5f
mov dword [esp + 0x20], 0x87
mov dword [esp + 0x24], 0x1ef
mov dword [esp + 0x28], ebp
mov ecx, dword [eax - 8]
lea edx, [esp + 0x1c]
push 0x24
push edx
push ecx
push eax
mov eax, dword [esi]
push eax
call ebx
mov eax, dword [edi + 0xa60]
cmp eax, 1
je 0x41e131
cmp eax, 2
je 0x41e131
mov ebx, dword [edi + 0xae4]
push 0x4024
push 0x10e
push 0x20d
mov ebp, dword [ebx - 8]
push 0xff
push 0x5f
lea ecx, [esp + 0x30]
call fcn.00421760
push eax
push ebp
push ebx
mov ecx, esi
call fcn.00421570
jmp 0x41e409
mov eax, dword [0x46f42c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x2c]
lea ebp, [edi + 0xae4]
push 4
push ecx
mov ecx, ebp
mov byte [esp + 0x2c0], 0xf
call fcn.00421900
mov ebx, eax
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov byte [esp + 0x2b8], 0x10
je 0x41e1ba
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41e186
mov edx, dword [0x46f430]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41e18d
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41e19d
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.004080a0
jmp 0x41e1b6
lea ecx, [esp + 0x10]
call fcn.004083e0
mov ebx, dword [ebx]
mov dword [esp + 0x10], ebx
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ebx, dword [0x46f430]
mov byte [esp + 0x2b8], 0xf
lea edx, [eax - 0xc]
cmp edx, ebx
je 0x41e1f5
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e1f1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
mov ecx, dword [esp + 0x10]
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ecx - 8]
cmp eax, 0xffffffff
jne 0x41e210
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push eax
push ebx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x96
add eax, 0x96
mov dword [esp + 0x20], 0xff
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], 0x10e
lea edx, [esp + 0x1c]
mov ecx, dword [eax - 8]
push 0x24
push edx
push ecx
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esi]
push 0xff
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebp]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [edx - 8]
lea edx, [esp + 0x2c]
add eax, 0xffffffde
mov dword [esp + 0x1c], ecx
push eax
push 4
push edx
mov ecx, ebp
call fcn.00407500
mov ebx, eax
mov eax, dword [ebx]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov byte [esp + 0x2b8], 0x11
je 0x41e2ec
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41e2b8
mov edx, dword [0x46f430]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41e2bf
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41e2cf
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x20]
call fcn.004080a0
jmp 0x41e2e8
lea ecx, [esp + 0x18]
call fcn.004083e0
mov ebx, dword [ebx]
mov dword [esp + 0x18], ebx
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov ebx, dword [0x46f430]
mov byte [esp + 0x2b8], 0xf
lea edx, [eax - 0xc]
cmp edx, ebx
je 0x41e327
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41e323
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
mov ebx, ecx
cmp eax, 0xffffffff
jne 0x41e338
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push eax
push ebx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
add ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [eax - 8]
lea edx, [esp + 0x1c]
push 0x24
push edx
push ecx
push eax
mov eax, dword [esi]
push eax
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x24]
push 0x1e
mov dword [esp + 0x20], eax
add eax, 0x186
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call fcn.00421a70
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2bc], 0x12
call fcn.00407360
lea ecx, [esp + 0x34]
mov byte [esp + 0x2b8], 0xf
call fcn.00408010
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push 0x24
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi]
push eax
call ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 0xe
call fcn.00408010
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b8], 0xd
call fcn.00408010
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b8], 6
call fcn.00408010
mov eax, dword [edi + 0x146c]
mov ecx, dword [esi]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call ebx
mov edx, dword [0x46f42c]
mov dword [esp + 0x50], edx
push 0xf3
lea ecx, [esp + 0x54]
mov byte [esp + 0x2bc], 0x13
call fcn.00407c70
push 0x16
push 0x163
push 5
push 0x1c
lea ecx, [esp + 0xb0]
call fcn.00421760
mov eax, dword [esp + 0x50]
lea edx, [esp + 0xa0]
push 0x24
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call fcn.00421570
mov eax, dword [esp + 0x30]
mov ecx, dword [esi]
push eax
push ecx
call ebx
lea ecx, [esp + 0x50]
mov byte [esp + 0x2b8], 6
call fcn.00408010
lea ecx, [esp + 0x54]
mov byte [esp + 0x2b8], 5
call fcn.00408010
lea ecx, [esp + 0x30]
mov byte [esp + 0x2b8], 0
call fcn.0040bc60
mov edx, dword [edi + 0xb1c]
mov ecx, dword [edi + 0xb18]
mov eax, dword [esi]
push edx
push ecx
push 0
push eax
mov ecx, edi
call fcn.00429ab0
mov edx, dword [edi + 0xb2c]
mov ecx, dword [edi + 0xb28]
mov eax, dword [esi]
push edx
push ecx
push 1
push eax
mov ecx, edi
call fcn.00429ab0
mov edx, dword [edi + 0xb3c]
mov ecx, dword [edi + 0xb38]
mov eax, dword [esi]
push edx
push ecx
push 2
push eax
mov ecx, edi
call fcn.00429ab0
mov esi, dword [esi]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push 0xcc0020
push 0
push 0
push esi
mov esi, dword [esp + 0x50]
sub edx, ebx
push edx
sub eax, esi
push eax
push 0
push 0
lea ecx, [esp + 0x78]
call fcn.00421530
lea ecx, [esp + 0x58]
mov dword [esp + 0x2b8], 0xffffffff
call fcn.00401a40
mov ecx, dword [esp + 0x2b0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2ac
ret 4