Function at 0x438fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov eax, ecx
mov byte [ebp - 0x15], dl
push edi
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0x68]
movaps xmm0, xmmword [0x51dd20]
lea edi, [ebp - 0x48]
sub edi, eax
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x68], xmm0
sar edi, 2
movaps xmm0, xmmword [0x51dd40]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x58], xmm0
test edi, edi
je 0x439084
push edi
lea ecx, [ebp - 0x24]
call fcn.0045fff0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x48]
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x68]
push esi
call fcn.00402d10
lea eax, [esi + edi*4]
mov dword [ebp - 0x14], 0
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0045f060
mov byte [ebp - 4], 3
lea eax, [ebp - 0x68]
movaps xmm0, xmmword [0x51dd00]
lea edi, [ebp - 0x48]
sub edi, eax
mov dword [ebp - 0x78], 0
movups xmmword [ebp - 0x68], xmm0
sar edi, 2
movaps xmm0, xmmword [0x51dd30]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x58], xmm0
test edi, edi
je 0x439100
push edi
lea ecx, [ebp - 0x78]
call fcn.0045fff0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x48]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x68]
push esi
call fcn.00402d10
lea eax, [esi + edi*4]
mov dword [ebp - 0x14], 0
add esp, 4
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0045f060
mov byte [ebp - 4], 5
cmp byte [ebp - 0x15], 0
mov dword [ebp - 0x10], 0x5a
je 0x43913e
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x24], ecx
push eax
cmovne ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x24]
call fcn.00457550
mov ecx, dword [ebp - 0x74]
cmp dword [ebp - 0x78], ecx
mov dword [ebp - 0x10], 0x71
cmovne ecx, dword [ebp - 0x78]
mov dword [ebp - 0x74], ecx
mov esi, dword [ebp + 0x18]
mov edx, 0
shr esi, 1
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
je 0x439194
push esi
lea ecx, [ebp - 0x30]
call fcn.0045fff0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x30]
lea esi, [ecx + esi*4]
mov edx, esi
call fcn.0046a150
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0045f060
mov esi, dword [ebp - 0x34]
xor edx, edx
mov byte [ebp - 4], 7
xor edi, edi
test esi, esi
je 0x4392a0
lea esi, [edi + 1]
mov byte [ebp - 4], 8
xorps xmm0, xmm0
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x60], xmm0
cmp eax, edx
jb 0x4395ff
sub eax, edx
mov ecx, 2
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
add eax, edx
lea ecx, [ebp - 0x60]
push eax
call fcn.00402aa0
or esi, 2
mov dword [ebp - 0x38], esi
call fcn.004d69ff
cmp dword [ebp - 0x4c], 0x10
lea esi, [ebp - 0x60]
mov dword [ebp - 0x6c], eax
cmovae esi, dword [ebp - 0x60]
mov dword [eax], 0
lea eax, [ebp - 0x3c]
push 0x10
push eax
push esi
call fcn.004d352b
add esp, 0xc
mov edx, eax
cmp esi, dword [ebp - 0x3c]
je 0x439613
mov eax, dword [ebp - 0x6c]
cmp dword [eax], 0x22
je 0x439609
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x38]
and esi, 0xfffffffd
mov dword [ecx + edi*4], edx
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x439284
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x439277
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439604
push ecx
push edx
call fcn.004b2a81
mov edx, dword [ebp - 0x14]
add esp, 8
inc edi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edi, dword [ebp - 0x34]
jl 0x4391a5
mov esi, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x30]
sar esi, 2
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
test esi, esi
je 0x43930d
push esi
lea ecx, [ebp - 0x90]
call fcn.0045fff0
lea eax, [ebp - 0x90]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x90]
lea esi, [ecx + esi*4]
mov edx, esi
call fcn.0046a150
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0045f060
mov byte [ebp - 4], 0xa
mov esi, 1
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x90]
xor ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov edi, dword [ebp - 0x2c]
mov eax, edi
mov edx, dword [ebp - 0x30]
sub eax, edx
sar eax, 2
cmp eax, esi
jbe 0x43935e
nop word [eax + eax]
mov eax, dword [ebp - 0x90]
mov ecx, dword [edx + esi*4]
mov dword [eax + esi*4], ecx
inc esi
mov edi, dword [ebp - 0x2c]
mov eax, edi
mov edx, dword [ebp - 0x30]
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x439340
mov esi, dword [ebp - 0x20]
mov ecx, edi
mov eax, esi
sub ecx, edx
sub eax, dword [ebp - 0x24]
sar ecx, 2
sar eax, 2
cmp ecx, eax
jbe 0x43943b
nop dword [eax + eax]
sub esi, dword [ebp - 0x24]
sar esi, 2
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
add esi, esi
je 0x4393d5
push esi
lea ecx, [ebp - 0x54]
call fcn.0045fff0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x54]
lea esi, [ecx + esi*4]
mov edx, esi
call fcn.0046a150
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10]
call fcn.0045f060
mov byte [ebp - 4], 0xc
push dword [ebp - 0x54]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
call fcn.00402d10
mov edx, dword [ebp - 0x20]
mov esi, edx
mov ecx, dword [ebp - 0x24]
sub esi, ecx
mov eax, dword [ebp - 0x54]
sar esi, 2
lea eax, [eax + esi*4]
push eax
call fcn.00402d10
add esp, 8
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x24]
push eax
call fcn.00457550
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x54]
call fcn.004554e0
mov edi, dword [ebp - 0x2c]
mov ecx, edi
mov esi, dword [ebp - 0x20]
mov eax, esi
mov edx, dword [ebp - 0x30]
sub ecx, edx
sub eax, dword [ebp - 0x24]
sar ecx, 2
sar eax, 2
cmp ecx, eax
ja 0x439380
sub edi, edx
mov dword [ebp - 0x48], 0
sar edi, 2
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
sub edi, 1
je 0x439490
push edi
lea ecx, [ebp - 0x48]
call fcn.0045fff0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x48]
lea esi, [ecx + edi*4]
mov edx, esi
call fcn.0046a150
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x10]
call fcn.0045f060
mov byte [ebp - 4], 0xe
mov edx, 1
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub eax, esi
sar eax, 2
cmp eax, edx
jbe 0x4394d1
nop dword [eax + eax]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4 - 4]
mov eax, dword [ebp - 0x48]
xor ecx, dword [esi + edx*4]
mov dword [eax + edx*4 - 4], ecx
inc edx
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub eax, esi
sar eax, 2
cmp edx, eax
jb 0x4394b0
mov esi, dword [ebp - 0x44]
sub esi, dword [ebp - 0x48]
sar esi, 2
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
test esi, esi
je 0x439535
push esi
lea ecx, [ebp - 0x84]
call fcn.0045fff0
lea eax, [ebp - 0x84]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x84]
lea esi, [ecx + esi*4]
mov edx, esi
call fcn.0046a150
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x10]
call fcn.0045f060
mov byte [ebp - 4], 0x10
xor esi, esi
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
sub eax, ecx
mov edi, dword [ebp - 0x94]
sar eax, 2
test eax, eax
je 0x439593
mov eax, dword [ebp - 0x90]
mov ecx, dword [ecx + esi*4]
sub ecx, dword [eax + esi*4]
mov eax, dword [ebp - 0x84]
jns 0x43956a
add ecx, 0xff
mov dword [eax + esi*4], ecx
mov ecx, edi
mov eax, dword [ebp - 0x84]
mov al, byte [eax + esi*4]
mov byte [ebp - 0x6c], al
push dword [ebp - 0x6c]
call fcn.00402910
mov eax, dword [ebp - 0x44]
inc esi
mov ecx, dword [ebp - 0x48]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x439550
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x84]
call fcn.004554e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x48]
call fcn.004554e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
call fcn.004554e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.004554e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
call fcn.004554e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004554e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402890
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0045b4e0
call fcn.004cdf70
push str.stoi_argument_out_of_range
call fcn.004b0c70
push str.invalid_stoi_argument
call fcn.004b0c30
int3