Function at 0x41c428
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x20]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
lea ecx, [eax - 0x356d]
add eax, 0x32f
push esi
mov esi, dword [esp + 0x34]
mov ebx, esi
mov dword [esp + 0x34], eax
lea edx, [ebp - 0x380f]
mov dword [esp + 0x2c], ecx
xor ebx, 0x322e
mov ecx, dword [esp + 0x38]
lea eax, [esi + 0x6f8]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], eax
xor ecx, 0x93a
mov eax, esi
mov dword [esp + 0x38], ecx
xor eax, 0x577
push edi
mov edi, dword [esp + 0x28]
cmp ebx, eax
jge 0x41c5ea
lea eax, [ecx + 0x9b5]
cmp esi, eax
je 0x41c51e
mov eax, dword [edi + 0x9c]
sub eax, dword [edi + 0x94]
add eax, 0x1bf751
cmp dword [edi + 0xfc], 0xc925
mov dword [edi + 0xb4], eax
ja 0x41c4cd
mov eax, dword [0x70c18c]
add dword [eax + 0x108], 0x6214d
jmp 0x41c4d7
imul eax, dword [edi + 0x60], 0x11821
mov dword [edi + 0x60], eax
lea eax, [ebx + 0x3940]
push eax
lea eax, [ecx + 0x624]
push eax
lea eax, [esi + 0x52b]
push eax
lea eax, [ebp + 0x8d]
push eax
push 0x72a1d0
call fcn.00401200
mov ecx, dword [edi + 0x38]
mov ebx, eax
mov eax, dword [0x70c18c]
add esp, 0x14
sub ecx, dword [eax + 0xfc]
xor ecx, 0x71606
sub dword [edi + 0x2c], ecx
jmp 0x41c5e4
mov eax, dword [edi + 0xe8]
and eax, dword [edi + 0x60]
sub eax, dword [0x72a1e4]
cmp dword [edi + 0x24], eax
ja 0x41c5ea
mov eax, ebx
or eax, 0x374f
cmp dword [edi + 0x7c], eax
jb 0x41c5ea
mov eax, dword [0x70c18c]
mov ecx, dword [eax + 0x100]
mov eax, dword [edi + 0xc]
xor eax, ebx
mov dword [esp + 0x14], ecx
and eax, 0x374c
cmp ecx, eax
jbe 0x41c5ea
mov eax, dword [esp + 0x30]
or eax, 0x3759
add eax, 0x3926
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
or eax, ebp
xor eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [0x72a2cc]
mov ecx, dword [edi + 0x8c]
add eax, 0xffffca93
or ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x128]
mov esi, dword [edi + 0xd8]
or edx, 0x356d
push 0x72a1d0
push eax
push ecx
push dword [esp + 0x28]
or esi, 0x389c
push dword [esp + 0x30]
push edx
push esi
call fcn.004010c0
mov ecx, dword [edi + 0xc]
mov esi, eax
mov eax, dword [esp + 0x30]
xor ecx, ebx
add esp, 0x1c
and ecx, 0x374c
inc eax
mov dword [esp + 0x14], eax
cmp eax, ecx
ja 0x41c585
lea edx, [ebp - 0x380f]
mov ecx, dword [esp + 0x38]
lea eax, [ecx - 0x143]
cmp dword [esp + 0x30], eax
jge 0x41c610
add edx, 0x3154
xor dword [edi + 0x108], 0x1e3c8
mov dword [esp + 0x10], edx
jmp 0x41c676
mov eax, dword [edi + 0xd8]
xor eax, ebp
imul eax, ebp
cmp ebx, eax
ja 0x41c676
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x84]
xor eax, 0x387f
push eax
mov eax, dword [0x70c18c]
push edi
mov eax, dword [eax + 0x110]
imul eax, dword [edi + 0x12c]
add eax, ecx
push eax
mov eax, dword [edi + 0x2c]
add eax, dword [0x72a2dc]
push eax
mov eax, dword [edi + 0x94]
imul eax, ecx
push 0
sub eax, dword [0x72a26c]
push eax
mov eax, dword [edi + 0x13c]
or eax, edx
push eax
call fcn.0041bd79
mov ecx, dword [esp + 0x54]
add esp, 0x1c
mov edx, dword [esp + 0x18]
lea eax, [edx - 0x5df]
cmp ebp, eax
jl 0x41c740
mov eax, ecx
xor eax, 0x78c0
cmp esi, eax
je 0x41c6b8
mov eax, dword [0x70c18c]
mov ecx, dword [edi + 0xa4]
mov eax, dword [eax + 4]
xor eax, 0x4e9562c
add ecx, 0x1748374c
mov dword [edi], eax
mov eax, dword [0x70c18c]
mov dword [eax + 8], ecx
jmp 0x41c715
mov esi, edx
or esi, ebp
cmp ebx, esi
jl 0x41c715
lea eax, [ebp + 0x102]
mov ebp, dword [esp + 0x10]
and eax, 0x3135
mov dword [esp + 0x30], eax
xor dword [edi + 0x38], eax
mov ecx, ebp
mov eax, dword [0x70c18c]
sub ecx, dword [eax + 0xc4]
mov eax, dword [edi + 0x2c]
sub eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [edi + 4]
add ecx, 0xffffc516
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov eax, dword [esp + 0x30]
add ebx, 2
cmp ebx, esi
jge 0x41c6d3
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
lea eax, [ebp - 0x5e9]
cmp edx, eax
jl 0x41c740
mov eax, dword [esp + 0x10]
add eax, 0x996
cmp edx, eax
jge 0x41c740
mov ecx, dword [edi + 0x38]
xor ecx, dword [edi + 0x24]
mov eax, dword [0x70c18c]
xor ecx, 0x10aa8
mov dword [eax + 0x78], ecx
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
add eax, 0x13b
pop ebx
add esp, 0x14
ret