Function at 0x4174d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x499ffc
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5564a4]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564a4]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x2c], ebx
push ebx
lea ecx, [esp + 0x60]
mov dword [esp + 0xc0], 0
call fcn.004600aa
push 0x646464
push 2
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 1
call fcn.00460354
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xc0], 2
call fcn.00460298
mov ecx, dword [0x540dbc]
mov edx, dword [0x540db8]
push ecx
mov ecx, dword [0x540db0]
push edx
mov edx, dword [esp + 0x68]
mov esi, eax
mov eax, dword [0x540db4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
lea ecx, [esp + 0x60]
call fcn.00460298
mov edi, dword [0x540dbc]
sub edi, dword [0x540db4]
xor esi, esi
add edi, 2
lea ebp, [edi - 4]
test ebp, ebp
jbe 0x41768f
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
jne 0x4175b2
fldz
jmp 0x4175d1
mov eax, esi
test eax, eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jge 0x4175c6
fadd dword [0x4fcbd8]
lea ecx, [edi - 2]
mov dword [esp + 0x14], ecx
fidiv dword [esp + 0x14]
fstp dword [esp + 0x14]
lea ecx, [esp + 0x34]
fld dword [esp + 0x14]
fmul qword [0x4fcbd0]
fnstcw word [esp + 0x14]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx eax, byte [esp + 0x18]
mov edx, eax
shl edx, 8
fldcw word [esp + 0x14]
or edx, eax
shl edx, 8
or edx, eax
push edx
push 1
push 0
call fcn.00460354
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xc0], 3
call fcn.00460298
add esi, 1
push esi
push 1
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x3c], eax
call fcn.0045fc02
mov edx, dword [0x540db8]
push esi
add edx, 0xffffffff
push edx
lea ecx, [esp + 0x64]
call fcn.0045f845
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x30]
push eax
push ecx
call ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0xbc], 2
mov dword [esp + 0x34], vtable.CPen.0
call fcn.004019b0
cmp esi, ebp
jb 0x4175aa
mov ebx, dword [esp + 0x2c]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x60]
call fcn.00460298
mov esi, eax
mov eax, dword [0x540dc0]
push 0xa
add eax, 0xfffffffd
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x68]
call fcn.0045fc02
mov edx, dword [0x540dbc]
mov eax, dword [0x540dc0]
add edx, 0xfffffff6
push edx
add eax, 0xfffffffd
push eax
lea ecx, [esp + 0x64]
call fcn.0045f845
push 1
lea ecx, [esp + 0x60]
call fcn.0045f77c
push 0x1f1f1f
lea ecx, [esp + 0x60]
call fcn.0045f74d
push esi
lea ecx, [esp + 0x60]
call fcn.00460298
mov ecx, dword [ebx + 0x20]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.004601b2
push eax
lea ecx, [esp + 0x60]
call fcn.00460298
push 0x808080
lea ecx, [esp + 0x60]
mov edi, eax
call fcn.0045f7d8
mov ecx, dword [0x55865c]
push 0
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
test eax, eax
je 0x417777
push str.RF_online_Z
lea ecx, [esp + 0x24]
call fcn.00401d30
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x5c]
push ecx
push eax
mov eax, dword [edx + 0x5c]
push 0x19
push 0xa
lea ecx, [esp + 0x6c]
mov byte [esp + 0xcc], 4
call eax
mov eax, dword [esp + 0x20]
jmp 0x4177ab
push str.RF_online
lea ecx, [esp + 0x20]
call fcn.00401d30
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x5c]
push ecx
push eax
mov eax, dword [edx + 0x5c]
push 0x19
push 0xf
lea ecx, [esp + 0x6c]
mov byte [esp + 0xcc], 5
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0xbc], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4177cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xc0c0c0
lea ecx, [esp + 0x60]
call fcn.0045f7d8
mov ecx, dword [0x540dcc]
mov edx, dword [0x540dc8]
mov eax, dword [0x540dc4]
push ecx
mov ecx, dword [0x540dc0]
push edx
push eax
push ecx
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov esi, dword [esp + 0xc4]
mov eax, dword [esi - 0xc]
mov edx, dword [esp + 0x5c]
push 0x2015
lea ecx, [esp + 0x48]
push ecx
push eax
mov eax, dword [edx + 0x68]
push esi
lea ecx, [esp + 0x6c]
call eax
push edi
lea ecx, [esp + 0x60]
call fcn.00460298
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 1
mov dword [esp + 0x24], vtable.CPen.0
call fcn.004019b0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xbc], 0
call fcn.004600fe
lea eax, [esi - 0x10]
mov dword [esp + 0xbc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004752ab
add esp, 0xac
ret 4