Function at 0x4331ea
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60c378
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], ecx
cmp dword [ebp + 8], 0
jne 0x43309c
jmp 0x4338e1
mov eax, dword [0x6216b4]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040d080
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004518f0
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.0040df90
mov eax, dword [0x6217a4]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0040d080
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.004518f0
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1a8]
call fcn.0040df90
mov eax, dword [0x621844]
push eax
lea ecx, [ebp - 0x190]
call fcn.0040d080
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x190]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.004518f0
add esp, 8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x190]
call fcn.0040df90
mov eax, dword [0x6218cc]
push eax
lea ecx, [ebp - 0x178]
call fcn.0040d080
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x178]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.004518f0
add esp, 8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x178]
call fcn.0040df90
mov eax, dword [0x62196c]
push eax
lea ecx, [ebp - 0x160]
call fcn.0040d080
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0xa0]
push edx
call fcn.004518f0
add esp, 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x160]
call fcn.0040df90
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
sub ecx, 1
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 6
ja case.0x4331e3.4
mov edx, dword [ebp - 0x228]
jmp dword [edx*4 + 0x4338fc]
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.004504c0
add esp, 4
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x2b0], edx
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x2b0]
call fcn.00413730
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 4
call fcn.0040e5e0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1c0]
call fcn.0040df90
jmp case.0x4331e3.4
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.004504c0
add esp, 4
mov dword [ebp - 0x2ac], eax
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x2a8], edx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x2a8]
call fcn.00413730
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 4
call fcn.0040e5e0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x220]
call fcn.0040df90
jmp case.0x4331e3.4
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.004504c0
add esp, 4
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x29c], edx
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x29c]
call fcn.00413730
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 4
call fcn.0040e5e0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x208]
call fcn.0040df90
jmp case.0x4331e3.4
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.004504c0
add esp, 4
mov dword [ebp - 0x298], eax
mov edx, dword [ebp - 0x298]
mov dword [ebp - 0x294], edx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x294]
call fcn.00413730
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 4
call fcn.0040e5e0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1f0]
call fcn.0040df90
jmp case.0x4331e3.4
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.004504c0
add esp, 4
mov dword [ebp - 0x290], eax
mov edx, dword [ebp - 0x290]
mov dword [ebp - 0x28c], edx
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x28c]
call fcn.00413730
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 4
call fcn.0040e5e0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1d8]
call fcn.0040df90
mov ecx, dword [ebp - 0x224]
add ecx, 4
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x433535
call fcn.00478bf0
mov dword [ebp - 0x22c], eax
push 1
mov eax, dword [ebp - 0x22c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x22c]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x288], al
cmp byte [ebp - 0x288], 1
je 0x4333ec
jmp 0x4334eb
push 0x621de8
lea ecx, [ebp - 0x130]
call fcn.00408710
mov byte [ebp - 4], 0x14
push 0x621de4
lea ecx, [ebp - 0x148]
call fcn.00408710
mov byte [ebp - 4], 0x15
call fcn.00478bf0
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x224]
add ecx, 4
call fcn.00413b20
push eax
push 0x621e58
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.0040b7e0
add esp, 0xc
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x280], edx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x280]
push eax
push 0x5d
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x148]
push edx
lea ecx, [ebp - 0x348]
call fcn.0040d3b0
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x278]
call fcn.0040b2d0
push eax
mov ecx, dword [ebp - 0x230]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x230]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x348]
call fcn.0040e140
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2a0]
call fcn.00405df0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x148]
call fcn.00405e70
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x130]
call fcn.00405e70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.0040df90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0040df90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0040df90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040df90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040df90
jmp 0x4338e1
lea ecx, [ebp - 0x28]
call fcn.00405d30
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 4
call fcn.00413b20
push eax
call fcn.005341a0
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00408de0
movzx edx, al
test edx, edx
je 0x4336e9
call fcn.00478bf0
mov dword [ebp - 0x234], eax
push 1
mov eax, dword [ebp - 0x234]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x234]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x274], al
cmp byte [ebp - 0x274], 1
je 0x4335a3
jmp 0x433693
push 0x621ec8
lea ecx, [ebp - 0x100]
call fcn.00408710
mov byte [ebp - 4], 0x19
push 0x621e54
lea ecx, [ebp - 0x118]
call fcn.00408710
mov byte [ebp - 4], 0x1a
call fcn.00478bf0
mov dword [ebp - 0x238], eax
push str.config_is_empty
lea ecx, [ebp - 0x25c]
push ecx
call fcn.0040b970
add esp, 8
mov dword [ebp - 0x270], eax
mov edx, dword [ebp - 0x270]
mov dword [ebp - 0x26c], edx
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x26c]
push eax
push 0x63
lea ecx, [ebp - 0x100]
push ecx
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x3e0]
call fcn.0040d3b0
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x264]
call fcn.0040b2a0
push eax
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x3e0]
call fcn.0040e140
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x25c]
call fcn.00405df0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x118]
call fcn.00405e70
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x100]
call fcn.00405e70
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.0040df90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0040df90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0040df90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040df90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040df90
jmp 0x4338e1
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x224]
add ecx, 0x20
call fcn.00538be0
movzx edx, al
test edx, edx
jne 0x43387d
call fcn.00478bf0
mov dword [ebp - 0x23c], eax
push 1
mov eax, dword [ebp - 0x23c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x23c]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x260], al
cmp byte [ebp - 0x260], 1
je 0x43373a
jmp 0x43382a
push 0x621f48
lea ecx, [ebp - 0xd0]
call fcn.00408710
mov byte [ebp - 4], 0x1d
push 0x621f44
lea ecx, [ebp - 0xe8]
call fcn.00408710
mov byte [ebp - 4], 0x1e
call fcn.00478bf0
mov dword [ebp - 0x240], eax
push str.config_json_parse_fail
lea ecx, [ebp - 0x258]
push ecx
call fcn.0040b970
add esp, 8
mov dword [ebp - 0x248], eax
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], edx
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x24c]
push eax
push 0x67
lea ecx, [ebp - 0xd0]
push ecx
lea edx, [ebp - 0xe8]
push edx
lea ecx, [ebp - 0x478]
call fcn.0040d3b0
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x254]
call fcn.0040b2a0
push eax
mov ecx, dword [ebp - 0x240]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x240]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x478]
call fcn.0040e140
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x258]
call fcn.00405df0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xe8]
call fcn.00405e70
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xd0]
call fcn.00405e70
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.0040df90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0040df90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0040df90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040df90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040df90
jmp 0x4338e1
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.0040df90
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.0040df90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0040df90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040df90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040df90
xor eax, eax
jne 0x433091
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret 4