Function at 0x40f290
Capabilities:
Encode data using xor
Link many functions at runtime

Disassembly:
mov eax, dword [0x42a878]
sub esp, 0x28
test eax, eax
jne 0x40f4ae
push ebp
push esi
push edi
mov edi, 0x425488
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
xor edi, edi
test ecx, ecx
mov dl, 0x5f
lea esi, [esp + 0xc]
jle 0x40f2d9
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [edi + 0x425488]
xor al, dl
mov byte [esi], al
inc esi
inc edi
cmp edi, ecx
jl 0x40f2c0
lea ecx, [esp + 0xc]
mov byte [esi], 0
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
mov edi, 0x425498
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
xor edi, edi
test ecx, ecx
mov dword [0x42a878], ebp
mov dl, 0x5f
lea esi, [esp + 0xc]
jle 0x40f325
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [edi + 0x425498]
xor al, dl
mov byte [esi], al
inc esi
inc edi
cmp edi, ecx
jl 0x40f30c
lea ecx, [esp + 0xc]
mov byte [esi], 0
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call ebp
mov dword [0x42a874], eax
mov edi, 0x4254a8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
xor edi, edi
test ecx, ecx
mov dl, 0x5f
lea esi, [esp + 0xc]
jle 0x40f371
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [edi + 0x4254a8]
xor al, dl
mov byte [esi], al
inc esi
inc edi
cmp edi, ecx
jl 0x40f358
mov edx, dword [0x42a878]
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esi], 0
call ebp
mov dword [0x42a870], eax
mov edi, 0x4254c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
xor edi, edi
test ecx, ecx
mov dl, 0x5f
lea esi, [esp + 0xc]
jle 0x40f3bd
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [edi + 0x4254c0]
xor al, dl
mov byte [esi], al
inc esi
inc edi
cmp edi, ecx
jl 0x40f3a4
mov edx, dword [0x42a878]
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esi], 0
call ebp
mov dword [0x42a86c], eax
mov edi, 0x4254d4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
xor edi, edi
test ecx, ecx
mov dl, 0x5f
lea esi, [esp + 0xc]
jle 0x40f409
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [edi + 0x4254d4]
xor al, dl
mov byte [esi], al
inc esi
inc edi
cmp edi, ecx
jl 0x40f3f0
mov edx, dword [0x42a878]
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esi], 0
call ebp
mov dword [0x42a868], eax
mov edi, 0x4254f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
xor esi, esi
test ecx, ecx
mov dl, 0x5f
lea ebp, [esp + 0xc]
jle 0x40f456
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [esi + 0x4254f0]
xor al, dl
mov byte [ebp], al
inc ebp
inc esi
cmp esi, ecx
jl 0x40f43c
mov edx, dword [0x42a878]
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [ebp], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x42a874]
pop edi
pop esi
mov dword [0x42a864], eax
test ecx, ecx
pop ebp
je 0x40f4a0
mov ecx, dword [0x42a870]
test ecx, ecx
je 0x40f4a0
mov ecx, dword [0x42a86c]
test ecx, ecx
je 0x40f4a0
mov ecx, dword [0x42a868]
test ecx, ecx
je 0x40f4a0
test eax, eax
jne 0x40f4a5
call fcn.0040f4e0
mov eax, dword [0x42a878]
test eax, eax
je 0x40f4d6
mov eax, dword [0x42a860]
test eax, eax
jne 0x40f4db
push eax
push eax
push eax
push eax
push eax
push 7
call fcn.00403a00
add esp, 8
push eax
call dword [0x42a874]
mov dword [0x42a860], eax
add esp, 0x28
ret
mov eax, dword [0x42a860]
add esp, 0x28
ret