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

Disassembly:
mov eax, dword [0x42a978]
sub esp, 0x28
test eax, eax
jne 0x40fa3e
push ebp
push esi
push edi
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 0x40f869
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 0x40f850
lea ecx, [esp + 0xc]
mov byte [esi], 0
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
mov edi, 0x4254d0
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 [0x42a978], ebp
mov dl, 0x5f
lea esi, [esp + 0xc]
jle 0x40f8b5
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [edi + 0x4254d0]
xor al, dl
mov byte [esi], al
inc esi
inc edi
cmp edi, ecx
jl 0x40f89c
lea ecx, [esp + 0xc]
mov byte [esi], 0
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call ebp
mov dword [0x42a974], eax
mov edi, 0x4254e0
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 0x40f901
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [edi + 0x4254e0]
xor al, dl
mov byte [esi], al
inc esi
inc edi
cmp edi, ecx
jl 0x40f8e8
mov edx, dword [0x42a978]
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esi], 0
call ebp
mov dword [0x42a970], eax
mov edi, 0x4254f8
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 0x40f94d
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [edi + 0x4254f8]
xor al, dl
mov byte [esi], al
inc esi
inc edi
cmp edi, ecx
jl 0x40f934
mov edx, dword [0x42a978]
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esi], 0
call ebp
mov dword [0x42a96c], eax
mov edi, 0x42550c
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 0x40f999
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [edi + 0x42550c]
xor al, dl
mov byte [esi], al
inc esi
inc edi
cmp edi, ecx
jl 0x40f980
mov edx, dword [0x42a978]
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esi], 0
call ebp
mov dword [0x42a968], eax
mov edi, 0x425528
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 0x40f9e6
mov al, dl
shl al, 7
shr dl, 1
add dl, al
mov al, byte [esi + 0x425528]
xor al, dl
mov byte [ebp], al
inc ebp
inc esi
cmp esi, ecx
jl 0x40f9cc
mov edx, dword [0x42a978]
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [ebp], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [0x42a974]
pop edi
pop esi
mov dword [0x42a964], eax
test ecx, ecx
pop ebp
je 0x40fa30
mov ecx, dword [0x42a970]
test ecx, ecx
je 0x40fa30
mov ecx, dword [0x42a96c]
test ecx, ecx
je 0x40fa30
mov ecx, dword [0x42a968]
test ecx, ecx
je 0x40fa30
test eax, eax
jne 0x40fa35
call fcn.0040fa70
mov eax, dword [0x42a978]
test eax, eax
je 0x40fa66
mov eax, dword [0x42a960]
test eax, eax
jne 0x40fa6b
push eax
push eax
push eax
push eax
push eax
push 7
call fcn.00403a00
add esp, 8
push eax
call dword [0x42a974]
mov dword [0x42a960], eax
add esp, 0x28
ret
mov eax, dword [0x42a960]
add esp, 0x28
ret