Function at 0x414260
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42ed31
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x54]
mov dword [esp + 0x1c], esi
call sub.mfc42.dll_CFile::CFile
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x9c], ebx
call sub.mfc42.dll_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 1
call sub.mfc42.dll_CString::CString_3
add esi, 0x7280
lea eax, [esp + 0x18]
push esi
push 0x4030d4
push eax
mov byte [esp + 0xa8], 2
call sub.mfc42.dll_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ebx
push ebx
push ecx
lea ecx, [esp + 0x60]
call sub.mfc42.dll_CFile::Open
test eax, eax
je 0x414528
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x65]
mov byte [esp + 0x64], bl
rep stosd dword es:[edi], eax
mov dword [esp + 0x49], eax
xor edx, edx
mov dword [esp + 0x4d], eax
mov dword [esp + 0x3d], edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x51], al
push 0x2d
mov dword [esp + 0x45], edx
mov eax, 1
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x44], bl
mov byte [esp + 0x4d], dl
mov byte [esp + 0x50], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call sub.mfc42.dll_CFile::Read
cmp eax, 0x2d
jne 0x41451a
xor eax, eax
mov cl, byte [esp + eax + 0x64]
mov dl, al
inc dl
xor cl, dl
mov byte [esp + eax + 0x64], cl
inc eax
cmp eax, 0x2d
jl 0x41434d
mov al, byte [esp + 0x90]
cmp al, 0x53
jne 0x414408
push 0x20
call sub.mfc42.dll_operatornew
mov esi, eax
add esp, 4
mov ecx, esi
neg ecx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x14], ebx
lea edx, [esp + ecx + 0x78]
lea edi, [esp + ecx + 0x64]
lea ebp, [esp + ecx + 0x6e]
mov dword [esp + 0x2c], edx
lea ecx, [esp + ecx + 0x3c]
mov edx, 0xa
mov bl, byte [edi + eax]
mov byte [eax], bl
mov bl, byte [eax + ebp]
mov byte [eax + 0xa], bl
mov ebx, dword [esp + 0x2c]
mov bl, byte [eax + ebx]
mov byte [eax + ecx], bl
inc eax
dec edx
jne 0x41439f
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
call sub.mfc42.dll_CString::operator_1
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.msvcrt.dll_atoi]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x24]
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x4143f8
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], esi
mov dword [edx + 0x71a0], esi
jmp 0x414501
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], esi
mov dword [eax + 0x1c], esi
jmp 0x414501
cmp al, 0x4e
jne 0x414501
push 0x431604
lea ecx, [esp + 0x14]
call sub.mfc42.dll_CString::operator_1
push 0x20
call sub.mfc42.dll_operatornew
mov esi, eax
add esp, 4
mov ecx, esi
neg ecx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
lea edx, [esp + ecx + 0x78]
lea edi, [esp + ecx + 0x64]
mov dword [esp + 0x2c], edx
lea edx, [esp + ecx + 0x48]
mov dword [esp + 0x30], edx
lea ebp, [esp + ecx + 0x6e]
lea edx, [esp + ecx + 0x82]
lea ecx, [esp + ecx + 0x3c]
mov dword [esp + 0x38], ecx
mov dword [esi + 0x14], ebx
mov dword [esp + 0x34], edx
mov ecx, 0xa
mov dl, byte [edi + eax]
mov ebx, dword [esp + 0x30]
mov byte [eax], dl
mov dl, byte [eax + ebp]
mov byte [eax + 0xa], dl
mov edx, dword [esp + 0x2c]
mov dl, byte [edx + eax]
mov byte [ebx + eax], dl
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov dl, byte [edx + eax]
mov byte [ebx + eax], dl
inc eax
dec ecx
jne 0x414467
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
call sub.mfc42.dll_CString::operator_1
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.msvcrt.dll_atoi]
push ecx
call edi
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esi + 0x18], eax
push 0x431604
call sub.mfc42.dll_CString::operator_1
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x10]
push edx
call sub.mfc42.dll_CString::operator_1
mov eax, dword [esp + 0x10]
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x28]
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x4144f6
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov dword [ecx + 0x719c], esi
jmp 0x4144fd
mov edx, dword [esp + 0x28]
mov dword [edx + 0x1c], esi
mov dword [esp + 0x28], esi
lea eax, [esp + 0x64]
push 0x2d
push eax
lea ecx, [esp + 0x5c]
call sub.mfc42.dll_CFile::Read
cmp eax, 0x2d
je 0x41434b
lea ecx, [esp + 0x54]
call sub.mfc42.dll_CFile::Close
jmp 0x414844
push 0x20
call sub.mfc42.dll_operatornew
mov ebp, eax
push 0x20
mov dword [esp + 0x3c], ebp
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x14], ebx
call sub.mfc42.dll_operatornew
mov esi, eax
add esp, 8
lea ecx, [esp + 0x14]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
call sub.mfc42.dll_CString::CString_3
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c], 3
call sub.mfc42.dll_CString::CString_3
push 0x4030cc
lea ecx, [esp + 0x14]
push 0x4019f0
push ecx
mov byte [esp + 0xa8], 4
call sub.mfc42.dll_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call sub.mfc42.dll_CString::GetBuffer
mov edi, ebp
mov cl, byte [eax]
inc eax
mov byte [edi], cl
inc edi
cmp cl, bl
jne 0x41459c
push 0x4030d0
lea eax, [esp + 0x14]
push 0x4019f0
push eax
call sub.mfc42.dll_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
push eax
call sub.mfc42.dll_CString::GetBuffer
lea edx, [ebp + 0xa]
mov dword [esp + 0x38], edx
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp cl, bl
jne 0x4145d5
push 0x4030cc
lea edx, [esp + 0x14]
push 0x4019f0
push edx
mov dword [ebp + 0x14], 0x3ff
call sub.mfc42.dll_CString::Format
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
call sub.mfc42.dll_CString::GetBuffer
mov edx, esi
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp cl, bl
jne 0x414610
push 0x4030d0
lea ecx, [esp + 0x14]
push 0x4019f0
push ecx
call sub.mfc42.dll_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call sub.mfc42.dll_CString::GetBuffer
lea edx, [esi + 0xa]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp cl, bl
jne 0x414645
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x14], 0x83
mov eax, dword [esp + 0x18]
push ebx
push 0x1002
push eax
lea ecx, [esp + 0x60]
call sub.mfc42.dll_CFile::Open
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x65]
mov byte [esp + 0x64], bl
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0x14]
xor ecx, ecx
mov dword [esp + 0x3d], ecx
push edx
lea eax, [esp + 0x18]
mov dword [esp + 0x45], ecx
push 0x401a14
push eax
mov byte [esp + 0x48], bl
mov byte [esp + 0x51], cl
call sub.mfc42.dll_CString::Format
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x48]
add esp, 0xc
sub edi, eax
mov cl, byte [eax]
mov byte [eax + edi], cl
inc eax
cmp cl, bl
jne 0x4146b4
lea ecx, [esp + 0x64]
xor eax, eax
sub ebp, ecx
mov ecx, dword [esp + 0x38]
lea edi, [esp + eax + 0x64]
inc eax
mov dl, byte [edi + ebp]
cmp eax, 0xa
mov byte [edi], dl
mov dl, byte [ecx + eax - 1]
mov cl, byte [esp + eax + 0x3b]
mov byte [edi + 0xa], dl
mov byte [esp + eax + 0x77], cl
jl 0x4146c6
mov byte [esp + 0x90], 0x53
xor eax, eax
mov cl, byte [esp + eax + 0x64]
mov dl, al
inc dl
xor cl, dl
mov byte [esp + eax + 0x64], cl
inc eax
cmp eax, 0x2d
jl 0x4146f2
lea eax, [esp + 0x64]
push 0x2d
push eax
lea ecx, [esp + 0x5c]
call sub.mfc42.dll_CFile::Write
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
mov ecx, 0x30303030
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
stosb byte es:[edi], al
mov eax, dword [esi + 0x18]
mov edx, ecx
mov word [esp + 0x50], cx
mov dword [esp + 0x3c], edx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], edx
push 0x401a14
push ecx
mov word [esp + 0x50], dx
call sub.mfc42.dll_CString::Format
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x20]
push edx
push 0x401a14
push eax
call sub.mfc42.dll_CString::Format
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x60]
add esp, 0x18
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
cmp cl, bl
jne 0x414778
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x3c]
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
cmp cl, bl
jne 0x41478c
mov ebp, esi
lea ecx, [esp + 0x64]
xor eax, eax
sub ebp, ecx
lea edi, [esp + eax + 0x64]
inc eax
cmp eax, 0xa
mov dl, byte [edi + ebp]
mov byte [edi], dl
mov cl, byte [esi + eax + 9]
mov dl, byte [esp + eax + 0x47]
mov byte [edi + 0xa], cl
mov cl, byte [esp + eax + 0x3b]
mov byte [esp + eax + 0x77], dl
mov byte [esp + eax + 0x81], cl
jl 0x4147a0
mov byte [esp + 0x90], 0x4e
xor eax, eax
mov cl, byte [esp + eax + 0x64]
mov dl, al
inc dl
xor cl, dl
mov byte [esp + eax + 0x64], cl
inc eax
cmp eax, 0x2d
jl 0x4147d3
lea eax, [esp + 0x64]
push 0x2d
push eax
lea ecx, [esp + 0x5c]
call sub.mfc42.dll_CFile::Write
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x54]
stosb byte es:[edi], al
call sub.mfc42.dll_CFile::Close
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x9c], 3
mov dword [eax + 0x71a0], ecx
lea ecx, [esp + 0x20]
mov dword [eax + 0x719c], esi
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c], 2
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 1
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], bl
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x54]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0042dd2e
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret