Function at 0x46112d
Capabilities:
Check if file exists

Disassembly:
push 0x274
mov eax, 0x5e0c84
call fcn.00593b07
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x230]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push eax
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call fcn.0040b155
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x220], ebx
jne 0x46117e
mov dword [edi + 0x7e8], 1
jmp 0x461567
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005aa3d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x230]
mov edx, str.__worker
cmovae ecx, dword [ebp - 0x230]
push 0x103
push eax
call fcn.00427957
add esp, 0x14
test eax, eax
je 0x461211
lea eax, [ebp - 0x218]
push eax
call fcn.005baec0
pop ecx
push eax
lea eax, [ebp - 0x218]
add esi, 0x18
push eax
mov ecx, esi
call fcn.0040b566
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4611ea
mov edx, dword [esi]
mov ecx, esi
jb 0x4611f0
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
jb 0x4611fa
mov esi, dword [esi]
push edx
push eax
push esi
lea ecx, [ebp - 0x280]
call fcn.00465756
mov esi, dword [ebp - 0x27c]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005aa3d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x230]
mov edx, str.__config
cmovae ecx, dword [ebp - 0x230]
push 0x103
push eax
call fcn.00427957
add esp, 0x14
test eax, eax
je 0x46155d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040b0d5
mov byte [ebp - 4], 1
cmp dword [ebp - 0x250], 0
jne 0x461286
mov dword [edi + 0x7e8], 2
jmp 0x4613af
push 0x61ee2e
lea ecx, [ebp - 0x248]
call fcn.004045aa
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
lea eax, [ebp - 0x260]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x278]
call fcn.00430a1f
add esp, 0x18
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.0041675b
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 2
call fcn.00404812
cmp dword [ebp - 0x234], 0x10
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
cmovae edx, dword [ebp - 0x248]
add eax, ecx
cmp dword [ebp - 0x234], 0x10
lea ecx, [ebp - 0x248]
push edx
cmovae ecx, dword [ebp - 0x248]
push eax
push ecx
lea ecx, [ebp - 0x280]
call fcn.004657a9
sub esp, 0xc
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00404267
lea ecx, [ebp - 0x278]
call fcn.00430ab2
add esp, 0x18
add esi, 0x60
mov ecx, esi
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0x278]
call fcn.0040b67e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x46136f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4613bf
cmp dword [esi + 0x14], 8
jb 0x461382
mov esi, dword [esi]
push esi
push 0x221
push str.WorkerWnd::ParseCmdConfig
push str.__s__d___GetCmdLineString___config_error___s__r_n
call fcn.0040a649
add esp, 0x10
mov dword [edi + 0x7e8], 3
lea ecx, [ebp - 0x248]
call fcn.00404812
lea ecx, [ebp - 0x260]
call fcn.0040b67e
jmp 0x461567
lea ecx, [ebp - 0x248]
call fcn.00404812
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], bl
call fcn.0040b67e
push dword [ebp - 0x27c]
mov ecx, edi
push esi
call fcn.00460d7b
mov esi, dword [ebp - 0x27c]
cmp dword [esi + 0x78], 1
jne 0x4614ed
push 0x104
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005aa3d0
push 8
pop edi
cmp dword [ebp - 0x21c], edi
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x230]
mov edx, str.__from
cmovae ecx, dword [ebp - 0x230]
push 0x103
push eax
call fcn.00427957
add esp, 0x14
test eax, eax
je 0x46148a
lea eax, [ebp - 0x218]
push eax
call fcn.005baec0
pop ecx
push eax
lea eax, [ebp - 0x218]
add esi, 0x30
push eax
mov ecx, esi
call fcn.0040b566
mov edx, esi
cmp dword [esi + 0x14], edi
jb 0x461463
mov edx, dword [esi]
mov ecx, esi
jb 0x461469
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
jb 0x461473
mov esi, dword [esi]
push edx
push eax
push esi
lea ecx, [ebp - 0x280]
call fcn.00465756
mov esi, dword [ebp - 0x27c]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005aa3d0
cmp dword [ebp - 0x21c], edi
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x230]
mov edx, str.__id
cmovae ecx, dword [ebp - 0x230]
push 0x103
push eax
call fcn.00427957
add esp, 0x14
test eax, eax
je 0x4614e9
lea eax, [ebp - 0x218]
push eax
call fcn.005baec0
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x48]
call fcn.0040b566
mov bl, 1
jmp 0x461567
cmp dword [esi + 0x78], 2
jne 0x4614e9
push 0x24
call fcn.005926f7
pop ecx
mov dword [ebp - 0x280], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00458ee2
mov byte [ebp - 4], bl
lea ecx, [edi + 0x7b8]
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x27c]
push eax
call fcn.004444b7
lea ecx, [ebp - 0x27c]
call fcn.0044449d
push dword [edi + 0x704]
lea eax, [edi + 0x6ec]
push eax
call fcn.0045dfda
mov ecx, eax
call fcn.00459ce6
mov bl, al
test bl, bl
jne 0x461567
mov dword [edi + 0x7e8], 5
jmp 0x461567
mov dword [edi + 0x7e8], 4
lea ecx, [ebp - 0x230]
call fcn.0040b67e
mov al, bl
call fcn.00593ab1
ret 8