Function at 0x47ea50
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x58ceb9
mov eax, dword fs:[0]
push eax
sub esp, 0x6f4
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x6f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x708]
mov dword fs:[0], eax
mov eax, dword [esp + 0x734]
mov esi, ecx
mov dword [esp + 0x38], esi
xor ebx, ebx
mov dword [esp + 0x710], ebx
mov dword [esi], eax
cmp eax, 1
je 0x47eac3
cmp dword [esp + 0x730], 0x10
jb 0x47f4b0
mov eax, dword [esp + 0x71c]
push eax
jmp 0x47f4a8
mov ebp, 8
cmp dword [esi + 0x38], ebp
jb 0x47ead2
mov eax, dword [esi + 0x24]
jmp 0x47ead5
lea eax, [esi + 0x24]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
jne 0x47eb02
cmp dword [esi + 0x1c], ebp
jb 0x47eaec
mov esi, dword [esi + 8]
jmp 0x47eaee
add esi, ebp
push esi
call edi
test eax, eax
jne 0x47eb02
cmp dword [esp + 0x730], 0x10
jmp 0x47f49e
mov edx, dword [0x5ef5f4]
test edx, edx
jne 0x47eb11
call fcn.00404b70
mov ecx, dword [0x5ef5f4]
push 1
lea eax, [esp + 0x1c8]
push eax
call fcn.0047a8d0
mov byte [esp + 0x710], 1
mov eax, dword [esp + 0x1d8]
cmp eax, 6
jbe 0x47eb8c
lea edx, [esp + 0x1c4]
push edx
lea ecx, [eax - 6]
xor edx, edx
lea esi, [esp + 0x104]
call fcn.00403910
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0x1d0]
mov byte [esp + 0x71c], 2
call fcn.00405d70
mov byte [esp + 0x710], 1
cmp dword [esp + 0x118], ebp
jb 0x47eb8c
mov eax, dword [esp + 0x104]
push eax
call fcn.005273b8
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x720]
push ecx
mov ebp, 0xf
lea ecx, [esp + 0x198]
mov dword [esp + 0x1b0], ebp
mov dword [esp + 0x1ac], ebx
mov byte [esp + 0x19c], bl
call fcn.00405870
mov byte [esp + 0x710], 3
push ebx
push 0x59b313
lea ecx, [esp + 0x178]
mov dword [esp + 0x190], ebp
mov dword [esp + 0x18c], ebx
mov byte [esp + 0x17c], bl
call fcn.00405bb0
push 4
push str.UID
lea eax, [esp + 0x178]
mov byte [esp + 0x718], 4
call fcn.0040eb30
mov edx, dword [0x5ef5f4]
test edx, edx
jne 0x47ec16
call fcn.00404b70
mov eax, dword [0x5ef5f4]
push 2
push eax
lea esi, [esp + 0xb4]
call fcn.0047ace0
push 0xffffffffffffffff
push ebx
push eax
lea esi, [esp + 0x17c]
mov byte [esp + 0x71c], 5
call fcn.0040ea40
mov edi, 0x10
mov byte [esp + 0x710], 4
cmp dword [esp + 0xc4], edi
jb 0x47ec68
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.005273b8
add esp, 4
push 5
push str.Qid
lea eax, [esp + 0x178]
call fcn.0040eb30
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x1c8]
call fcn.004924e0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea esi, [esp + 0x17c]
mov byte [esp + 0x71c], 6
call fcn.0040ea40
mov byte [esp + 0x710], 4
cmp dword [esp + 0xe0], edi
jb 0x47eccb
mov eax, dword [esp + 0xcc]
push eax
call fcn.005273b8
add esp, 4
push 8
push str.SoftID
lea eax, [esp + 0x178]
call fcn.0040eb30
mov ecx, dword [0x5ef5f4]
test ecx, ecx
jne 0x47eced
call fcn.00404b70
mov edx, dword [0x5ef5f4]
push 3
push edx
lea esi, [esp + 0xec]
call fcn.0047ace0
push 0xffffffffffffffff
push ebx
push eax
lea esi, [esp + 0x17c]
mov byte [esp + 0x71c], 7
call fcn.0040ea40
mov byte [esp + 0x710], 4
cmp dword [esp + 0xfc], edi
jb 0x47ed3b
mov eax, dword [esp + 0xe8]
push eax
call fcn.005273b8
add esp, 4
push 9
push str.SoftVer
lea eax, [esp + 0x178]
call fcn.0040eb30
push 7
push str.1.0.1.0
lea eax, [esp + 0x178]
call fcn.0040eb30
mov ecx, dword [0x5ef5f4]
test ecx, ecx
jne 0x47ed70
call fcn.00404b70
mov edx, dword [0x5ef5f4]
push 2
push edx
lea esi, [esp + 0x1b0]
call fcn.0047ace0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x714], 8
call fcn.004924e0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x71c], 9
call fcn.0040ea40
mov byte [esp + 0x710], 8
cmp dword [esp + 0xa8], edi
jb 0x47edd6
mov ecx, dword [esp + 0x94]
push ecx
call fcn.005273b8
add esp, 4
mov edx, dword [0x5ef5f4]
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
test edx, edx
jne 0x47edfa
call fcn.00404b70
mov eax, dword [0x5ef5f4]
push 3
push eax
lea esi, [esp + 0x124]
call fcn.0047ace0
push 0xffffffffffffffff
push ebx
push eax
lea esi, [esp + 0x1b4]
mov byte [esp + 0x71c], 0xa
call fcn.0040ea40
mov byte [esp + 0x710], 8
cmp dword [esp + 0x134], edi
jb 0x47ee47
mov ecx, dword [esp + 0x120]
push ecx
call fcn.005273b8
add esp, 4
push 7
push str.1.0.1.0
lea eax, [esp + 0x1b0]
call fcn.0040eb30
push 0x20
push str.eycp1e75c5b90xa52781aecca8bcb846
lea eax, [esp + 0x1b0]
call fcn.0040eb30
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1cc]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00405870
lea esi, [esp + 0x154]
call fcn.0048f550
add esp, 0x1c
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0x714], 0xb
call fcn.004924e0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x71c], 0xc
call fcn.00405870
cmp dword [esp + 0x70], edi
jb 0x47eee0
mov edx, dword [esp + 0x5c]
push edx
call fcn.005273b8
add esp, 4
mov byte [esp + 0x710], 8
cmp dword [esp + 0x150], 8
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
jb 0x47ef0e
mov eax, dword [esp + 0x13c]
push eax
call fcn.005273b8
add esp, 4
push 6
push str.sign
lea eax, [esp + 0x178]
call fcn.0040eb30
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1b0]
push ecx
lea esi, [esp + 0x17c]
call fcn.0040ea40
push 0x3e7
lea edx, [esp + 0x321]
push ebx
push edx
mov byte [esp + 0x328], bl
call fcn.0052e300
mov eax, dword [esp + 0x180]
add esp, 0xc
mov dword [esp + 0x1c], 0x3e8
cmp dword [esp + 0x188], edi
jae 0x47ef74
lea eax, [esp + 0x174]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x188]
lea edx, [esp + 0x320]
push edx
push ecx
call fcn.0048e830
add esp, 0xc
push 6
push str._data
lea eax, [esp + 0x194]
call fcn.0040eb30
lea eax, [esp + 0x31c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47efb0
sub eax, edx
push eax
lea edx, [esp + 0x320]
push edx
lea eax, [esp + 0x194]
call fcn.0040eb30
lea eax, [esp + 0x28c]
push eax
call fcn.004a0fb0
mov byte [esp + 0x710], 0xd
mov eax, dword [esp + 0x190]
cmp dword [esp + 0x1a4], edi
jae 0x47effa
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x290]
call fcn.004a11c0
mov ebp, dword [esp + 0x314]
cmp dword [ebp + 0x24], 0xc8
je 0x47f10e
lea ecx, [esp + 0x28c]
mov byte [esp + 0x710], 8
call fcn.004a10a0
cmp dword [esp + 0x1c0], edi
jb 0x47f048
mov ecx, dword [esp + 0x1ac]
push ecx
call fcn.005273b8
add esp, 4
mov esi, 0xf
mov dword [esp + 0x1c0], esi
mov dword [esp + 0x1bc], ebx
mov byte [esp + 0x1ac], bl
cmp dword [esp + 0x188], edi
jb 0x47f07b
mov edx, dword [esp + 0x174]
push edx
call fcn.005273b8
add esp, 4
mov dword [esp + 0x188], esi
mov dword [esp + 0x184], ebx
mov byte [esp + 0x174], bl
cmp dword [esp + 0x1a4], edi
jb 0x47f0a9
mov eax, dword [esp + 0x190]
push eax
call fcn.005273b8
add esp, 4
cmp dword [esp + 0x1dc], 8
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x1a0], ebx
mov byte [esp + 0x190], bl
jb 0x47f0d8
mov ecx, dword [esp + 0x1c8]
push ecx
call fcn.005273b8
add esp, 4
xor edx, edx
mov dword [esp + 0x1dc], 7
mov dword [esp + 0x1d8], ebx
mov word [esp + 0x1c8], dx
cmp dword [esp + 0x730], edi
jb 0x47f4b0
mov eax, dword [esp + 0x71c]
push eax
jmp 0x47f4a8
mov edi, dword [ebp + 0x1c]
sub edi, dword [ebp + 0x18]
lea eax, [ebp + 0x1c]
add ebp, 0x18
lea esi, [edi + 1]
push esi
mov dword [esp + 0x24], eax
call fcn.0052680d
add esp, 4
push esi
push ebx
push eax
mov dword [esp + 0x28], eax
call fcn.0052e300
add esp, 0xc
xor esi, esi
cmp edi, ebx
jbe 0x47f164
nop
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
sub edx, dword [ebp]
cmp esi, edx
jb 0x47f152
call fcn.00527d8a
mov eax, dword [ebp]
mov cl, byte [esi + eax]
mov edx, dword [esp + 0x1c]
mov byte [esi + edx], cl
inc esi
cmp esi, edi
jb 0x47f140
mov eax, dword [esp + 0x1c]
push eax
call fcn.00492110
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x200]
push edx
mov esi, eax
mov byte [esp + 0x20], 1
mov byte [esp + 0x21], bl
call fcn.004a26e0
and dword [esp + 0x2c], 0xfffffe00
mov dword [esp + 0x30], ebx
mov byte [esp + 0x710], 0x10
mov eax, esi
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47f1b7
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x44]
call fcn.00405bb0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x248]
mov byte [esp + 0x71c], 0x11
call fcn.00405870
mov eax, dword [esp + 0x240]
mov ebp, 0x10
cmp dword [esp + 0x254], ebp
jae 0x47f203
lea eax, [esp + 0x240]
mov ecx, dword [esp + 0x250]
lea edx, [esp + 0x24]
push edx
add ecx, eax
push ecx
push eax
lea eax, [esp + 0x208]
push eax
call fcn.004a27e0
mov byte [esp + 0x710], 0x10
mov byte [esp + 0x18], al
cmp dword [esp + 0x54], ebp
jb 0x47f23f
mov ecx, dword [esp + 0x40]
push ecx
call fcn.005273b8
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x47f250
push eax
call fcn.0052744f
add esp, 4
cmp byte [esp + 0x18], bl
jne 0x47f2aa
lea eax, [esp + 0x24]
mov byte [esp + 0x710], 0xe
call fcn.004a6000
lea edi, [esp + 0x1fc]
call fcn.0047f4e0
lea ecx, [esp + 0x28c]
mov byte [esp + 0x710], 8
call fcn.004a10a0
cmp dword [esp + 0x1c0], ebp
jb 0x47f2a0
mov edx, dword [esp + 0x1ac]
push edx
call fcn.005273b8
add esp, 4
mov esi, 0xf
jmp 0x47f3f0
push str.cpid
lea edx, [esp + 0x28]
push edx
call fcn.004a6850
cmp byte [eax + 8], bl
je 0x47f3a1
push str.cpid
lea eax, [esp + 0x28]
push eax
call fcn.004a6850
cmp byte [eax + 8], 4
jne 0x47f3a1
push str.cpid
lea ecx, [esp + 0x28]
push ecx
call fcn.004a6850
lea esi, [esp + 0x74]
mov ecx, eax
call fcn.004a6160
push eax
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x714], 0x12
call fcn.00490630
add esp, 4
mov byte [esp + 0x710], 0x14
cmp dword [esp + 0x8c], ebp
jb 0x47f32b
mov edx, dword [esp + 0x78]
push edx
call fcn.005273b8
add esp, 4
lea eax, [esp + 0x1e0]
mov esi, 0xf
push eax
mov ecx, 0x59b2fc
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.00404b00
test eax, eax
je 0x47f393
lea ecx, [esp + 0x154]
push ecx
lea ecx, [esp + 0x1e4]
call fcn.004924e0
add esp, 4
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x3c
mov byte [esp + 0x71c], 0x15
call fcn.00405870
lea ecx, [esp + 0x154]
call fcn.004062d0
lea ecx, [esp + 0x1e0]
call fcn.00406300
jmp 0x47f3a6
mov esi, 0xf
lea eax, [esp + 0x24]
mov byte [esp + 0x710], 0xe
call fcn.004a6000
lea edi, [esp + 0x1fc]
call fcn.0047f4e0
lea ecx, [esp + 0x28c]
mov byte [esp + 0x710], 8
call fcn.004a10a0
cmp dword [esp + 0x1c0], ebp
jb 0x47f3f0
mov edx, dword [esp + 0x1ac]
push edx
call fcn.005273b8
add esp, 4
mov byte [esp + 0x1ac], bl
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x1c0], esi
cmp dword [esp + 0x188], ebp
jb 0x47f41e
mov eax, dword [esp + 0x174]
push eax
call fcn.005273b8
add esp, 4
mov byte [esp + 0x174], bl
mov dword [esp + 0x184], ebx
mov dword [esp + 0x188], esi
cmp dword [esp + 0x1a4], ebp
jb 0x47f44c
mov ecx, dword [esp + 0x190]
push ecx
call fcn.005273b8
add esp, 4
cmp dword [esp + 0x1dc], 8
mov byte [esp + 0x190], bl
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x1a4], esi
jb 0x47f47b
mov edx, dword [esp + 0x1c8]
push edx
call fcn.005273b8
add esp, 4
xor eax, eax
cmp dword [esp + 0x730], ebp
mov word [esp + 0x1c8], ax
mov dword [esp + 0x1d8], ebx
mov dword [esp + 0x1dc], 7
jb 0x47f4b0
mov ecx, dword [esp + 0x71c]
push ecx
call fcn.005273b8
add esp, 4
mov ecx, dword [esp + 0x708]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6f0]
xor ecx, esp
call fcn.005273c3
add esp, 0x700
ret 0x20