Function at 0x42fd1c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4adadc]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x90]
lea eax, [esp + 0x48]
push pe_nt_image_headers32
push edi
push eax
mov dword [esp + 0x50], edi
call fcn.004667d0
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x74]
mov ebx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], 0xa
add eax, dword [esp + 0x2c]
xor edi, eax
mov dword [esp + 0x20], eax
rol edi, 0x10
add esi, edi
mov eax, esi
xor eax, dword [esp + 0x2c]
rol eax, 0xc
add dword [esp + 0x20], eax
xor edi, dword [esp + 0x20]
rol edi, 8
add esi, edi
mov dword [esp + 0x3c], esi
xor esi, eax
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x34]
xor edx, eax
mov dword [esp + 0x14], eax
rol edx, 0x10
add ecx, edx
rol esi, 7
mov eax, ecx
xor eax, dword [esp + 0x34]
rol eax, 0xc
add dword [esp + 0x14], eax
xor edx, dword [esp + 0x14]
rol edx, 8
add ecx, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
xor ecx, eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x38]
xor edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
rol edx, 0x10
add eax, edx
rol ecx, 7
mov dword [esp + 0x10], eax
xor eax, dword [esp + 0x38]
rol eax, 0xc
add dword [esp + 0x24], eax
xor edx, dword [esp + 0x24]
rol edx, 8
add dword [esp + 0x10], edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
xor edx, eax
mov eax, dword [esp + 0x1c]
add eax, ebp
rol edx, 7
xor ebx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
rol ebx, 0x10
add eax, ebx
mov dword [esp + 0x18], eax
xor eax, ebp
mov ebp, dword [esp + 0x1c]
rol eax, 0xc
add ebp, eax
xor ebx, ebp
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x18]
rol ebx, 8
add ebp, ebx
mov dword [esp + 0x18], ebp
xor ebp, eax
mov eax, dword [esp + 0x20]
add eax, ecx
rol ebp, 7
xor ebx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
rol ebx, 0x10
add eax, ebx
mov dword [esp + 0x10], eax
xor eax, ecx
rol eax, 0xc
mov ecx, dword [esp + 0x20]
add ecx, eax
xor ebx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
rol ebx, 8
add ecx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], ecx
xor ecx, eax
mov eax, dword [esp + 0x14]
add eax, edx
rol ecx, 7
mov dword [esp + 0x14], eax
xor eax, edi
rol eax, 0x10
mov dword [esp + 0x34], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x18], ecx
xor ecx, edx
mov edx, dword [esp + 0x14]
rol ecx, 0xc
add edx, ecx
mov edi, edx
mov dword [esp + 0x14], edx
xor edi, eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
rol edi, 8
add edx, ebp
add eax, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x74], eax
xor eax, ecx
mov ecx, dword [esp + 0x3c]
rol eax, 7
mov dword [esp + 0x38], eax
mov dword [esp + 0x60], eax
mov eax, edx
xor eax, dword [esp + 0x2c]
rol eax, 0x10
add ecx, eax
xor ebp, ecx
rol ebp, 0xc
add edx, ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x50], edx
xor edx, eax
mov eax, dword [esp + 0x1c]
add eax, esi
rol edx, 8
add ecx, edx
mov dword [esp + 0x1c], eax
xor eax, dword [esp + 0x30]
xor ebp, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x28]
rol eax, 0x10
add ecx, eax
rol ebp, 7
mov dword [esp + 0x28], ecx
xor ecx, esi
mov esi, dword [esp + 0x1c]
rol ecx, 0xc
add esi, ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x54], esi
xor esi, eax
mov eax, dword [esp + 0x28]
rol esi, 8
add eax, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x6c], eax
mov esi, dword [esp + 0x3c]
xor eax, ecx
mov ecx, dword [esp + 0x28]
rol eax, 7
sub dword [esp + 0x40], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x20]
jne 0x42fdbb
mov dword [esp + 0x78], edi
lea eax, [esp + 0x48]
mov edi, dword [esp + 0x44]
xor ecx, ecx
mov edx, edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x64], ebp
sub edx, eax
lea eax, [edx + ecx*4]
mov eax, dword [esp + eax + 0x48]
add dword [esp + ecx*4 + 0x48], eax
inc ecx
cmp ecx, 0x10
jl 0x430000
xor esi, esi
lea edx, [edi + 0x41]
mov al, byte [esp + esi*4 + 0x48]
mov ecx, dword [esp + esi*4 + 0x48]
mov byte [edx - 1], al
mov eax, ecx
shr eax, 8
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
lea edx, [edx + 4]
shr ecx, 0x18
inc esi
mov byte [edx - 3], al
mov byte [edx - 2], cl
cmp esi, 0x10
jl 0x430016
and dword [edi + 0x80], 0
lea eax, [esp + 0x48]
push pe_nt_image_headers32
push eax
call fcn.0045e53c
add dword [edi + 0x30], 1
pop ecx
pop ecx
jne 0x43005d
inc dword [edi + 0x34]
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004659d6
add esp, 0x7c
ret