Function at 0x4039ff
Capabilities:
Check if file exists

Disassembly:
push 0xf8
mov eax, 0x484cbc
call fcn.0046908a
mov eax, dword [ebp + 8]
mov esi, ecx
xor edi, edi
push eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403a4d
push 0x10
push 0x4892c8
push 0x4899f4
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
call fcn.0046910d
ret
call fcn.00415599
test eax, eax
je 0x403ab4
push edi
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x98], 0xf
call fcn.00404bdf
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 4], edi
call fcn.004159f3
test eax, eax
setne byte [ebp - 0x81]
or dword [ebp - 4], 0xffffffff
pop ecx
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0xb0]
call fcn.0040488d
cmp byte [ebp - 0x81], 0
je 0x403b3d
push 0x30
push 0x4899d4
push 0x489a08
jmp 0x403a3e
call fcn.00414a5f
test eax, eax
je 0x403ace
push 0x30
push 0x4899d4
push 0x489a30
jmp 0x403a3e
lea ecx, [ebp - 0xb0]
call fcn.00414aea
cmp dword [eax + 0x18], 8
jb 0x403ae4
mov eax, dword [eax + 4]
jmp 0x403ae7
add eax, 4
push eax
call fcn.00411019
xor ebx, ebx
inc ebx
cmp edx, edi
ja 0x403b03
jb 0x403afb
cmp eax, 0xa
jae 0x403b03
mov byte [ebp - 0x81], bl
jmp 0x403b0a
mov byte [ebp - 0x81], 0
push edi
push ebx
lea esi, [ebp - 0xb0]
call fcn.0040498a
cmp byte [ebp - 0x81], 0
je 0x403b37
push 0x30
push 0x4899d4
push 0x489a4c
push dword [ebp - 0x8c]
jmp 0x403a3f
mov esi, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
mov edx, esi
call fcn.004035ef
test eax, eax
je 0x403a45
push dword [ebp - 0x88]
lea esi, [ebp - 0xb0]
call fcn.004045a2
mov eax, esi
push eax
lea eax, [ebp - 0xe8]
push eax
mov dword [ebp - 4], ebx
call fcn.004012d1
push eax
lea eax, [ebp - 0xcc]
push eax
mov byte [ebp - 4], 2
call fcn.00427cc1
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00419d83
add esp, 0x14
push edi
push ebx
lea ecx, [ebp - 0xcc]
call fcn.0040488d
push edi
push ebx
lea ecx, [ebp - 0xe8]
call fcn.0040488d
push edi
push ebx
mov byte [ebp - 4], 7
call fcn.0040498a
cmp dword [ebp - 0x68], 0x10
mov eax, dword [ebp - 0x7c]
jae 0x403bc9
lea eax, [ebp - 0x7c]
push eax
push str.importOfflineRule
push 0x32cc
push str.http:__127.0.0.1:_d_ppmessage_message_spath_s
lea esi, [ebp - 0x64]
call fcn.004124a8
add esp, 0x10
push 0xf
pop esi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
call fcn.00404bdf
mov byte [ebp - 4], 9
cmp dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x60]
jae 0x403c03
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
push ecx
push 0xbb8
push eax
call fcn.0040ba46
add esp, 0xc
test eax, eax
jne 0x403c58
push 0x10
push 0x4892c8
push 0x489ab0
push dword [ebp - 0x8c]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor esi, esi
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040488d
push edi
push ebx
lea ecx, [ebp - 0x64]
call fcn.0040488d
push edi
push ebx
lea ecx, [ebp - 0x80]
call fcn.0040488d
mov eax, esi
jmp 0x403a47
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x30], esi
call fcn.00404bdf
push edi
push edi
lea eax, [ebp - 0xb0]
call fcn.0041fc92
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x90], ebx
jae 0x403c8d
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push eax
call fcn.0042817a
add esp, 0x10
test al, al
je 0x403cba
mov byte [ebp - 0x81], bl
cmp dword [ebp - 0x88], edi
je 0x403cc1
mov byte [ebp - 0x81], 0
lea esi, [ebp - 0xb0]
mov dword [ebp - 4], 0xa
call fcn.0041eec5
cmp byte [ebp - 0x81], 0
je 0x403ced
push edi
push ebx
lea ecx, [ebp - 0x48]
call fcn.0040488d
mov esi, ebx
jmp 0x403c33
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0040124d
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x403d0a
mov eax, dword [eax + 4]
jmp 0x403d0d
add eax, 4
mov esi, dword [ebp - 0x8c]
push eax
push 0x489ac4
push 0x10
mov edi, 0x4892c8
call fcn.00411539
add esp, 0xc
push 0
push ebx
lea esi, [ebp - 0x104]
call fcn.0040498a
push 0
push ebx
lea ecx, [ebp - 0x48]
call fcn.0040488d
xor esi, esi
xor edi, edi
jmp 0x403c33