Function at 0x4e0af0
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ff077
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8b0
mov eax, dword [0x540cc0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
push str.__CreateUploadSHellFromIniFile_____r_n
mov dword [esp + 0x8b8], eax
mov esi, ecx
call ebx
mov edi, dword [ebp + 8]
push edi
call ebx
push 0x5201d4
call ebx
lea ecx, [esp + 0x10]
call sub.MFC71.DLL_CFile::CFile
push 0
push 0x42
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x8d0], 0
call sub.MFC71.DLL_CFile::Open
test eax, eax
lea ecx, [esp + 0x10]
jne 0x4e0b7d
mov dword [esp + 0x8c4], 0xffffffff
call fcn.004f234e
xor eax, eax
jmp 0x4e0dbf
call sub.MFC71.DLL_CFile::GetLength
cmp eax, 0x441
jne 0x4e0c73
test edx, edx
jne 0x4e0c73
mov edi, dword [esi + 0x114]
xor eax, eax
mov ecx, 0x110
rep stosd dword es:[edi], eax
push edx
push edx
stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x1c]
call dword [eax + 0x30]
mov ecx, dword [esi + 0x114]
push 0x441
push ecx
lea ecx, [esp + 0x18]
call sub.MFC71.DLL_CFile::Read
push str.____Read_____r_n
call ebx
mov edx, dword [ebp + 8]
push edx
call ebx
push 0x5201d4
call ebx
xor edi, edi
mov edi, edi
mov eax, dword [esi + 0x114]
add eax, edi
push str.HTGAISASHIT
push eax
call fcn.004eace0
add edi, 8
add esp, 8
cmp edi, 0x440
jb 0x4e0be0
push str.____Decipher_____r_n
call ebx
mov ecx, dword [ebp + 8]
push ecx
call ebx
push 0x5201d4
call ebx
mov esi, dword [esi + 0x114]
mov ecx, 0x110
lea edi, [esp + 0x468]
rep movsd dword es:[edi], dword [esi]
push str.____memcpy_____r_n
movsb byte es:[edi], byte [esi]
call ebx
mov edx, dword [ebp + 8]
push edx
call ebx
push 0x5201d4
call ebx
push str.____UploadInfo_____r_n
call ebx
lea eax, [esp + 0x474]
push eax
call ebx
lea ecx, [esp + 0x578]
push ecx
call ebx
push 0x5201d4
call ebx
lea edx, [esp + 0x474]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4e0c8e
lea ecx, [esp + 0x10]
mov dword [esp + 0x8c4], 0xffffffff
call fcn.004f234e
xor eax, eax
jmp 0x4e0dbf
mov eax, dword [esp + 0x468]
test eax, eax
push 0x4a4
je 0x4e0d28
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x8c4], 1
je 0x4e0cc9
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.004dd9d0
mov ebx, eax
jmp 0x4e0ccb
xor ebx, ebx
mov ecx, 0x110
lea esi, [esp + 0x468]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x10]
mov ecx, 0x110
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x8a5]
mov eax, dword [esp + 0x470]
push edx
push eax
lea ecx, [esp + 0x580]
push ecx
lea edx, [esp + 0x480]
push edx
mov ecx, ebx
mov byte [esp + 0x8d4], 0
call fcn.004deec0
mov dword [ebx + 8], 9
jmp 0x4e0da9
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x8c4], 2
je 0x4e0d4f
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, eax
call fcn.004dd9d0
mov ebx, eax
jmp 0x4e0d51
xor ebx, ebx
mov ecx, 0x110
lea esi, [esp + 0x468]
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x10]
mov ecx, 0x110
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x8a5]
mov eax, dword [esp + 0x470]
push edx
push eax
lea ecx, [esp + 0x580]
push ecx
lea edx, [esp + 0x480]
push edx
mov ecx, ebx
mov byte [esp + 0x8d4], 0
call fcn.004deec0
mov dword [ebx + 8], 0xe
lea ecx, [esp + 0x10]
mov dword [esp + 0x8c4], 0xffffffff
call fcn.004f234e
mov eax, ebx
mov ecx, dword [esp + 0x8bc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8b4]
call fcn.004f2f91
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8