Function at 0x100469c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fdc32
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x1014f644]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x16c], eax
cmp dword [esi + 0x10], ebx
je 0x10046e4a
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x10046a12
mov eax, dword [esi]
jmp 0x10046a14
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne al
cmp al, bl
je 0x10046e4a
cmp dword [esi + 0x14], edi
jb 0x10046a31
mov eax, dword [esi]
jmp 0x10046a33
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x10046e4a
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, esi
call fcn.100412b0
mov ecx, eax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.1003ebf0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x17c]
cmp eax, ebx
je 0x10046a74
push eax
call fcn.100719b6
add esp, 4
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], ebx
cmp dword [ebp - 0x20], ebx
jne 0x10046a93
cmp dword [ebp - 0x1c], edi
jmp 0x10046e3c
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x30]
call fcn.1004d790
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x158]
cmp eax, ebx
je 0x10046abb
mov al, byte [eax + 8]
cmp al, bl
je 0x10046abb
cmp al, 7
je 0x10046ad3
lea ecx, [ebp - 0x15c]
push ecx
mov byte [ebp - 4], 2
call fcn.1004d720
cmp dword [ebp - 0x1c], edi
jmp 0x10046e3c
push 5
mov edi, 0xf
push str.files
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
call fcn.100071e0
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.1004dc30
mov byte [ebp - 4], 6
cmp dword [ebp - 0x38], 0x10
jb 0x10046b20
mov edx, dword [ebp - 0x4c]
push edx
call fcn.100719b6
add esp, 4
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
cmp esi, ebx
je 0x10046e18
mov al, byte [esi + 8]
cmp al, bl
je 0x10046e18
cmp al, 6
jne 0x10046e18
mov ecx, esi
call fcn.10065650
test al, al
jne 0x10046e18
lea eax, [ebp - 0x154]
mov dword [ebp - 0x160], ebx
call fcn.1004daf0
test eax, eax
je 0x10046d9b
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x154]
push ecx
mov ecx, dword [ebp - 0x160]
call fcn.1004db60
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x164]
cmp eax, ebx
je 0x10046d58
mov al, byte [eax + 8]
cmp al, bl
je 0x10046d58
cmp al, 7
jne 0x10046d58
push 0x1012f5e5
lea ecx, [ebp - 0x130]
call fcn.100072e0
push str.file
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 8
call fcn.100072e0
lea edx, [ebp - 0x130]
push edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 9
call fcn.1004d9f0
lea ecx, [ebp - 0xf8]
call fcn.10006cf0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0xc
call fcn.10006cf0
push 0x1012f5e5
lea ecx, [ebp - 0x14c]
call fcn.100072e0
push str.checksum
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xd
call fcn.100072e0
lea edx, [ebp - 0x14c]
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x168]
push ecx
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0xe
call fcn.1004d9f0
lea ecx, [ebp - 0x114]
call fcn.10006cf0
lea ecx, [ebp - 0x14c]
call fcn.10006cf0
cmp dword [ebp - 0x74], ebx
je 0x10046d45
cmp dword [ebp - 0x58], ebx
je 0x10046d45
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xcc], ebx
mov byte [ebp - 0xdc], bl
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 0xc0], bl
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x12
call fcn.10006dc0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xc0]
call fcn.10006dc0
mov edi, dword [ebp - 0x16c]
lea eax, [ebp - 0xdc]
call fcn.10047360
lea esi, [ebp - 0xdc]
call fcn.10046960
lea ecx, [ebp - 0x68]
call fcn.10006cf0
lea ecx, [ebp - 0x84]
call fcn.10006cf0
lea ecx, [ebp - 0x168]
push ecx
mov byte [ebp - 4], 6
call fcn.1004d720
mov esi, dword [ebp - 0x160]
inc esi
lea eax, [ebp - 0x154]
mov dword [ebp - 0x160], esi
call fcn.1004daf0
cmp esi, eax
jae 0x10046d95
mov edi, 0xf
jmp 0x10046b72
lea ecx, [ebp - 0x68]
call fcn.10006cf0
lea ecx, [ebp - 0x84]
call fcn.10006cf0
lea edx, [ebp - 0x168]
push edx
mov byte [ebp - 4], 6
call fcn.1004d720
lea eax, [ebp - 0x154]
push eax
mov byte [ebp - 4], 3
call fcn.1004d720
lea ecx, [ebp - 0x15c]
push ecx
mov byte [ebp - 4], 2
call fcn.1004d720
lea ecx, [ebp - 0x30]
call fcn.10006cf0
jmp 0x10046e4a
mov esi, dword [ebp - 0x150]
mov edi, vtable.hive::EasyJSON.0
mov dword [ebp - 0x154], edi
mov byte [ebp - 4], 0x13
cmp esi, ebx
je 0x10046dc4
mov eax, esi
call fcn.100650d0
push esi
call fcn.100719b6
add esp, 4
mov dword [ebp - 0x150], ebx
mov dword [ebp - method.hive::Noncopyable.virtual_0], vtable.hive::Noncopyable.0
mov dword [ebp - 0x15c], edi
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x158]
cmp eax, ebx
je 0x10046df8
mov esi, eax
call fcn.100650d0
push esi
call fcn.100719b6
add esp, 4
mov dword [ebp - 0x158], ebx
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - method.hive::Noncopyable.virtual_0], vtable.hive::Noncopyable.0
jb 0x10046e14
mov edx, dword [ebp - 0x30]
push edx
call fcn.100719b6
add esp, 4
mov al, 1
jmp 0x10046e4c
lea eax, [ebp - 0x154]
push eax
mov byte [ebp - 4], 3
call fcn.1004d720
lea ecx, [ebp - 0x15c]
push ecx
mov byte [ebp - 4], 2
call fcn.1004d720
cmp dword [ebp - 0x1c], 0x10
jb 0x10046e4a
mov edx, dword [ebp - 0x30]
push edx
call fcn.100719b6
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100719c1
mov esp, ebp
pop ebp
ret 4