Function at 0x417ba0
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [ecx + 0x3a84]
sub esp, 0x24
test al, al
jne 0x417bcb
push 0x437724
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
lea eax, [esp + 0x18]
push 0x431328
push eax
call sub.MSVCRT.dll__CxxThrowException
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
xor eax, eax
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
shl eax, 0x18
inc esi
push edi
shl edx, 0x10
or eax, edx
inc esi
xor edx, edx
mov edi, dword [ecx + 0x3a8c]
mov dh, byte [esi]
mov ebp, dword [ecx + 0x3a90]
or eax, edx
inc esi
xor edx, edx
xor ebx, ebx
mov dl, byte [esi]
or eax, edx
mov edx, dword [ecx + 0x3a88]
xor eax, edx
inc esi
mov dword [esp + 0x14], eax
xor eax, eax
mov al, byte [esi]
xor edx, edx
mov dl, byte [esi + 1]
shl eax, 0x18
inc esi
shl edx, 0x10
or eax, edx
inc esi
xor edx, edx
mov dh, byte [esi]
or eax, edx
inc esi
xor edx, edx
mov dl, byte [esi]
or eax, edx
inc esi
xor eax, edi
xor edx, edx
mov dword [esp + 0x18], eax
xor eax, eax
mov al, byte [esi]
mov dl, byte [esi + 1]
shl eax, 0x18
inc esi
shl edx, 0x10
or eax, edx
inc esi
xor edx, edx
mov dh, byte [esi]
or eax, edx
inc esi
xor edx, edx
mov dl, byte [esi]
or eax, edx
inc esi
xor edx, edx
xor eax, ebp
mov dl, byte [esi]
mov dword [esp + 0x1c], eax
mov edi, edx
xor edx, edx
mov dl, byte [esi + 1]
shl edi, 0x18
inc esi
shl edx, 0x10
mov bh, byte [esi + 1]
or edi, edx
mov bl, byte [esi + 2]
inc esi
or ebx, edi
mov edi, dword [ecx + 0x3a94]
xor ebx, edi
mov edx, dword [ecx + 0x3e50]
mov dword [esp + 0x10], ebx
cmp edx, 1
mov dword [esp + 0x24], edx
jle 0x417ddf
lea esi, [ecx + 0x3ab0]
dec edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x20], edx
xor edx, edx
mov dl, bh
xor ebx, ebx
mov bl, byte [esp + 0x1e]
mov esi, dword [ecx + edx*4 + 0x1204]
mov edx, dword [ecx + ebx*4 + 0xe04]
xor esi, edx
xor edx, edx
mov dl, byte [esp + 0x1b]
mov ebp, dword [ecx + edx*4 + 0xa04]
mov edx, dword [esp + 0x14]
mov edi, edx
xor esi, ebp
and edi, 0xff
mov ebp, dword [ecx + edi*4 + 0x1604]
mov edi, dword [esp + 0x38]
xor esi, ebp
mov ebx, dword [edi - 4]
xor esi, ebx
xor ebx, ebx
mov bl, dh
xor edx, edx
mov dl, byte [esp + 0x12]
mov edi, dword [ecx + ebx*4 + 0x1204]
mov ebp, dword [ecx + edx*4 + 0xe04]
xor edx, edx
mov dl, byte [esp + 0x1f]
xor edi, ebp
mov ebx, dword [ecx + edx*4 + 0xa04]
mov edx, dword [esp + 0x18]
xor edi, ebx
mov ebx, edx
and ebx, 0xff
mov ebp, dword [ecx + ebx*4 + 0x1604]
mov ebx, dword [esp + 0x38]
xor edi, ebp
mov ebp, dword [ebx]
xor ebx, ebx
mov bl, dh
xor edx, edx
mov dl, byte [esp + 0x16]
xor edi, ebp
mov ebp, dword [ecx + ebx*4 + 0x1204]
mov ebx, dword [ecx + edx*4 + 0xe04]
xor edx, edx
mov dl, byte [esp + 0x13]
xor ebp, ebx
mov ebx, dword [ecx + edx*4 + 0xa04]
mov edx, eax
and edx, 0xff
xor ebp, ebx
mov ebx, dword [ecx + edx*4 + 0x1604]
mov edx, dword [esp + 0x38]
xor ebp, ebx
mov ebx, dword [edx + 4]
add edx, 0x20
xor ebp, ebx
xor ebx, ebx
mov bl, ah
xor eax, eax
mov al, byte [esp + 0x1a]
mov dword [esp + 0x38], edx
mov ebx, dword [ecx + ebx*4 + 0x1204]
mov dword [esp + 0x18], esi
xor ebx, dword [ecx + eax*4 + 0xe04]
xor eax, eax
mov al, byte [esp + 0x17]
xor ebx, dword [ecx + eax*4 + 0xa04]
mov eax, dword [esp + 0x10]
and eax, 0xff
xor ebx, dword [ecx + eax*4 + 0x1604]
mov eax, dword [edx - 0x28]
mov edx, dword [esp + 0x20]
xor ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
mov ebx, ebp
dec edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], edx
jne 0x417ca7
mov edx, dword [esp + 0x24]
shl edx, 5
mov esi, dword [edx + ecx + 0x3a88]
lea edi, [edx + ecx + 0x3a88]
xor edx, edx
mov ebx, esi
mov dl, byte [esp + 0x17]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x3c]
mov dl, byte [edx + ecx + 0x804]
sar ebx, 0x18
xor dl, bl
mov ebx, dword [esp + 0x38]
mov byte [esi], dl
xor edx, edx
mov dl, byte [esp + 0x1a]
sar ebx, 0x10
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov ebx, dword [esp + 0x38]
mov byte [esi + 1], dl
xor edx, edx
mov dl, ah
sar ebx, 8
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov bl, byte [esp + 0x38]
mov byte [esi + 2], dl
mov edx, dword [esp + 0x10]
and edx, 0xff
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov byte [esi + 3], dl
mov ebp, dword [edi + 4]
xor edx, edx
mov ebx, ebp
mov dl, byte [esp + 0x1b]
mov dword [esp + 0x38], ebp
sar ebx, 0x18
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov ebx, ebp
mov byte [esi + 4], dl
xor edx, edx
mov dl, byte [esp + 0x1e]
sar ebx, 0x10
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov ebx, ebp
mov byte [esi + 5], dl
xor edx, edx
mov dl, byte [esp + 0x11]
sar ebx, 8
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov bl, byte [esp + 0x38]
mov byte [esi + 6], dl
mov edx, dword [esp + 0x14]
and edx, 0xff
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov byte [esi + 7], dl
mov ebp, dword [edi + 8]
xor edx, edx
mov ebx, ebp
mov dl, byte [esp + 0x1f]
mov dword [esp + 0x38], ebp
sar ebx, 0x18
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov ebx, ebp
mov byte [esi + 8], dl
xor edx, edx
mov dl, byte [esp + 0x12]
sar ebx, 0x10
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov ebx, ebp
mov byte [esi + 9], dl
xor edx, edx
mov dl, byte [esp + 0x15]
sar ebx, 8
mov dl, byte [edx + ecx + 0x804]
and eax, 0xff
xor dl, bl
mov bl, byte [esp + 0x38]
mov byte [esi + 0xa], dl
mov edx, dword [esp + 0x18]
and edx, 0xff
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov byte [esi + 0xb], dl
mov edi, dword [edi + 0xc]
xor edx, edx
mov ebx, edi
mov dl, byte [esp + 0x13]
mov dword [esp + 0x38], edi
sar ebx, 0x18
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov ebx, edi
mov byte [esi + 0xc], dl
xor edx, edx
mov dl, byte [esp + 0x16]
sar ebx, 0x10
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov ebx, edi
mov byte [esi + 0xd], dl
xor edx, edx
mov dl, byte [esp + 0x19]
pop edi
sar ebx, 8
mov dl, byte [edx + ecx + 0x804]
xor dl, bl
mov byte [esi + 0xe], dl
mov al, byte [eax + ecx + 0x804]
xor al, byte [esp + 0x34]
mov byte [esi + 0xf], al
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8