Function at 0x4838dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x16
add esp, 0xfffff004
push eax
dec eax
jne 0x4838e5
mov eax, dword [ebp - 4]
add esp, 0xfffff608
push ebx
push esi
push edi
mov edi, eax
mov esi, 0x4d3c18
mov eax, 0x4ad1d4
call fcn.00498090
cmp byte [0x4ac64a], 0
jne 0x483963
mov word [ebp - 0x3060], 8
mov eax, esi
call fcn.0040fa54
add dword [ebp - 0x3054], 4
lea eax, [esi + 0xf8]
call fcn.0040fa54
add dword [ebp - 0x3054], 4
lea eax, [esi + 0x1f0]
call fcn.0040fa54
add dword [ebp - 0x3054], 4
inc dword [ebp - 0x3054]
sub dword [ebp - 0x3054], 0xd
inc byte [0x4ac64a]
mov dword [0x4d3c0c], esi
mov eax, esi
call fcn.0040fba8
lea eax, [esi + 0xf8]
call fcn.0040fba8
lea eax, [esi + 0x1f0]
call fcn.0040fba8
cmp dword [0x4c77c4], 0
setne dl
and edx, 1
mov byte [esi + 0x6ee], dl
mov byte [esi + 0x6ef], 0
test edi, edi
jne 0x4839d6
push esi
push 0x47e40a
push dword [0x4c4e24]
push str.FINDFILES
push dword [0x4b2108]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
jne 0x4839d6
mov ecx, dword [ebp - 0x3070]
mov dword fs:[0], ecx
jmp 0x484192
push 0x47f01f
xor ecx, ecx
xor edx, edx
mov eax, 7
call fcn.00472a48
mov eax, str.HELPSearchResults
call fcn.00474cf4
test edi, edi
je 0x483abb
push 0x4bcc49
lea edx, [ebp - 0x347c]
push edx
call fcn.00497c60
add esp, 8
mov cl, 1
mov byte [esi + 0x6ea], cl
mov byte [esi + 0x6e9], cl
mov byte [esi + 0x6e8], 0
mov edx, str.cth
lea eax, [esi + 0x1f0]
call fcn.0040fbd8
mov ebx, dword [0x4be478]
mov eax, esi
mov edx, ebx
call fcn.0040e140
lea edx, [ebx + 0x10]
lea eax, [esi + 0x10]
call fcn.00401b6c
lea edx, [ebx + 0x20]
lea eax, [esi + 0x20]
call fcn.0040e170
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x1c], eax
mov edx, dword [ebx + 0x2c]
mov dword [esi + 0x2c], edx
mov ecx, dword [ebx + 0x30]
mov dword [esi + 0x30], ecx
push esi
push edi
lea edi, [esi + 0x34]
lea esi, [ebx + 0x34]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea edi, [esi + 0x74]
lea esi, [ebx + 0x74]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
lea edi, [esi + 0xb4]
lea esi, [ebx + 0xb4]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebx + 0xf4]
mov dword [esi + 0xf4], eax
jmp 0x483b50
mov byte [ebp - 0x347c], 0
cmp byte [esi + 0x2e8], 0
je 0x483b50
cmp byte [esi + 0x6eb], 0
je 0x483aec
push 0x4ac819
lea edx, [ebp - 0x347c]
push edx
call fcn.00497b84
add esp, 8
cmp byte [esi + 0x6ec], 0
je 0x483b09
push 0x4ac81b
lea ecx, [ebp - 0x347c]
push ecx
call fcn.00497b84
add esp, 8
cmp byte [esi + 0x6ed], 0
je 0x483b26
push 0x4ac81d
lea eax, [ebp - 0x347c]
push eax
call fcn.00497b84
add esp, 8
push 0x4ac81f
lea edx, [ebp - 0x347c]
push edx
call fcn.00497b84
add esp, 8
lea ecx, [esi + 0x2e8]
push ecx
lea eax, [ebp - 0x347c]
push eax
call fcn.00497b84
add esp, 8
cmp dword [0x4c77c4], 0
je 0x483b6f
lea ecx, [ebp - 0x407c]
lea edx, [ebp - 0x387c]
mov eax, 0x4c5b84
call fcn.0045753c
mov word [ebp - 0x3060], 0x14
xor edx, edx
push 0
mov dword [0x4d3c10], edx
mov byte [0x4d3c15], 0
mov byte [0x4d3c14], 1
push 0
cmp byte [esi + 0x6e8], 0
mov ecx, 1
je 0x483ba9
cmp byte [esi + 0x6ee], 0
je 0x483baa
dec ecx
test edi, edi
jne 0x483bb6
lea edx, [esi + 0xf8]
jmp 0x483bb8
mov edx, edi
lea eax, [ebp - 0x242c]
call fcn.0041327c
inc dword [ebp - 0x3054]
mov word [ebp - 0x3060], 0x20
lea eax, [ebp - 0x451c]
call fcn.00413d44
lea eax, [ebp - 0x44f0]
call fcn.00413d44
lea eax, [ebp - 0x44c4]
call fcn.00413d44
jmp 0x4840ba
call fcn.0047cbc0
mov eax, dword [0x4d3c10]
test eax, eax
je 0x483c1a
mov edx, eax
mov eax, dword [0x4c4e30]
call fcn.0047dde1
xor edx, edx
mov dword [0x4d3c10], edx
xor ecx, ecx
mov cl, byte [ebp - 0x5130]
cmp ecx, 0x2e
jne 0x483c3c
xor eax, eax
mov al, byte [ebp - 0x512f]
cmp eax, 0x5c
jne 0x483c3c
lea edx, [ebp - 0x512e]
jmp 0x483c42
lea edx, [ebp - 0x5130]
push edx
lea eax, [ebp - 0x5930]
push eax
call fcn.00497c60
add esp, 8
lea eax, [ebp - 0x5930]
mov edx, 0x50
call fcn.0047d474
push eax
mov eax, 0x523
call fcn.004125b4
push eax
lea edx, [ebp - 0x5530]
push edx
call fcn.0049abc0
add esp, 0xc
lea ecx, [ebp - 0x5530]
push ecx
push 0x9b
push dword [0x4c4e30]
call sub.USER32.DLL_SetDlgItemTextA
cmp byte [esi + 0x6ea], 0
je 0x483f6f
xor ebx, ebx
mov word [ebp - 0x3060], 0x20
mov byte [ebp - 0x3071], 0
lea eax, [esi + 0x1f0]
call fcn.0040fda0
jmp 0x483ced
lea edx, [ebp - 0x5130]
xor ecx, ecx
mov eax, edi
call fcn.00412974
test al, al
je 0x483ced
mov bl, 1
xor eax, eax
mov al, byte [edi]
cmp eax, 0x2a
jne 0x483cfe
cmp byte [edi + 1], 0
jne 0x483cfe
mov byte [ebp - 0x3071], 1
jmp 0x483cfe
lea eax, [esi + 0x1f0]
call fcn.0040fd20
mov edi, eax
test eax, eax
jne 0x483cc0
test bl, bl
je 0x483f6f
cmp byte [ebp - 0x3071], 0
je 0x483d34
cmp byte [esi + 0x6ee], 0
jne 0x483d34
push 0
push 0
push 0
push 1
lea edx, [ebp - 0x5130]
mov eax, 0x4c5b84
xor ecx, ecx
call fcn.00457644
mov ebx, eax
test bl, bl
je 0x483f6f
cmp byte [ebp - 0x347c], 0
setne al
and eax, 1
push eax
push 1
lea ecx, [ebp - 0x4d30]
lea edx, [ebp - 0x5130]
mov eax, 0x4c5b84
call fcn.00455f70
mov word [ebp - 0x3060], 0x20
cmp eax, 2
je 0x4840dc
dec eax
jne 0x483f6f
mov byte [ebp - 0x5d30], 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x5d30]
lea edx, [ebp - 0x5130]
mov eax, 0x4c5b84
call fcn.00457644
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040f208
test eax, eax
je 0x483e40
lea edx, [ebp - 0x5d30]
push edx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x483dce
xor ebx, ebx
jmp 0x483e40
mov edx, 0x4ac821
lea eax, [ebp - 0x5d30]
call fcn.0040c040
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040f208
test eax, eax
je 0x483e08
lea ecx, [ebp - 0x5d30]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x483e08
xor ebx, ebx
jmp 0x483e40
mov edx, 0x4ac825
lea eax, [ebp - 0x5d30]
call fcn.0040c040
lea edx, [ebp - 0x5d30]
lea eax, [ebp - 0x5130]
call fcn.0040f208
test eax, eax
je 0x483e40
lea ecx, [ebp - 0x5d30]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x483e40
xor ebx, ebx
test bl, bl
je 0x4840ba
cmp byte [ebp - 0x347c], 0
jne 0x483ecf
xor edi, edi
jmp 0x483ea7
inc edi
test edi, 0x1f
jne 0x483e63
call fcn.0047cbc0
mov eax, esi
call fcn.0040fda0
jmp 0x483e9a
lea edx, [ebp - 0x6960]
mov ecx, 3
mov eax, ebx
call fcn.00412974
test al, al
je 0x483e9a
mov ecx, 0x4ac6d8
lea edx, [ebp - 0x6960]
lea eax, [ebp - 0x5130]
call fcn.00484200
jmp 0x483ea7
mov eax, esi
call fcn.0040fd20
mov ebx, eax
test eax, eax
jne 0x483e6c
lea edx, [ebp - 0x6960]
mov eax, 0x4c5b84
mov cl, 1
call fcn.00456ad8
test eax, eax
je 0x4840ba
cmp dword [0x4c77d4], 0
je 0x483e55
jmp 0x4840ba
lea edx, [ebp - 0x69fc]
mov eax, 0x4c5b84
call fcn.0045759c
call fcn.00449528
mov ecx, 0x4bdc78
mov edx, 0x4bd878
mov eax, 0x4c5b84
call fcn.00457568
mov edx, dword [ebp - 0x69ec]
mov dword [0x4bc428], edx
mov eax, dword [0x4be478]
call fcn.0040fba8
mov eax, esi
call fcn.0040fda0
jmp 0x483f23
mov edx, ebx
mov eax, dword [0x4be478]
call fcn.0040fbd8
mov eax, esi
call fcn.0040fd20
mov ebx, eax
test eax, eax
jne 0x483f17
mov byte [0x4bbb46], 1
xor edx, edx
mov dword [0x4bbadc], edx
xor ecx, ecx
mov dword [0x4bbb08], ecx
lea eax, [ebp - 0x347c]
push eax
push 0x4ac829
push 0x4bcc48
call fcn.0049abc0
add esp, 0xc
mov eax, 0x4c5b84
call fcn.00452c08
jmp 0x4840ba
cmp byte [esi + 0x6e9], 0
je 0x4840ba
xor ebx, ebx
mov word [ebp - 0x3060], 0x20
mov eax, esi
call fcn.0040fda0
jmp 0x483faa
lea edx, [ebp - 0x5130]
mov ecx, 3
mov eax, edi
call fcn.00412974
test al, al
je 0x483faa
mov bl, 1
jmp 0x483fb7
mov eax, esi
call fcn.0040fd20
mov edi, eax
test eax, eax
jne 0x483f90
test bl, bl
je 0x4840ba
cmp byte [ebp - 0x347c], 0
jne 0x483ff8
push 0
lea edx, [ebp - 0x5130]
push edx
lea ecx, [ebp - 0x347c]
xor edx, edx
xor eax, eax
call fcn.0040f788
push 0
push 0
lea eax, [ebp - 0x169fc]
xor ecx, ecx
xor edx, edx
call fcn.0040f788
jmp 0x4840ba
mov word [ebp - 0x3060], 0x2c
lea eax, [ebp - 0x304c]
call fcn.0040963c
inc dword [ebp - 0x3054]
mov word [ebp - 0x3060], 0x38
push 1
push 0
lea ecx, [ebp - 0x4d30]
lea edx, [ebp - 0x5130]
lea eax, [ebp - 0x304c]
call fcn.00409730
test al, al
jne 0x484052
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x304c]
mov edx, 2
call fcn.004096ec
jmp 0x4840ba
push 0
lea ecx, [ebp - 0x5130]
push ecx
lea ecx, [ebp - 0x347c]
xor edx, edx
xor eax, eax
call fcn.0040f788
jmp 0x48407f
push 0
push 0
lea eax, [ebp - 0x169fc]
xor ecx, ecx
mov edx, ebx
call fcn.0040f788
lea edx, [ebp - 0x169fc]
lea eax, [ebp - 0x304c]
mov ecx, 0x10000
call fcn.00409cb8
mov ebx, eax
test eax, eax
jne 0x48406c
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x304c]
mov edx, 2
call fcn.004096ec
mov word [ebp - 0x3060], 0x20
lea edx, [ebp - 0x5130]
lea eax, [ebp - 0x242c]
call fcn.004133b0
test eax, eax
jne 0x4840dc
cmp dword [0x4c77d4], 0
je 0x483bf8
mov byte [0x4d3c14], 0
mov eax, dword [0x4d3c10]
test eax, eax
je 0x484100
mov edx, eax
mov eax, dword [0x4c4e30]
call fcn.0047dde1
xor edx, edx
mov dword [0x4d3c10], edx
mov byte [0x4d3c15], 0
mov eax, 0x270
call fcn.004125b4
push eax
push 0x9b
push dword [0x4c4e30]
call sub.USER32.DLL_SetDlgItemTextA
cmp dword [0x4c77d4], 0
je 0x484138
push dword [0x4c4e30]
call sub.USER32.DLL_DestroyWindow
jmp 0x48413d
call fcn.004749f8
cmp dword [0x4c77c4], 0
je 0x48416f
cmp byte [esi + 0x6ef], 0
jne 0x484165
lea ecx, [ebp - 0x407c]
lea edx, [ebp - 0x387c]
mov eax, 0x4c5b84
call fcn.004573a4
mov eax, 0x4c4e38
call fcn.0045a124
dec dword [ebp - 0x3054]
lea eax, [ebp - 0x242c]
mov edx, 2
call fcn.00413354
mov ecx, dword [ebp - 0x3070]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret