Function at 0x411c3b
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x47015e
call fcn.0046f99c
mov eax, 0x10310
call fcn.0045c7e0
push ebx
push esi
push edi
push 0x31
xor ebx, ebx
pop ecx
inc ebx
mov dword [ebp - 4], ebx
mov esi, 0x477a88
mov edi, 0x4a4d20
push 0x477bb8
rep movsd dword es:[edi], dword [esi]
call fcn.00430300
pop ecx
cmp eax, 0xffffffff
jne 0x411ca0
call fcn.00412013
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x78]
call fcn.00449745
mov dword [ebp - 0x78], vtable.std::runtime_error.0
push 0x4914a0
lea eax, [ebp - 0x78]
push eax
call fcn.004535e6
push 0x477cc0
call fcn.0042ed70
pop ecx
cmp eax, 0xffffffff
jne 0x411cde
call fcn.00412078
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00449745
mov dword [ebp - 0x9c], vtable.std::runtime_error.0
push 0x4914a0
lea eax, [ebp - 0x9c]
jmp 0x411c9a
xor eax, eax
lea edi, [ebp - 0x14]
stosb byte es:[edi], al
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
test byte [0x4a493c], bl
jne 0x411d07
or dword [0x4a493c], ebx
mov dword [0x4a0a88], 0x1d4d445f
mov byte [0x4a0a8c], 0x2c
xor eax, eax
mov cl, byte [eax + 0x4a0a88]
xor cl, 0x2c
mov byte [eax + 0x4a0b9c], cl
inc eax
cmp eax, 5
jb 0x411d09
push 0x4a0b9c
call fcn.00430420
pop ecx
test eax, eax
jns 0x411d55
call fcn.004120dd
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x60]
call fcn.00449745
mov dword [ebp - 0x60], vtable.std::runtime_error.0
push 0x4914a0
lea eax, [ebp - 0x60]
jmp 0x411c9a
xor eax, eax
lea edi, [ebp - 0x13]
stosb byte es:[edi], al
lea edi, [ebp - 0x11]
stosb byte es:[edi], al
test byte [0x4a4934], bl
jne 0x411d77
or dword [0x4a4934], ebx
mov dword [0x4a0aa4], 0x2c5f494d
xor eax, eax
mov cl, byte [eax + 0x4a0aa4]
xor cl, 0x2c
mov byte [eax + 0x4a0bb8], cl
inc eax
cmp eax, 4
jb 0x411d79
push 0x4a0bb8
call fcn.00430370
mov ebx, eax
pop ecx
test ebx, ebx
jns 0x411dd0
call fcn.00412142
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00449745
mov dword [ebp - 0xa8], vtable.std::runtime_error.0
push 0x4914a0
lea eax, [ebp - 0xa8]
jmp 0x411c9a
push 0x10258
lea eax, [ebp - 0x1031c]
push 0
push eax
call fcn.0044cca0
mov eax, dword [0x49a914]
mov dword [ebp - 0x2e], eax
mov al, byte [0x49a8f3]
mov esi, 0x49a900
lea edi, [ebp - 0x34]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x49a8f4
lea edi, [ebp - 0x31]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x2c], al
mov eax, dword [0x49a904]
mov esi, 0x49a90c
lea edi, [ebp - 0x2b]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x28], eax
push 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1031c]
push ebx
push eax
call fcn.00430190
add esp, 0x1c
push 0x10
test eax, eax
pop ecx
lea eax, [ebp - 0x34]
je 0x411e73
mov byte [eax], 0
inc eax
dec ecx
jne 0x411e3b
call fcn.004121a7
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x90]
call fcn.00449745
mov dword [ebp - 0x90], vtable.std::runtime_error.0
push 0x4914a0
lea eax, [ebp - 0x90]
jmp 0x411c9a
mov byte [eax], 0
inc eax
dec ecx
jne 0x411e73
mov ax, word [0x49a924]
mov word [ebp - 0x24], ax
mov ax, word [0x49a910]
mov esi, 0x49a918
lea edi, [ebp - 0x22]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov word [ebp - 0x1d], ax
mov esi, 0x49a920
lea edi, [ebp - 0x1b]
push 0xc
lea eax, [ebp - 0x24]
movsw word es:[edi], word [esi]
push eax
lea eax, [ebp - 0x1031c]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0042fbb0
add esp, 0xc
push 0xc
test eax, eax
pop ecx
lea eax, [ebp - 0x24]
je 0x411efa
mov byte [eax], 0
inc eax
dec ecx
jne 0x411ec2
call fcn.004121fb
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00449745
mov dword [ebp - 0xb4], vtable.std::runtime_error.0
push 0x4914a0
lea eax, [ebp - 0xb4]
jmp 0x411c9a
mov byte [eax], 0
inc eax
dec ecx
jne 0x411efa
push 9
call fcn.0041224f
push eax
lea eax, [ebp - 0x1031c]
push eax
call fcn.0042f660
add esp, 0xc
test eax, eax
je 0x411f44
call fcn.00412299
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00449745
mov dword [ebp - 0x6c], vtable.std::runtime_error.0
push 0x4914a0
lea eax, [ebp - 0x6c]
jmp 0x411c9a
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x411f50
call fcn.004493ae
mov eax, dword [ecx]
lea edx, [ebp - 0x1031c]
push edx
call dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x1031c]
push eax
mov dword [ebp - 0x18], 0x10
call fcn.0042f940
add esp, 0xc
test eax, eax
je 0x411fb2
call fcn.004122ed
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x84]
call fcn.00449745
mov dword [ebp - 0x84], vtable.std::runtime_error.0
push 0x4914a0
lea eax, [ebp - 0x84]
jmp 0x411c9a
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x411f4b
push dword [ebp - 0x18]
mov eax, dword [ecx]
lea edx, [ebp - 0xc4]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x411fe8
mov eax, dword [ecx]
lea edx, [ebp + 8]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call dword [eax + 0xc]
and dword [ebp + 0x18], 0
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x412004
mov eax, dword [ecx]
lea edx, [ebp + 0x20]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret