Function at 0x10054e70
Capabilities:
Check if file exists
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x334
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
sub dword [ebp + 0xc], 1
jne 0x100554a7
push 0x3f6f044f
lea ecx, [esp + 0x1c]
mov dword [0x101d93d8], ebx
call fcn.10059060
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
test eax, eax
je 0x10054ed9
push 0x3f6f044f
lea ecx, [esp + 0x1c]
call fcn.10059060
push eax
call esi
add eax, 0x345
mov dword [0x10b3b114], eax
jmp 0x10054ede
mov eax, dword [0x10b3b114]
cmp byte [0x10b3b10f], 0
jne 0x100554a7
test eax, eax
je 0x100554a7
cmp byte [eax], 0
jne 0x100554a7
mov edi, 0x100ab610
lea ecx, [esp + 0x18]
sub edi, 0x7f852c57
push edi
call fcn.10059d00
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10054f39
push 0x39835092
lea ecx, [esp + 0x14]
call fcn.10059d70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10054f39
xor al, al
jmp 0x10054f3b
mov al, 1
test al, al
je 0x100550a4
push edi
lea ecx, [esp + 0x1c]
call fcn.10059d00
push eax
call esi
test eax, eax
jne 0x10054f6d
push 0x39835092
lea ecx, [esp + 0x14]
call fcn.10059d70
push eax
call esi
test eax, eax
jne 0x10054f6d
xor al, al
jmp 0x10054f6f
mov al, 1
test al, al
je 0x1005548b
mov edx, 0x90
xor ecx, ecx
nop
mov al, byte [ecx + 0x100ab624]
xor al, dl
mov byte [esp + ecx + 0x2e], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x12
jb 0x10054f80
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea eax, [esp + 0x2e]
push eax
mov byte [esp + 0x44], 0
call esi
test eax, eax
je 0x10055001
mov edx, 0xc5
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100ab638]
xor al, dl
mov byte [esp + ecx + 0x22], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xb
jb 0x10054fc0
lea eax, [esp + 0x22]
mov byte [esp + 0x2d], 0
push eax
call esi
test eax, eax
je 0x10055001
push 0x1a3f712b
lea ecx, [esp + 0x14]
call fcn.10059de0
push eax
call esi
test eax, eax
je 0x10055001
mov al, 1
jmp 0x10055003
xor al, al
test al, al
je 0x1005548b
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x238]
push 0x104
push eax
push 0
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [esp + 0x238]
push eax
call esi
push 0x104
lea eax, [esp + 0x134]
push eax
push ebx
call edi
lea eax, [esp + 0x130]
push eax
call esi
lea ecx, [esp + 0x130]
lea eax, [esp + 0x238]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10055080
test dl, dl
je 0x1005507c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10055080
add eax, 2
add ecx, 2
test dl, dl
jne 0x10055060
xor eax, eax
jmp 0x10055085
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10055493
push eax
push eax
push ecx
push eax
push 0x10053580
sub esp, 8
push eax
call fcn.10062550
jmp 0x10055493
mov edx, 0x28
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + str.JHXH_DKADG_VCeSO_]
xor al, dl
mov byte [esp + ecx + 0x2e], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x11
jb 0x100550b0
lea eax, [esp + 0x2e]
mov byte [esp + 0x3f], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 0x1e
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + str.szNTPVJKCU]
xor al, dl
mov byte [esp + ecx + 0x91], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xe
jb 0x100550f0
lea eax, [esp + 0x91]
mov byte [esp + 0x9f], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 0x7d
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ab670]
xor al, dl
mov byte [esp + ecx + 0xd1], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x17
jb 0x10055130
lea eax, [esp + 0xd1]
mov byte [esp + 0xe8], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 0x84
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ab688]
xor al, dl
mov byte [esp + ecx + 0x67], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xd
jb 0x10055170
lea eax, [esp + 0x67]
mov byte [esp + 0x74], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 0xd2
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x100ab698]
xor al, dl
mov byte [esp + ecx + 0xa0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xe
jb 0x100551b0
lea eax, [esp + 0xa0]
mov byte [esp + 0xae], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 0xc7
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ab6a8]
xor al, dl
mov byte [esp + ecx + 0x4d], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x100551f0
lea eax, [esp + 0x4d]
mov byte [esp + 0x59], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov eax, 0x100ab6b8
lea ecx, [esp + 0x101]
sub eax, 0x58b23a27
push eax
call fcn.10059e50
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 0x55
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + str.6_5___70]
xor al, dl
mov byte [esp + ecx + 0xaf], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x10
jb 0x10055250
lea eax, [esp + 0xaf]
mov byte [esp + 0xbf], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 0xda
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ab6d8]
xor al, dl
mov byte [esp + ecx + 0xc0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x10
jb 0x10055290
lea eax, [esp + 0xc0]
mov byte [esp + 0xd0], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 7
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + str.RdxjZdkxucMWqfcwi4dx]
xor al, dl
mov byte [esp + ecx + 0xe9], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x17
jb 0x100552d0
lea eax, [esp + 0xe9]
mov byte [esp + 0x100], 0
push eax
call esi
test eax, eax
jne 0x10055485
push 0x868ac4f1
lea ecx, [esp + 0x1c]
call fcn.10059ee0
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 0xec
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100ab710]
xor al, dl
mov byte [esp + ecx + 0x10c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x23
jb 0x10055330
lea eax, [esp + 0x10c]
mov byte [esp + 0x12f], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 0x27
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + str.jk_B_I]
xor al, dl
mov byte [esp + ecx + 0x41], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xb
jb 0x10055370
lea eax, [esp + 0x41]
mov byte [esp + 0x4c], 0
push eax
call esi
test eax, eax
jne 0x10055485
push 0x85b3f948
lea ecx, [esp + 0x26]
call fcn.10059f60
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 0x76
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ab74c]
xor al, dl
mov byte [esp + ecx + 0x5a], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x100553c0
lea eax, [esp + 0x5a]
mov byte [esp + 0x66], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov byte [esp + 0x12], al
lea eax, [esp + 0x10]
push eax
mov word [esp + 0x14], 0x5350
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10055485
mov edx, 0xcb
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ab75c]
xor al, dl
mov byte [esp + ecx + 0x75], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xd
jb 0x10055410
lea eax, [esp + 0x75]
mov byte [esp + 0x82], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov edx, 0x95
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x100ab76c]
xor al, dl
mov byte [esp + ecx + 0x83], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xd
jb 0x10055450
lea eax, [esp + 0x83]
mov byte [esp + 0x90], 0
push eax
call esi
test eax, eax
jne 0x10055485
mov al, 1
jmp 0x10055487
xor al, al
test al, al
je 0x10055493
sub esp, 0x18
call fcn.1002d6f0
push ecx
mov ecx, dword [0x10b3b114]
mov edx, 0x100ab77c
call fcn.10062c50
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc