Function at 0x10055110
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 0x10055747
push 0x3f6f144f
lea ecx, [esp + 0x1c]
mov dword [0x101da3d8], ebx
call fcn.10059300
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call esi
test eax, eax
je 0x10055179
push 0x3f6f144f
lea ecx, [esp + 0x1c]
call fcn.10059300
push eax
call esi
add eax, 0x345
mov dword [0x10b3c114], eax
jmp 0x1005517e
mov eax, dword [0x10b3c114]
cmp byte [0x10b3c10f], 0
jne 0x10055747
test eax, eax
je 0x10055747
cmp byte [eax], 0
jne 0x10055747
mov edi, 0x100ac638
lea ecx, [esp + 0x18]
sub edi, 0x7f852c57
push edi
call fcn.1005a170
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100551d9
push 0x398360ba
lea ecx, [esp + 0x14]
call fcn.1005a1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100551d9
xor al, al
jmp 0x100551db
mov al, 1
test al, al
je 0x10055344
push edi
lea ecx, [esp + 0x1c]
call fcn.1005a170
push eax
call esi
test eax, eax
jne 0x1005520d
push 0x398360ba
lea ecx, [esp + 0x14]
call fcn.1005a1e0
push eax
call esi
test eax, eax
jne 0x1005520d
xor al, al
jmp 0x1005520f
mov al, 1
test al, al
je 0x1005572b
mov edx, 0x90
xor ecx, ecx
nop
mov al, byte [ecx + 0x100ac64c]
xor al, dl
mov byte [esp + ecx + 0x2e], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x12
jb 0x10055220
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 0x100552a1
mov edx, 0xc5
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100ac660]
xor al, dl
mov byte [esp + ecx + 0x22], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xb
jb 0x10055260
lea eax, [esp + 0x22]
mov byte [esp + 0x2d], 0
push eax
call esi
test eax, eax
je 0x100552a1
push 0x1a3f8153
lea ecx, [esp + 0x14]
call fcn.1005a250
push eax
call esi
test eax, eax
je 0x100552a1
mov al, 1
jmp 0x100552a3
xor al, al
test al, al
je 0x1005572b
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 0x10055320
test dl, dl
je 0x1005531c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10055320
add eax, 2
add ecx, 2
test dl, dl
jne 0x10055300
xor eax, eax
jmp 0x10055325
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10055733
push eax
push eax
push ecx
push eax
push 0x10053830
sub esp, 8
push eax
call fcn.10062a20
jmp 0x10055733
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 0x10055350
lea eax, [esp + 0x2e]
mov byte [esp + 0x3f], 0
push eax
call esi
test eax, eax
jne 0x10055725
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 0x10055390
lea eax, [esp + 0x91]
mov byte [esp + 0x9f], 0
push eax
call esi
test eax, eax
jne 0x10055725
mov edx, 0x7d
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ac698]
xor al, dl
mov byte [esp + ecx + 0xd1], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x17
jb 0x100553d0
lea eax, [esp + 0xd1]
mov byte [esp + 0xe8], 0
push eax
call esi
test eax, eax
jne 0x10055725
mov edx, 0x84
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ac6b0]
xor al, dl
mov byte [esp + ecx + 0x67], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xd
jb 0x10055410
lea eax, [esp + 0x67]
mov byte [esp + 0x74], 0
push eax
call esi
test eax, eax
jne 0x10055725
mov edx, 0xd2
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x100ac6c0]
xor al, dl
mov byte [esp + ecx + 0xa0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xe
jb 0x10055450
lea eax, [esp + 0xa0]
mov byte [esp + 0xae], 0
push eax
call esi
test eax, eax
jne 0x10055725
mov edx, 0xc7
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ac6d0]
xor al, dl
mov byte [esp + ecx + 0x4d], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10055490
lea eax, [esp + 0x4d]
mov byte [esp + 0x59], 0
push eax
call esi
test eax, eax
jne 0x10055725
mov eax, 0x100ac6e0
lea ecx, [esp + 0x101]
sub eax, 0x58b23a27
push eax
call fcn.1005a2c0
push eax
call esi
test eax, eax
jne 0x10055725
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 0x100554f0
lea eax, [esp + 0xaf]
mov byte [esp + 0xbf], 0
push eax
call esi
test eax, eax
jne 0x10055725
mov edx, 0xda
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ac700]
xor al, dl
mov byte [esp + ecx + 0xc0], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x10
jb 0x10055530
lea eax, [esp + 0xc0]
mov byte [esp + 0xd0], 0
push eax
call esi
test eax, eax
jne 0x10055725
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 0x10055570
lea eax, [esp + 0xe9]
mov byte [esp + 0x100], 0
push eax
call esi
test eax, eax
jne 0x10055725
push 0x868ad519
lea ecx, [esp + 0x1c]
call fcn.1005a350
push eax
call esi
test eax, eax
jne 0x10055725
mov edx, 0xec
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x100ac738]
xor al, dl
mov byte [esp + ecx + 0x10c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x23
jb 0x100555d0
lea eax, [esp + 0x10c]
mov byte [esp + 0x12f], 0
push eax
call esi
test eax, eax
jne 0x10055725
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 0x10055610
lea eax, [esp + 0x41]
mov byte [esp + 0x4c], 0
push eax
call esi
test eax, eax
jne 0x10055725
push 0x85b40970
lea ecx, [esp + 0x26]
call fcn.1005a3d0
push eax
call esi
test eax, eax
jne 0x10055725
mov edx, 0x76
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ac774]
xor al, dl
mov byte [esp + ecx + 0x5a], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xc
jb 0x10055660
lea eax, [esp + 0x5a]
mov byte [esp + 0x66], 0
push eax
call esi
test eax, eax
jne 0x10055725
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 0x10055725
mov edx, 0xcb
xor ecx, ecx
nop dword [eax]
mov al, byte [ecx + 0x100ac784]
xor al, dl
mov byte [esp + ecx + 0x75], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xd
jb 0x100556b0
lea eax, [esp + 0x75]
mov byte [esp + 0x82], 0
push eax
call esi
test eax, eax
jne 0x10055725
mov edx, 0x95
xor ecx, ecx
nop dword [eax]
nop word [eax + eax]
mov al, byte [ecx + 0x100ac794]
xor al, dl
mov byte [esp + ecx + 0x83], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0xd
jb 0x100556f0
lea eax, [esp + 0x83]
mov byte [esp + 0x90], 0
push eax
call esi
test eax, eax
jne 0x10055725
mov al, 1
jmp 0x10055727
xor al, al
test al, al
je 0x10055733
sub esp, 0x18
call fcn.1002d6f0
push ecx
mov ecx, dword [0x10b3c114]
mov edx, 0x100ac7a4
call fcn.100630a0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc