Function at 0x10029860
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x115c
call fcn.101f99e0
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1148], ecx
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x1002a309
nop
cmp dword [esi + 0x24], 8
lea ebx, [esi + 0x10]
mov eax, ebx
jb 0x1002989d
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.100987c0
add esp, 8
cmp dword [ebp - 0x47c], 0
jne 0x100298ff
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x1002a2c5
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100298f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
jmp 0x1002a2c5
cmp dword [ebp - 0x478], 8
lea eax, [ebp - 0x48c]
jb 0x10029914
mov eax, dword [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x113c]
call fcn.1009cdd0
lea eax, [ebp - 0xb20]
push eax
lea eax, [ebp - 0x4ec]
push eax
call fcn.100987c0
add esp, 8
lea eax, [ebp - 0x1138]
mov ecx, 0x1025b480
push 1
push eax
lea eax, [ebp - 0x114c]
push eax
call fcn.10002ad0
push dword [ebp - 0x114c]
lea eax, [ebp - 0x4d4]
push eax
call fcn.100987c0
xor eax, eax
mov dword [ebp - 0x464], 0
add esp, 8
mov word [ebp - 0x474], ax
mov dword [ebp - 0x44c], eax
mov word [ebp - 0x45c], ax
mov dword [ebp - 0x434], eax
mov word [ebp - 0x444], ax
lea eax, [ebp - 0x1138]
push eax
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x430], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10029c68
push 0
push 0
sub esp, 0x18
lea ecx, [ebp - 0x1138]
mov edx, esp
lea edi, [ecx + 2]
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100299f0
sub ecx, edi
lea eax, [ebp - 0x1138]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.100070c0
lea eax, [ebp - 0x42c]
push eax
call fcn.1011f9a0
mov ecx, eax
call fcn.1011f890
mov edi, eax
lea eax, [ebp - 0x474]
cmp eax, edi
je 0x10029a7c
mov ecx, eax
call fcn.10005250
mov ecx, dword [edi]
mov dword [ebp - 0x474], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x470], ecx
mov eax, dword [edi + 8]
mov dword [ebp - 0x46c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x468], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x464], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x460], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x10029abc
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029ab2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x1138]
push eax
call fcn.10057610
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.100987c0
mov edi, eax
add esp, 0x34
lea eax, [ebp - 0x45c]
cmp eax, edi
je 0x10029b77
mov ecx, eax
call fcn.10005250
mov ecx, dword [edi]
mov dword [ebp - 0x45c], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x458], ecx
mov eax, dword [edi + 8]
mov dword [ebp - 0x454], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x450], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x44c], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x448], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x10029bb7
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029bad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.100987c0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x444]
cmp eax, edi
je 0x10029c28
mov ecx, eax
call fcn.10005250
mov ecx, dword [edi]
mov dword [ebp - 0x444], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x440], ecx
mov eax, dword [edi + 8]
mov dword [ebp - 0x43c], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x438], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x434], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x430], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x10029c68
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029c5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
cmp dword [ebx + 0x14], 8
mov ecx, ebx
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x1140], edx
mov dword [ebp - 0x1144], ebx
jb 0x10029c9b
mov ecx, dword [ebx]
mov dword [ebp - 0x1144], ecx
cmp edx, 8
jae 0x10029cd5
mov eax, dword [ecx]
mov dword [ebp - 0x42c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x428], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x418], 7
jmp 0x10029d2b
mov edi, edx
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x10029ce7
mov edi, SysReAllocString
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x42c]
call fcn.10006bb0
mov ecx, dword [ebp - 0x1140]
mov dword [ebp - 0x42c], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x1144]
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x1140]
add esp, 0xc
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], edi
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x504]
push 0x10000
push eax
call fcn.10091ab0
mov edx, dword [ebp - 0x418]
add esp, 0xc
cmp edx, 8
jb 0x10029d86
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029d7c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
lea eax, [ebp - 0x504]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.1000b980
push ebx
lea ecx, [ebp - 0x4a4]
call fcn.10005170
mov edi, dword [ebp - 0x1148]
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [edi + 0x20]
call fcn.1001d7b0
push eax
add eax, 0x10
lea ecx, [edi + 0x20]
push eax
push 0
lea eax, [ebp - 0x1154]
push eax
call fcn.1001f180
mov edx, dword [ebp - 0x490]
cmp edx, 8
jb 0x10029e0f
mov ecx, dword [ebp - 0x4a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029e05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x4a8]
cmp edx, 0x10
jb 0x10029e49
mov ecx, dword [ebp - 0x4bc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10029e3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
cmp dword [ebp - 0x430], 8
lea ebx, [ebp - 0x444]
jb 0x10029e5e
mov ebx, dword [ebp - 0x444]
cmp dword [ebp - 0x448], 8
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x1140], eax
jb 0x10029e7f
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x1140], eax
cmp dword [ebp - 0x460], 8
lea edi, [ebp - 0x474]
jb 0x10029e94
mov edi, dword [ebp - 0x474]
cmp dword [ebp - 0x4c0], 8
lea edx, [ebp - 0x4d4]
jb 0x10029ea9
mov edx, dword [ebp - 0x4d4]
cmp dword [ebp - 0x4d8], 8
lea ecx, [ebp - 0x4ec]
jb 0x10029ebe
mov ecx, dword [ebp - 0x4ec]
cmp dword [ebp - 0x478], 8
lea eax, [ebp - 0x48c]
jb 0x10029ed3
mov eax, dword [ebp - 0x48c]
push ebx
push dword [ebp - 0x1140]
push edi
push edx
push ecx
push eax
push 0x3c
push 0x3c
lea eax, [ebp - 0x42c]
push str._type_:_d__rule_group_id_:__d___plugin_name_:_class_id_:__s____name_:__s__t_t_t_t_t_t_t_t_t_t___file_path_:__s__t_t_t_t_t_t_t_t_t_t___file_md5_:__s__t_t_t_t_t_t_t_t_t_t___company_name_:__s__t_t_t_t_t_t_t_t_t_t___file_desc_:__s_
push eax
call fcn.10098240
add esp, 0x28
lea ecx, [ebp - 0x4bc]
mov edi, eax
lea eax, [ebp - 0x504]
push eax
call fcn.1000b980
mov eax, dword [edi + 0xc]
mov ecx, dword [edi]
mov dword [ebp - 0x498], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x4a4], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x494], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x4a0], ecx
mov ecx, dword [edi + 8]
mov dword [ebp - 0x490], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x49c], ecx
mov ecx, dword [ebp - 0x1148]
push eax
call fcn.1001d7b0
mov ecx, dword [ebp - 0x1148]
push eax
add eax, 0x10
push eax
push 0
lea eax, [ebp - 0x115c]
push eax
call fcn.1001f180
mov edx, dword [ebp - 0x490]
cmp edx, 8
jb 0x10029fbd
mov ecx, dword [ebp - 0x4a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10029fb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x4a8]
cmp edx, 0x10
jb 0x10029ff7
mov ecx, dword [ebp - 0x4bc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10029fed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x1002a037
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a02d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x4f0]
cmp edx, 0x10
jb 0x1002a071
mov ecx, dword [ebp - 0x504]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a067
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x430]
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 0xf
mov byte [ebp - 0x504], 0
cmp edx, 8
jb 0x1002a0cc
mov ecx, dword [ebp - 0x444]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x448]
xor eax, eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 7
mov word [ebp - 0x444], ax
cmp edx, 8
jb 0x1002a129
mov ecx, dword [ebp - 0x45c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a11f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x460]
xor eax, eax
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 7
mov word [ebp - 0x45c], ax
cmp edx, 8
jb 0x1002a186
mov ecx, dword [ebp - 0x474]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a17c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x4c0]
xor eax, eax
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 7
mov word [ebp - 0x474], ax
cmp edx, 8
jb 0x1002a1e3
mov ecx, dword [ebp - 0x4d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a1d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edx, dword [ebp - 0x114c]
xor eax, eax
mov word [ebp - 0x4d4], ax
add edx, 0xfffffff0
mov dword [ebp - 0x4c4], 0
or eax, 0xffffffff
mov dword [ebp - 0x4c0], 7
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002a21e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4d8]
cmp edx, 8
jb 0x1002a25e
mov ecx, dword [ebp - 0x4ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a254
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
xor eax, eax
mov dword [ebp - 0x4dc], 0
lea ecx, [ebp - 0x113c]
mov dword [ebp - 0x4d8], 7
mov word [ebp - 0x4ec], ax
call fcn.1009d010
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x1002a2c2
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002a2b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a31c
push edx
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov edi, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1002a2eb
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1002a2e7
cmp esi, dword [eax + 8]
jne 0x1002a2e7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1002a2d7
mov esi, eax
jmp 0x1002a301
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1002a301
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1002a2f5
cmp esi, dword [edi]
jne 0x10029890
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 4
call fcn.101e6c40
int3