Function at 0x460840
Capabilities:
Check if file exists

Disassembly:
push 0x274
mov eax, 0x5df05f
call fcn.00592017
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 0x460891
mov dword [edi + 0x7e8], 1
jmp 0x460c7a
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a88e0
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.00427954
add esp, 0x14
test eax, eax
je 0x460924
lea eax, [ebp - 0x218]
push eax
call fcn.005b93d0
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 0x4608fd
mov edx, dword [esi]
mov ecx, esi
jb 0x460903
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
jb 0x46090d
mov esi, dword [esi]
push edx
push eax
push esi
lea ecx, [ebp - 0x280]
call fcn.00464c86
mov esi, dword [ebp - 0x27c]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a88e0
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.00427954
add esp, 0x14
test eax, eax
je 0x460c70
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040b0d5
mov byte [ebp - 4], 1
cmp dword [ebp - 0x250], 0
jne 0x460999
mov dword [edi + 0x7e8], 2
jmp 0x460ac2
push 0x61ce3e
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.00430a1c
add esp, 0x18
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.00416758
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.00464cd9
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.00430aaf
add esp, 0x18
add esi, 0x60
mov ecx, esi
push eax
call fcn.0040b0ac
lea ecx, [ebp - 0x278]
call fcn.0040b67b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x460a82
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x460ad2
cmp dword [esi + 0x14], 8
jb 0x460a95
mov esi, dword [esi]
push esi
push 0x220
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.0040b67b
jmp 0x460c7a
lea ecx, [ebp - 0x248]
call fcn.00404812
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], bl
call fcn.0040b67b
push dword [ebp - 0x27c]
mov ecx, edi
push esi
call fcn.004604ab
mov esi, dword [ebp - 0x27c]
cmp dword [esi + 0x78], 1
jne 0x460c00
push 0x104
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a88e0
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.00427954
add esp, 0x14
test eax, eax
je 0x460b9d
lea eax, [ebp - 0x218]
push eax
call fcn.005b93d0
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 0x460b76
mov edx, dword [esi]
mov ecx, esi
jb 0x460b7c
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
jb 0x460b86
mov esi, dword [esi]
push edx
push eax
push esi
lea ecx, [ebp - 0x280]
call fcn.00464c86
mov esi, dword [ebp - 0x27c]
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.005a88e0
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.00427954
add esp, 0x14
test eax, eax
je 0x460bfc
lea eax, [ebp - 0x218]
push eax
call fcn.005b93d0
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x48]
call fcn.0040b566
mov bl, 1
jmp 0x460c7a
cmp dword [esi + 0x78], 2
jne 0x460bfc
push 0x24
call fcn.00590c07
pop ecx
mov dword [ebp - 0x280], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00458653
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.0045d74b
mov ecx, eax
call fcn.00459457
mov bl, al
test bl, bl
jne 0x460c7a
mov dword [edi + 0x7e8], 5
jmp 0x460c7a
mov dword [edi + 0x7e8], 4
lea ecx, [ebp - 0x230]
call fcn.0040b67b
mov al, bl
call fcn.00591fc1
ret 8