Function at 0x41aec3
Capabilities:
Encode data using xor
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56c99d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1f3c
call fcn.0050b430
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x1a8], ebx
je 0x41b6a5
lea esi, [edi + 0x1d0]
mov eax, dword [esi]
cmp eax, ebx
je 0x41af12
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
test byte [0x621ea0], 4
je 0x41af53
push str.___pause_before_create_window
lea ecx, [esp + 0x1c]
call fcn.004027e7
mov dword [esp + 0x1f54], ebx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x1b0]
call fcn.004022ac
or dword [esp + 0x1f54], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x20]
call fcn.00403580
mov eax, dword [0x5f9648]
add eax, 0x118
cmp dword [eax + 0x18], 8
jb 0x41af68
mov eax, dword [eax + 4]
jmp 0x41af6b
add eax, 4
push eax
lea ecx, [esp + 0xc8]
call fcn.004027e7
xor esi, esi
inc esi
mov dword [esp + 0x1f54], esi
cmp dword [esp + 0xd8], ebx
je 0x41aff4
push str.___openid_authkey
lea ecx, [esp + 0x38]
call fcn.004027e7
mov byte [esp + 0x1f54], 2
lea ecx, [esp + 0xc4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0040f6db
add esp, 0xc
mov byte [esp + 0x1f54], 3
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x1b0]
call fcn.004022ac
mov byte [esp + 0x1f54], 2
push ebx
push esi
lea ecx, [esp + 0x20]
call fcn.00403580
mov byte [esp + 0x1f54], 1
push ebx
push esi
lea ecx, [esp + 0x3c]
call fcn.00403580
xor eax, eax
push 0x1fe
mov word [esp + 0x74c], ax
lea eax, [esp + 0x74e]
push ebx
push eax
call fcn.00507370
add esp, 0xc
push 0x600
lea eax, [esp + 0x94c]
push ebx
push eax
call fcn.00507370
add esp, 0xc
push 4
lea esi, [esp + 0x74c]
pop edi
push esi
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add esi, 0x200
dec edi
jne 0x41b034
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
push str.libxmldomminidomer.pyc
lea eax, [esp + 0x74c]
push eax
call esi
push str.libxmlparsersinvers.pyc
lea eax, [esp + 0x94c]
push eax
call esi
push str.packmetin2_patch_nodelar.eix
lea eax, [esp + 0xb4c]
push eax
call esi
push str.packmetin2_patch_nodelar.epk
lea eax, [esp + 0xd4c]
push eax
call esi
mov esi, str.hackkillbot2
lea edi, [esp + 0x348]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0xf3
lea eax, [esp + 0x359]
push ebx
push eax
movsb byte es:[edi], byte [esi]
call fcn.00507370
lea eax, [esp + 0x5c]
add esp, 0xc
push eax
mov dword [esp + 0x14], ebx
call fcn.00509dec
pop ecx
lea eax, [esp + 0x50]
push eax
call fcn.0050a0f5
pop ecx
mov edi, eax
push 0xa
lea eax, [esp + 0x64c]
push eax
push dword [edi + 4]
call fcn.00557e1e
add esp, 0xc
push 0xa
lea eax, [esp + 0x54c]
push eax
mov eax, dword [edi + 4]
inc eax
push eax
call fcn.00557e1e
add esp, 0xc
lea eax, [esp + 0x548]
push eax
lea eax, [esp + 0x34c]
push eax
lea eax, [esp + 0x650]
push eax
lea eax, [esp + 0x254]
push str._s_s_s
push eax
call fcn.0050a11c
mov eax, dword [edi + 4]
lea eax, [eax + eax + 0x2e8e37dd]
add esp, 0x14
mov dword [esp + 0x14], eax
xor eax, eax
cmp byte [esp + eax + 0x248], bl
je 0x41b149
inc dword [esp + 0x10]
inc eax
cmp eax, 0x14
jl 0x41b136
xor esi, esi
mov ecx, 0xfd59
cmp dword [esp + 0x10], ebx
jbe 0x41b17d
mov edx, ecx
lea eax, [esp + esi + 0x248]
sar edx, 8
xor byte [eax], dl
movsx eax, byte [eax]
add eax, ecx
imul eax, eax, 0x4195
add eax, 0xb5b7
inc esi
mov ecx, eax
cmp esi, dword [esp + 0x10]
jb 0x41b156
push 0xa
lea eax, [esp + 0x44c]
push eax
push dword [esp + 0x1c]
call fcn.00557e1e
add esp, 0xc
lea eax, [esp + 0x448]
push eax
lea ecx, [esp + 0x38]
call fcn.00402ae0
mov byte [esp + 0x1f54], 4
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.00406eea
pop ecx
pop ecx
mov byte [esp + 0x1f54], 6
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x3c]
call fcn.004039a0
mov edi, dword [edi + 4]
cmp edi, ebx
mov dword [esp + 0x10], ebx
jle 0x41b1e9
cmp edi, 0xf
jge 0x41b1ec
mov dword [esp + 0x10], ebx
jmp 0x41b21f
cmp edi, 0xf
jle 0x41b1f9
cmp edi, 0x1e
jge 0x41b1fc
mov dword [esp + 0x10], esi
jmp 0x41b21f
cmp edi, 0x1e
jle 0x41b20d
cmp edi, 0x2d
jge 0x41b210
mov dword [esp + 0x10], 2
jmp 0x41b21f
cmp edi, 0x2d
jle 0x41b21f
cmp edi, 0x3c
jge 0x41b21f
mov dword [esp + 0x10], 3
xor esi, esi
mov eax, esi
shl eax, 9
lea edi, [esp + eax + 0x748]
push edi
call fcn.0050a1b7
pop ecx
lea eax, [esp + 0xe0]
push eax
call fcn.0041c72b
mov byte [esp + 0x1f54], 7
push edi
lea ecx, [esp + 0xe8]
call fcn.0041c91a
test eax, eax
jne 0x41b273
mov eax, dword [esp + 0xe0]
mov ecx, dword [eax + 4]
push ebx
lea ecx, [esp + ecx + 0xe4]
push 2
call fcn.00418454
cmp dword [esp + 0x10], esi
jne 0x41b283
lea eax, [esp + 0x248]
push eax
jmp 0x41b2ac
mov eax, esi
sub eax, ebx
je 0x41b2a7
dec eax
je 0x41b2a0
dec eax
je 0x41b299
dec eax
jne 0x41b2bb
push 0x5be8d0
jmp 0x41b2ac
push str.MCOZ_______
jmp 0x41b2ac
push 0x5be820
jmp 0x41b2ac
push 0x5be7d0
lea eax, [esp + 0xe4]
push eax
call fcn.0041dc16
pop ecx
pop ecx
lea edi, [esp + 0xe0]
call fcn.0041c7da
mov byte [esp + 0x1f54], 6
lea ecx, [esp + 0x134]
call fcn.0041c78f
lea ecx, [esp + 0x134]
call fcn.004185f5
inc esi
cmp esi, 4
jl 0x41b221
lea eax, [esp + 0x1c0]
push eax
call fcn.0041c72b
mov byte [esp + 0x1f54], 8
push 2
push str.003254
lea ecx, [esp + 0x1cc]
call fcn.00416549
test eax, eax
jne 0x41b336
mov eax, dword [esp + 0x1c0]
mov ecx, dword [eax + 4]
push ebx
lea ecx, [esp + ecx + 0x1c4]
push 2
call fcn.00418454
push 0xf423f
push 0x186a0
call fcn.0045e170
pop ecx
pop ecx
push eax
lea eax, [esp + 0x1c4]
push eax
call fcn.0041c53a
lea edi, [esp + 0x1c0]
call fcn.0041c7da
mov edi, dword [ebp + 8]
cmp dword [edi + 0x1ec], ebx
je 0x41b4ed
push 0x30
lea eax, [esp + 0x7d]
push ebx
push eax
mov byte [esp + 0x84], bl
call fcn.00507370
add esp, 0xc
lea eax, [esp + 0x78]
push 0x31
push eax
call fcn.0053b010
lea eax, [edi + 0x1d8]
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x41b3a6
mov eax, dword [eax + 4]
jmp 0x41b3a9
add eax, 4
push 0x3c
push ebx
push eax
call fcn.0053af40
add esp, 0xc
push 0x31
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0xe8]
push eax
call fcn.005095fb
add esp, 0xc
push 0x5be93c
lea ecx, [esp + 0x1c]
call fcn.00402ae0
mov byte [esp + 0x1f54], 9
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x170]
call fcn.004027e7
mov esi, eax
mov byte [esp + 0x1f54], 0xa
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x1a8]
push eax
call fcn.00406eea
mov byte [esp + 0x1f5c], 0xb
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x198]
push eax
call fcn.0040f6db
add esp, 0x14
mov byte [esp + 0x1f54], 0xc
push esi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040f6db
add esp, 0xc
mov byte [esp + 0x1f54], 0xe
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x190]
call fcn.00403580
mov byte [esp + 0x1f54], 0xf
push ebx
push esi
lea ecx, [esp + 0x1ac]
call fcn.00403580
mov byte [esp + 0x1f54], 0x10
push ebx
push esi
lea ecx, [esp + 0x174]
call fcn.00403580
mov byte [esp + 0x1f54], 0x11
push ebx
push esi
lea ecx, [esp + 0x20]
call fcn.004039a0
cmp dword [esp + 0x4c], 8
mov edx, dword [esp + 0x38]
jae 0x41b4ae
lea edx, [esp + 0x38]
cmp dword [edi + 0x1ac], 8
jb 0x41b4bf
mov ecx, dword [edi + 0x198]
jmp 0x41b4c5
lea ecx, [edi + 0x198]
lea eax, [edi + 0x1d0]
push eax
push edx
call fcn.0040748e
pop ecx
pop ecx
mov dword [esp + 0x10], eax
mov byte [esp + 0x1f54], 8
push ebx
push esi
lea ecx, [esp + 0x3c]
call fcn.00403580
jmp 0x41b526
cmp dword [esp + 0x74], 8
mov edx, dword [esp + 0x60]
jae 0x41b4fc
lea edx, [esp + 0x60]
cmp dword [edi + 0x1ac], 8
jb 0x41b50d
mov ecx, dword [edi + 0x198]
jmp 0x41b513
lea ecx, [edi + 0x198]
lea eax, [edi + 0x1d0]
push eax
push edx
call fcn.0040748e
pop ecx
pop ecx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], ebx
je 0x41b559
push ebx
push dword [0x5f9694]
lea eax, [esp + 0x80]
push eax
call fcn.0041225b
mov byte [esp + 0x1f54], 0x12
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.0041bdd3
jmp 0x41b643
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push ebx
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x400
push esi
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [edi + 0x1ac], 8
jb 0x41b58b
mov eax, dword [edi + 0x198]
jmp 0x41b591
lea eax, [edi + 0x198]
push eax
push dword [esp + 0x14]
push esi
push str.ERROR_EXECUTE_PROCESS
call fcn.004032e1
mov esi, eax
call fcn.0040582a
push eax
push str._s__code_d__msg_s__runPath_s_
lea eax, [esp + 0xf5c]
push 0x800
push eax
call fcn.0041f040
add esp, 0x1c
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
push dword [0x5f9694]
lea eax, [esp + 0x80]
push eax
call fcn.0041225b
mov byte [esp + 0x1f54], 0x13
lea eax, [esp + 0xf48]
push eax
lea ecx, [esp + 0x1c]
call fcn.004027e7
mov byte [esp + 0x1f54], 0x14
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xa8]
call fcn.00403685
mov byte [esp + 0x1f54], 0x13
push ebx
push 1
lea ecx, [esp + 0x20]
call fcn.00403580
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.0041bf2a
push ebx
push str.temp
call fcn.00534150
pop ecx
pop ecx
mov byte [esp + 0x1f54], 8
lea eax, [esp + 0x78]
push eax
call fcn.00412353
mov byte [esp + 0x1f54], 6
lea ecx, [esp + 0x214]
call fcn.0041c78f
lea ecx, [esp + 0x214]
call fcn.004185f5
mov byte [esp + 0x1f54], 1
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.00403580
or dword [esp + 0x1f54], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0xcc]
call fcn.00403580
jmp 0x41b72f
push ebx
push dword [0x5f9694]
lea eax, [esp + 0x80]
push eax
call fcn.0041225b
mov dword [esp + 0x1f54], 0x15
push str.RUN_PATH_EMPTY
push ecx
call fcn.004032e1
pop ecx
mov esi, eax
call fcn.0040582a
push eax
lea ecx, [esp + 0x1c]
call fcn.004027e7
mov byte [esp + 0x1f54], 0x16
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xa8]
call fcn.00403685
mov byte [esp + 0x1f54], 0x15
push ebx
push 1
lea ecx, [esp + 0x20]
call fcn.00403580
lea eax, [esp + 0x78]
push eax
mov ecx, edi
call fcn.0041bf2a
or dword [esp + 0x1f54], 0xffffffff
lea eax, [esp + 0x78]
push eax
call fcn.00412353
mov ecx, dword [esp + 0x1f4c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4