Function at 0x4390b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov eax, dword [ecx + 4]
test eax, eax
je 0x4390d2
cmp eax, 2
je 0x43914b
jmp 0x439279
push 0xbbf966b4
push dword [0x44ac2c]
call fcn.0043e240
add esp, 8
test eax, eax
je 0x43910f
mov ecx, dword [esi]
test ecx, ecx
je 0x43913f
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x43911b
cmp dword [esp], 0
je 0x43911b
mov dword [esi + 4], 3
jmp 0x43913f
mov dword [esi + 4], 1
jmp 0x439279
lea eax, [esp + 0x40]
push eax
call fcn.0043ea40
add esp, 4
test al, al
je 0x43913f
mov eax, dword [esp + 0x40]
mov ecx, 2
cmp eax, 3
je 0x43913c
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x439279
mov dword [esp], 0x6a0f6d0a
mov dword [esp + 4], 0x197b6b19
mov dword [esp + 8], 0x72727709
mov dword [esp + 0xc], 0xe270905
mov dword [esp + 0x10], 0x76787a05
mov byte [esp + 0x14], 0xec
mov dword [esp + 0x15], 0
mov byte [esp + 0x19], 0
xor edi, edi
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ecx]
mov eax, edi
and eax, 0x14
mov edx, ecx
xor edx, 0xd9fddbaa
add edx, eax
mov eax, edx
and eax, ebx
add eax, eax
sub edx, eax
add edx, ebx
mov eax, edx
xor eax, 0x53
and edx, 0x2c
add edx, edx
sub edx, eax
inc dl
mov byte [esp + ecx], dl
inc ecx
add edi, 2
cmp ecx, 0x1a
jne 0x439190
mov ebx, esp
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.0043d2b0
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0x30
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x40]
push 6
push eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.0043d380
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov esi, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
jmp 0x439340
mov dword [esp + 0x40], 0x393a3bd8
mov word [esp + 0x44], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
mov edx, eax
and edx, 5
xor edx, 0xb5
mov ecx, eax
and ecx, 2
sub ecx, edx
xor cl, byte [esp + eax + 0x40]
add cl, 0x89
mov byte [esp + eax + 0x40], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 6
jb 0x439290
mov ebx, dword [esp + 0x40]
mov edi, dword [esi]
mov dword [esp], 0x94959a9b
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xa6
xor cl, byte [esp + eax]
add cl, 0xc2
mov byte [esp + eax], cl
inc eax
cmp eax, 7
jne 0x4392e0
mov eax, dword [esp]
mov ecx, dword [0x44ac38]
test ecx, ecx
je 0x43931e
xor edx, edx
mov esi, dword [0x44ac3c]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xba50defc
je 0x43934a
inc edx
cmp ecx, edx
jne 0x439310
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov dword [edx + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edi
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov edx, dword [esi + edx*8 + 4]
cmp edx, eax
je 0x43931e
mov eax, esp
push 0
push dword [esp + 0x3c]
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x50]
push 6
push edx
push dword [0x44ac40]
call fcn.0043b650
add esp, 0x24
mov ecx, dword [esp]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x43931e