Function at 0x4dea90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1cb9
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x513454]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
lea eax, [ebp - 0x48]
push eax
call fcn.004de8a0
add esp, 4
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
call fcn.0041e0e4
movzx ecx, al
test ecx, ecx
je 0x4deb07
mov dword [ebp - 0x128], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401b96
mov eax, dword [ebp - 0x128]
jmp 0x4df6ba
lea edx, [ebp - 0x124]
push edx
call fcn.004de9c0
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x124]
call fcn.0041e0e4
movzx eax, al
test eax, eax
jne 0x4deb42
lea eax, [ebp - 0x124]
call fcn.004020de
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4deb75
mov dword [ebp - 0x12c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00401b96
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401b96
mov eax, dword [ebp - 0x12c]
jmp 0x4df6ba
lea ecx, [ebp - 0x11c]
call fcn.004dd8b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x124]
call fcn.004020de
push eax
lea ecx, [ebp - 0x11c]
call fcn.004ddfd0
test eax, eax
jne 0x4debe1
mov dword [ebp - 0x130], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.004dcff0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00401b96
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401b96
mov eax, dword [ebp - 0x130]
jmp 0x4df6ba
lea ecx, [ebp - 0x11c]
call fcn.004de4d0
lea ecx, [ebp - 0x40]
call fcn.004dc890
mov byte [ebp - 4], 3
push 0x67
lea ecx, [ebp - 0x40]
call fcn.004dc6f0
push 0x3c
call fcn.00470e64
add esp, 4
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x138], 0
je 0x4dec32
mov ecx, dword [ebp - 0x138]
call fcn.004dbe80
mov dword [ebp - 0x238], eax
jmp 0x4dec3c
mov dword [ebp - 0x238], 0
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x134], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x4deca9
mov dword [ebp - 0x13c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004dc870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.004dcff0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00401b96
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401b96
mov eax, dword [ebp - 0x13c]
jmp 0x4df6ba
mov byte [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.004dcf40
test eax, eax
jne 0x4ded20
mov dword [ebp - 0x140], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004dc870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.004dcff0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00401b96
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401b96
mov eax, dword [ebp - 0x140]
jmp 0x4df6ba
push 1
mov ecx, dword [ebp - 0x24]
call fcn.004dbbb0
push 0x10
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.004dbb50
push 0x4f4f80
mov ecx, dword [ebp - 0x24]
call fcn.004dc230
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x11c]
call fcn.004dcf80
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x240]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004dc230
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x144]
call fcn.00401b96
lea ecx, [ebp - 0x11c]
call fcn.0048c380
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004dbb90
lea ecx, [ebp - 0x11c]
call fcn.0048c3a0
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004dbb90
lea ecx, [ebp - 0x11c]
call fcn.0048c3c0
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004dbb90
lea edx, [ebp - 0x148]
push edx
lea ecx, [ebp - 0x11c]
call fcn.0048c3e0
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x248], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x248]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004dc230
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x148]
call fcn.00401b96
lea eax, [ebp - 0x48]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004dc230
mov ecx, dword [ebp - 0x24]
call fcn.004dbde0
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004dbe30
push 0x3c
call fcn.00470e64
add esp, 4
mov dword [ebp - 0x150], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x150], 0
je 0x4dee6c
mov ecx, dword [ebp - 0x150]
call fcn.004dbe80
mov dword [ebp - 0x24c], eax
jmp 0x4dee76
mov dword [ebp - 0x24c], 0
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x14c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x4deee9
mov dword [ebp - 0x154], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004dc870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.004dcff0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00401b96
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401b96
mov eax, dword [ebp - 0x154]
jmp 0x4df6ba
push 0x65
mov ecx, dword [ebp - 0x120]
call fcn.004dbbb0
lea ecx, [ebp - 0x158]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.004de060
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x254]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x158]
call fcn.00401b96
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0048bec0
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], ecx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x25c]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x15c]
call fcn.00401b96
lea edx, [ebp - 0x160]
push edx
lea ecx, [ebp - 0x11c]
call fcn.0048bf00
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x264]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x160]
call fcn.00401b96
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.0048bf40
mov dword [ebp - 0x268], eax
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x26c], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x26c]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x164]
call fcn.00401b96
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0048bf80
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x274], ecx
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x274]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x168]
call fcn.00401b96
lea edx, [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x11c]
call fcn.0048bfc0
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x27c]
call fcn.004020de
push eax
call fcn.0049380a
add esp, 4
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dbb90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x16c]
call fcn.00401b96
lea ecx, [ebp - 0x170]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.0048c080
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x284], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x284]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x170]
call fcn.00401b96
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0048c000
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x28c], ecx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x28c]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x174]
call fcn.00401b96
lea edx, [ebp - 0x178]
push edx
lea ecx, [ebp - 0x11c]
call fcn.0048c040
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x294]
call fcn.004020de
push eax
call fcn.0049380a
add esp, 4
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dbb90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x178]
call fcn.00401b96
lea ecx, [ebp - 0x17c]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.0048c0c0
mov dword [ebp - 0x298], eax
mov edx, dword [ebp - 0x298]
mov dword [ebp - 0x29c], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x29c]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x17c]
call fcn.00401b96
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0048c100
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x2a4]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x180]
call fcn.00401b96
lea edx, [ebp - 0x184]
push edx
lea ecx, [ebp - 0x11c]
call fcn.0048c140
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x2ac]
call fcn.004020de
push eax
call fcn.0049380a
add esp, 4
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dbb90
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call fcn.00401b96
lea ecx, [ebp - 0x188]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.0048c180
mov dword [ebp - 0x2b0], eax
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x2b4]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x188]
call fcn.00401b96
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0048c1c0
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], ecx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x2bc]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
call fcn.00401b96
lea edx, [ebp - 0x190]
push edx
lea ecx, [ebp - 0x11c]
call fcn.0048c200
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x2c4]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x190]
call fcn.00401b96
lea ecx, [ebp - 0x194]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.0048c240
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0x2c8]
mov dword [ebp - 0x2cc], edx
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x2cc]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x194]
call fcn.00401b96
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0048c280
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2d4], ecx
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x2d4]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x198]
call fcn.00401b96
lea ecx, [ebp - 0x11c]
call fcn.0048c2c0
test eax, eax
setne dl
push edx
mov ecx, dword [ebp - 0x120]
call fcn.004dc370
lea ecx, [ebp - 0x11c]
call fcn.0048c2e0
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dbb90
lea ecx, [ebp - 0x11c]
call fcn.0048c300
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dbb90
lea ecx, [ebp - 0x11c]
call fcn.0048c320
test eax, eax
setne al
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc370
lea ecx, [ebp - 0x11c]
call fcn.0048c300
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dbb90
lea ecx, [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.0048c340
mov dword [ebp - 0x2d8], eax
mov edx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], edx
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x2dc]
call fcn.004020de
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc100
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x19c]
call fcn.00401b96
lea ecx, [ebp - 0x11c]
call fcn.0048c420
test eax, eax
setne al
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc370
lea ecx, [ebp - 0x11c]
call fcn.0048c440
test eax, eax
setne cl
push ecx
mov ecx, dword [ebp - 0x120]
call fcn.004dc370
lea ecx, [ebp - 0x11c]
call fcn.0048c460
test eax, eax
setne dl
push edx
mov ecx, dword [ebp - 0x120]
call fcn.004dc370
lea ecx, [ebp - 0x11c]
call fcn.0048c480
test eax, eax
setne al
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc370
cmp dword [ebp + 8], 0
setne cl
push ecx
mov ecx, dword [ebp - 0x120]
call fcn.004dc370
mov dword [ebp - 0x44], 0
call fcn.004de680
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x120]
call fcn.004dbb90
cmp dword [ebp + 0xc], 0
setne al
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dc370
push 0
call fcn.004dea70
add esp, 4
push eax
mov ecx, dword [ebp - 0x120]
call fcn.004dbb90
push 1
mov ecx, dword [ebp - 0x120]
call fcn.004dbb90
push 0
mov ecx, dword [ebp - 0x120]
call fcn.004dbb90
mov ecx, dword [ebp - 0x120]
call fcn.004dbde0
mov ecx, dword [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004dbe30
push 0
push str.http:__union.infoc.duba.net_nep_v1_
lea ecx, [ebp - 0x40]
call fcn.004dce50
test eax, eax
jne 0x4df666
mov dword [ebp - 0x1a0], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004dc870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.004dcff0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00401b96
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401b96
mov eax, dword [ebp - 0x1a0]
jmp 0x4df6ba
lea ecx, [ebp - 0x40]
call fcn.004dca80
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004dc870
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call fcn.004dcff0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00401b96
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401b96
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b84b
mov esp, ebp
pop ebp
ret 8