Function at 0x417f90
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [ecx + 0x3a84]
sub esp, 0x24
test al, al
jne 0x417fbb
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
mov ebp, dword [ecx + 0x3c68]
shl edx, 0x10
or eax, edx
inc esi
xor edx, edx
push edi
mov dh, byte [esi]
xor ebx, ebx
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 ebp, dword [ecx + 0x3c6c]
mov edi, edx
xor edx, edx
mov dl, byte [esi + 1]
mov dword [esp + 0x1c], eax
shl edi, 0x18
inc esi
shl edx, 0x10
or edi, edx
inc esi
xor edx, edx
mov dh, byte [esi]
or edi, edx
inc esi
xor edx, edx
mov dl, byte [esi]
or edi, edx
inc esi
xor edx, edx
xor edi, ebp
mov dl, byte [esi]
mov dword [esp + 0x14], edi
mov edi, edx
xor edx, edx
mov dl, byte [esi + 1]
mov ebp, dword [ecx + 0x3c70]
shl edi, 0x18
inc esi
shl edx, 0x10
or edi, edx
inc esi
xor edx, edx
mov dh, byte [esi]
or edi, edx
inc esi
xor edx, edx
mov dl, byte [esi]
or edi, edx
inc esi
xor edx, edx
xor edi, ebp
mov dl, byte [esi]
mov dword [esp + 0x10], edi
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 + 0x3c74]
mov edx, dword [ecx + 0x3e50]
xor ebx, edi
cmp edx, 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], edx
jle 0x4181cf
lea esi, [ecx + 0x3c90]
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 + 0x2204]
xor edx, edx
mov dl, byte [esp + 0x17]
mov ebp, dword [ecx + ebx*4 + 0x1e04]
xor esi, ebp
mov edi, dword [ecx + edx*4 + 0x1a04]
mov edx, dword [esp + 0x10]
and edx, 0xff
xor esi, edi
mov ebx, dword [ecx + edx*4 + 0x2604]
mov edx, dword [esp + 0x38]
xor esi, ebx
xor ebx, ebx
mov edi, dword [edx - 4]
mov bl, byte [esp + 0x16]
xor edx, edx
xor esi, edi
mov dl, ah
and eax, 0xff
mov edi, dword [ecx + edx*4 + 0x2204]
mov edx, dword [ecx + ebx*4 + 0x1e04]
xor edi, edx
xor edx, edx
mov dl, byte [esp + 0x13]
mov ebp, dword [ecx + edx*4 + 0x1a04]
mov edx, dword [esp + 0x18]
and edx, 0xff
xor edi, ebp
mov ebp, dword [ecx + edx*4 + 0x2604]
mov edx, dword [esp + 0x38]
xor edi, ebp
mov ebx, dword [edx]
xor edx, edx
mov dl, byte [esp + 0x15]
xor edi, ebx
xor ebx, ebx
mov bl, byte [esp + 0x12]
mov ebp, dword [ecx + edx*4 + 0x2204]
mov edx, dword [ecx + ebx*4 + 0x1e04]
xor ebp, edx
xor edx, edx
mov dl, byte [esp + 0x1b]
mov ebx, dword [ecx + edx*4 + 0x1a04]
mov edx, dword [ecx + eax*4 + 0x2604]
xor ebp, ebx
xor ebx, ebx
xor ebp, edx
mov edx, dword [esp + 0x38]
mov bl, byte [esp + 0x1a]
mov eax, dword [edx + 4]
add edx, 0x20
xor ebp, eax
xor eax, eax
mov al, byte [esp + 0x11]
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], edi
mov eax, dword [ecx + eax*4 + 0x2204]
xor eax, dword [ecx + ebx*4 + 0x1e04]
xor ebx, ebx
mov bl, byte [esp + 0x1f]
xor eax, dword [ecx + ebx*4 + 0x1a04]
mov ebx, dword [esp + 0x14]
and ebx, 0xff
mov dword [esp + 0x14], esi
xor eax, dword [ecx + ebx*4 + 0x2604]
mov ebx, dword [edx - 0x28]
mov edx, dword [esp + 0x20]
xor eax, ebx
mov ebx, ebp
dec edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edx
jne 0x41809b
mov edx, dword [esp + 0x24]
shl edx, 5
mov esi, dword [edx + ecx + 0x3c68]
lea edi, [edx + ecx + 0x3c68]
xor edx, edx
mov ebx, esi
mov dl, byte [esp + 0x1f]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x3c]
mov dl, byte [edx + ecx + 0x904]
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 + 0x904]
xor dl, bl
mov ebx, dword [esp + 0x38]
mov byte [esi + 1], dl
xor edx, edx
mov dl, byte [esp + 0x11]
sar ebx, 8
mov dl, byte [edx + ecx + 0x904]
xor dl, bl
mov bl, byte [esp + 0x38]
mov byte [esi + 2], dl
mov edx, dword [esp + 0x14]
and edx, 0xff
mov dl, byte [edx + ecx + 0x904]
xor dl, bl
mov byte [esi + 3], dl
mov ebp, dword [edi + 4]
xor edx, edx
mov ebx, ebp
mov dl, byte [esp + 0x17]
mov dword [esp + 0x38], ebp
sar ebx, 0x18
mov dl, byte [edx + ecx + 0x904]
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 + 0x904]
xor dl, bl
mov ebx, ebp
mov ebp, dword [esp + 0x10]
mov byte [esi + 5], dl
xor edx, edx
and ebp, 0xff
mov dl, byte [esp + 0x19]
sar ebx, 8
mov dl, byte [edx + ecx + 0x904]
xor dl, bl
mov bl, byte [esp + 0x38]
mov byte [esi + 6], dl
mov dl, byte [ecx + ebp + 0x904]
xor dl, bl
mov byte [esi + 7], dl
mov ebp, dword [edi + 8]
xor edx, edx
mov ebx, ebp
mov dl, byte [esp + 0x13]
mov dword [esp + 0x38], ebp
sar ebx, 0x18
mov dl, byte [edx + ecx + 0x904]
xor dl, bl
mov ebx, ebp
mov byte [esi + 8], dl
xor edx, edx
mov dl, byte [esp + 0x16]
sar ebx, 0x10
mov dl, byte [edx + ecx + 0x904]
xor dl, bl
mov ebx, ebp
mov byte [esi + 9], dl
xor edx, edx
mov dl, ah
sar ebx, 8
mov dl, byte [edx + ecx + 0x904]
mov ebp, dword [esp + 0x18]
xor dl, bl
mov bl, byte [esp + 0x38]
and ebp, 0xff
mov byte [esi + 0xa], dl
and eax, 0xff
mov dl, byte [ecx + ebp + 0x904]
xor dl, bl
mov byte [esi + 0xb], dl
mov edi, dword [edi + 0xc]
xor edx, edx
mov ebx, edi
mov dl, byte [esp + 0x1b]
mov dword [esp + 0x38], edi
sar ebx, 0x18
mov dl, byte [edx + ecx + 0x904]
xor dl, bl
mov ebx, edi
mov byte [esi + 0xc], dl
xor edx, edx
mov dl, byte [esp + 0x12]
sar ebx, 0x10
mov dl, byte [edx + ecx + 0x904]
xor dl, bl
mov ebx, edi
mov byte [esi + 0xd], dl
xor edx, edx
mov dl, byte [esp + 0x15]
pop edi
sar ebx, 8
mov dl, byte [edx + ecx + 0x904]
xor dl, bl
mov byte [esi + 0xe], dl
mov al, byte [eax + ecx + 0x904]
xor al, byte [esp + 0x34]
mov byte [esi + 0xf], al
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8