Function at 0x43304c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xf0
mov eax, dword [0x517490]
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 0x74962410
mov edi, ecx
mov dword [esp + 0x24], esi
push 0xa894b14e
push 0xf21e0e5f
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], eax
mov dword [eax], ebx
call fcn.00401dc4
mov ecx, dword [edi + 0x5c]
add esp, 0xc
push eax
call fcn.0044545d
mov ebp, eax
test ebp, ebp
jne 0x4331c2
push ebx
push 0xa16bb258
push 0x7d69270c
push 0x27e3982f
call fcn.00401dc4
mov ecx, dword [edi + 0x5c]
add esp, 0xc
push eax
call fcn.0044545d
test eax, eax
je 0x4331b3
mov esi, dword [eax]
mov dword [esp + 0x20], 0x3e8
test esi, esi
je 0x4331b3
lea edi, [esi + 0x38]
cmp byte [edi], 0x56
jne 0x4331a4
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4330fb
sub ecx, edx
cmp ecx, 0xc
jne 0x4331a4
push 4
push 0x54c1d290
push 0x88c347c4
push 0xd249f8ff
call fcn.00401dc4
add esp, 0xc
push eax
push edi
call fcn.004baa70
add esp, 0xc
test eax, eax
jne 0x4331a4
push 4
push 0x5fab1728
push 0x83a9827f
push 0xd9233d4c
call fcn.00401dc4
add esp, 0xc
push eax
lea eax, [edi + 7]
push eax
call fcn.004baa70
add esp, 0xc
test eax, eax
jne 0x4331a4
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 0x4331a4
sub dl, 0x30
cmp dl, 9
ja 0x4331a4
sub cl, 0x30
cmp cl, 9
ja 0x4331a4
lea eax, [esp + 0x14]
push eax
call fcn.004ba85d
pop ecx
cmp eax, dword [esp + 0x20]
jge 0x4331a4
mov dword [esp + 0x20], eax
mov ebp, esi
mov esi, dword [esi + 4]
test esi, esi
jne 0x4330ea
test ebp, ebp
jne 0x4331ba
xor eax, eax
jmp 0x4332b5
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
call fcn.004738c1
push 2
lea eax, [esp + 0x18]
mov word [esp + 0x18], 0xbbaa
push eax
lea eax, [esp + 0x34]
push eax
call fcn.004738e9
mov ecx, dword [edi + 0x5c]
add esp, 0x10
push dword [esp + 0x18]
push ebp
call fcn.00446cc9
mov ebp, eax
test ebp, ebp
je 0x433265
mov eax, dword [esp + 0x18]
push dword [eax]
lea eax, [esp + 0x2c]
push ebp
push eax
call fcn.004738e9
lea eax, [esp + 0x9c]
push eax
call fcn.0047220f
mov eax, dword [esp + 0x28]
push dword [eax]
lea eax, [esp + 0xa4]
push ebp
push eax
call fcn.0047223e
add esi, 0x58
lea eax, [esp + 0xac]
push esi
push eax
call fcn.00472130
add esp, 0x24
push 0x14
push esi
push 0x344953c0
push 0xe84bc698
push 0xb2c179d3
call fcn.00401dc4
mov ecx, dword [edi + 0x60]
add esp, 0xc
push eax
push 1
call fcn.00420135
lea eax, [esp + 0x28]
push eax
call fcn.00473805
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 + 0x4f8f6c]
xor byte [esp + ebx + 0xec], al
inc ebx
cmp ebx, 0x10
jl 0x433282
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.004b94b6
add esp, 0xf0
ret 8