Function at 0x429e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x429eae
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x429eb5
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x42a081
push ebx
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x10c]
push eax
call fcn.004b2cfd
lea eax, [ebp - 0x10c]
push eax
call fcn.004b0250
pop ecx
pop ecx
xor ecx, ecx
xor edx, edx
test eax, eax
jbe 0x429f20
movzx ebx, byte [ebp + edx - 0x10c]
mov esi, ecx
shr esi, 9
xor esi, ecx
shr esi, 7
xor esi, ebx
shl ecx, 5
xor ecx, esi
inc edx
cmp edx, eax
jb 0x429f02
mov eax, ecx
push 0x7f
xor edx, edx
pop ecx
div ecx
lea ebx, [edx*4 + 0x558d80]
mov esi, dword [ebx]
mov dword [ebp - 4], edx
jmp 0x429f4e
lea eax, [ebp - 0x10c]
push eax
push dword [esi]
call fcn.004b2330
test eax, eax
pop ecx
pop ecx
je 0x429fa6
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x429f37
push 0x10
push 1
push dword [ebp + 8]
call fcn.00418b73
mov esi, eax
inc dword [esi + 8]
lea eax, [ebp - 0x10c]
push eax
mov dword [esi + 4], edi
call fcn.004b0250
inc eax
push eax
push dword [ebp + 8]
call fcn.00418b3a
lea ecx, [ebp - 0x10c]
push ecx
push eax
mov dword [esi], eax
call fcn.004b0430
mov eax, dword [ebx]
mov dword [esi + 0xc], eax
add esp, 0x20
mov dword [ebx], esi
mov edi, dword [ebp + 0x20]
cmp edi, 1
jl 0x429fb2
lea eax, [edi + edi*2 - 3]
shl eax, 2
jmp 0x429fb4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
inc dword [esi + 8]
jmp 0x429f95
xor eax, eax
add eax, 0x30
push eax
push 1
push dword [ebp + 8]
call fcn.00418b73
add esp, 0xc
push dword [ebp + 0x10]
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [ebx + 8], esi
mov dword [ebx + 4], eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 0x1c]
mov dword [ebx], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x20]
test eax, eax
lea edi, [ebx + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jle 0x42a03c
mov dword [ebp - 8], 0xffffffdc
sub dword [ebp - 8], ebx
lea ecx, [ebx + 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
lea esi, [eax + ecx]
mov eax, dword [ebp + 0x24]
add esi, dword [eax]
mov edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ecx], 1
jne 0x42a022
add dword [ebx + 0x20], 4
jmp 0x42a034
mov eax, dword [ecx + 8]
add eax, 3
cdq
push 4
pop esi
idiv esi
shl eax, 2
add dword [ebx + 0x20], eax
add ecx, 0xc
dec dword [ebp - 4]
jne 0x42a007
mov esi, dword [ebp + 8]
push esi
call fcn.0049caf6
mov edi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
pop ecx
mov dword [edi + 4], 0x429c30
mov dword [edi + 0x14], 0x429471
jne 0x42a060
mov eax, dword [ebp + 0x10]
push eax
push esi
call fcn.0042449a
shl eax, 4
add eax, dword [esi + 0x42c]
push ebx
push edi
push eax
push esi
call fcn.0049cb3d
add esp, 0x18
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
leave
ret