Function at 0x43378b
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xf0
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xf8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x100]
xor ebx, ebx
push edi
push ebx
push 0x4795bd6d
mov edi, ecx
mov dword [esp + 0x24], esi
push 0x7cd9d2e6
push 0x2c11972e
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], eax
mov dword [eax], ebx
call fcn.00401ffe
mov ecx, dword [edi + 0x5c]
add esp, 0xc
push eax
call fcn.0044572d
mov ebp, eax
test ebp, ebp
jne 0x433901
push ebx
push 0x69243383
push 0x52685c02
push 0x2a019f8
call fcn.00401ffe
mov ecx, dword [edi + 0x5c]
add esp, 0xc
push eax
call fcn.0044572d
test eax, eax
je 0x4338f2
mov esi, dword [eax]
mov dword [esp + 0x20], 0x3e8
test esi, esi
je 0x4338f2
lea edi, [esi + 0x38]
cmp byte [edi], 0x56
jne 0x4338e3
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43383a
sub ecx, edx
cmp ecx, 0xc
jne 0x4338e3
push 4
push 0x790e5acf
push 0x4242354e
push 0x128a70ac
call fcn.00401ffe
add esp, 0xc
push eax
push edi
call fcn.004bb020
add esp, 0xc
test eax, eax
jne 0x4338e3
push 4
push 0xad287622
push 0x966419a0
push 0xc6ac5c4a
call fcn.00401ffe
add esp, 0xc
push eax
lea eax, [edi + 7]
push eax
call fcn.004bb020
add esp, 0xc
test eax, eax
jne 0x4338e3
mov al, byte [edi + 4]
mov dl, byte [edi + 5]
mov cl, byte [edi + 6]
mov byte [esp + 0x14], al
sub al, 0x30
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], bl
cmp al, 9
ja 0x4338e3
sub dl, 0x30
cmp dl, 9
ja 0x4338e3
sub cl, 0x30
cmp cl, 9
ja 0x4338e3
lea eax, [esp + 0x14]
push eax
call fcn.004bae0d
pop ecx
cmp eax, dword [esp + 0x20]
jge 0x4338e3
mov dword [esp + 0x20], eax
mov ebp, esi
mov esi, dword [esi + 4]
test esi, esi
jne 0x433829
test ebp, ebp
jne 0x4338f9
xor eax, eax
jmp 0x4339f4
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
call fcn.00473e9c
push 2
lea eax, [esp + 0x18]
mov word [esp + 0x18], 0xbbaa
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00473ec4
mov ecx, dword [edi + 0x5c]
add esp, 0x10
push dword [esp + 0x18]
push ebp
call fcn.00446f99
mov ebp, eax
test ebp, ebp
je 0x4339a4
mov eax, dword [esp + 0x18]
push dword [eax]
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.00473ec4
lea eax, [esp + 0x9c]
push eax
call fcn.004727ea
mov eax, dword [esp + 0x28]
push dword [eax]
lea eax, [esp + 0xa4]
push ebp
push eax
call fcn.00472819
add esi, 0x58
lea eax, [esp + 0xac]
push esi
push eax
call fcn.0047270b
add esp, 0x24
push 0x14
push esi
push 0x423cfa07
push 0x7970958a
push 0x29b8d018
call fcn.00401ffe
mov ecx, dword [edi + 0x60]
add esp, 0xc
push eax
push 1
call fcn.00420582
lea eax, [esp + 0x28]
push eax
call fcn.00473de0
lea esi, [esp + 0x84]
lea edi, [esp + 0xf0]
movsd dword es:[edi], dword [esi]
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov al, byte [ebx + 0x4f9f2c]
xor byte [esp + ebx + 0xec], al
inc ebx
cmp ebx, 0x10
jl 0x4339c1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xec]
mov dword [ecx + 0xac], eax
mov eax, dword [esp + 0xf0]
mov dword [ecx + 0xb0], eax
mov eax, ebp
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0xf0
ret 8