Function at 0x4066a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43b5c0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x44d7b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0041496d
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 0x20]
push 1
push 0x80
push eax
call edi
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x80
push ecx
call edi
push 0x405c40
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push str.http:__rxjhbabybbs
lea ecx, [esp + 0x18]
call fcn.004041c0
mov dword [esp + 0x40], 0
call fcn.00405df0
lea edx, [esp + 0x20]
push edx
mov ebx, str.Config_mf.ini
call fcn.00406ed0
add esp, 4
mov byte [esp + 0x40], 1
mov eax, dword [eax]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00404650
push eax
lea ecx, [esp + 0x24]
push 0x443538
mov bl, 2
push ecx
mov byte [esp + 0x54], bl
call fcn.00406db0
add esp, 0x14
mov byte [esp + 0x40], 3
mov eax, dword [eax]
push eax
push 0x41f
mov ecx, esi
call fcn.00411462
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40679c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4067c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4067e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str.rxbb_mf.dll
call fcn.00406ed0
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 4
push eax
call edi
mov ebx, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406825
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x4068bc
lea ecx, [esp + 0x20]
push ecx
mov ebx, str.Data.dll
call fcn.00406ed0
mov eax, dword [eax]
add esp, 4
push eax
call edi
mov ebx, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406866
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x4068b1
lea ecx, [esp + 0x20]
push ecx
mov ebx, str.Data1.dll
call fcn.00406ed0
mov eax, dword [eax]
add esp, 4
push eax
call edi
mov ebx, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4068a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
jne 0x4068d3
push ebx
push 0x10
push 0x443568
jmp 0x4068c5
push 0
push 0x10
push 0x443580
jmp 0x4068c5
push 0
push 0x10
push 0x443598
call fcn.0040f612
push 1
mov ecx, esi
call fcn.00414559
lea ecx, [esp + 0x20]
push ecx
mov ebx, str.test
call fcn.00406ed0
mov eax, dword [eax]
add esp, 4
push eax
call edi
mov edi, eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40690c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x40691a
mov dword [0x451a20], 1
mov ecx, dword [esi + 0x20]
push 0
push 0x1f4
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push esi
call fcn.00406560
lea edx, [esp + 0x24]
push edx
call fcn.004184ee
push 0
mov byte [esp + 0x44], 4
mov eax, dword [esi + 0x12c]
push 3
push eax
call dword [sym.imp.USER32.dll_EnableScrollBar]
push str..com_g
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00404bf0
add esp, 0xc
push str.g_gg.h
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x4c], 5
call fcn.00404bf0
add esp, 0xc
push 0x4435bc
push eax
lea ecx, [esp + 0x28]
mov bl, 6
push ecx
mov byte [esp + 0x4c], bl
call fcn.00404bf0
add esp, 0xc
lea edx, [esp + 0x24]
push edx
mov ecx, edx
push ecx
push edx
push ecx
mov byte [esp + 0x50], 7
mov eax, dword [eax]
push eax
push 0x44ed2c
push 0
push 0
push 1
push 0x68
add esi, 0x10c
push esi
call fcn.0041162e
mov byte [esp + 0x6c], bl
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x2c
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4069ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406a37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406a6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret