Function at 0x586c90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x430]
push ecx
push str.CTopWnd_ShowUserInfo_mask_img_path__s
call fcn.005564a0
add esp, 8
call fcn.00422d60
mov ecx, eax
call fcn.005894d0
test eax, eax
je 0x586cc9
mov dword [ebp - 0x2c], 0x3c0
jmp 0x586cd0
mov dword [ebp - 0x2c], 0x4f1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 8]
call fcn.004155d0
mov dword [ebp - 0x30], eax
push 0
push 0x6f28a4
push 0x6ee70c
push 0
push 0x408
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf0]
call eax
push eax
call fcn.0063aeb7
add esp, 0x14
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x586d8a
cmp dword [ebp - 8], 0
je 0x586d28
mov ecx, dword [ebp - 8]
add ecx, 0x24
mov dword [ebp - 0x34], ecx
jmp 0x586d2f
mov dword [ebp - 0x34], 0
push 0
push 0x1d
push 0x92
push 5
mov edx, dword [ebp - 0xc]
sub edx, 0x92
push edx
push 0x408
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.005f92a0
push 0
push 0
push 0x1c1
call fcn.004154d0
mov ecx, eax
call fcn.005fea70
push eax
mov ecx, dword [ebp - 0x10]
call fcn.005ff420
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x74]
call eax
mov ecx, dword [ebp - 8]
call fcn.004155d0
mov dword [ebp - 0x38], eax
push 0x3f9
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf0]
call ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x586dc6
push 1
push 1
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 0x20]
call edx
call fcn.00422d60
mov ecx, eax
call fcn.005894d0
test eax, eax
je 0x586ddf
mov dword [ebp - 0x3c], 0x307
jmp 0x586de6
mov dword [ebp - 0x3c], 0x438
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
call fcn.004155d0
mov dword [ebp - 0x40], eax
push 0x409
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf0]
call ecx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x586e2c
push 1
push 5
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 0x78]
call eax
mov ecx, dword [ebp - 8]
call fcn.004155d0
mov dword [ebp - 0x44], eax
push 0x40b
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf0]
call ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x586e6f
push 1
push 4
mov edx, dword [ebp - 0xc]
sub edx, 1
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 0x78]
call eax
call fcn.00422d60
mov ecx, eax
call fcn.005894d0
test eax, eax
je 0x586e8a
mov ecx, dword [ebp - 0xc]
sub ecx, 0x28
mov dword [ebp - 0x48], ecx
jmp 0x586e93
mov edx, dword [ebp - 0xc]
sub edx, 0x2d
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
call fcn.004155d0
mov dword [ebp - 0x4c], eax
push 0x40a
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf0]
call ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x586ed9
push 1
push 5
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 0x78]
call eax
mov ecx, dword [ebp - 8]
call fcn.004155d0
mov dword [ebp - 0x50], eax
push 0x40c
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf0]
call ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x586f1c
push 1
push 4
mov edx, dword [ebp - 0xc]
sub edx, 1
push edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 0x78]
call eax
mov ecx, dword [ebp - 8]
call fcn.004155d0
mov dword [ebp - 0x54], eax
push 0x3f8
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [eax + 0xf0]
call ecx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 8]
call fcn.004155d0
mov dword [ebp - 0x58], eax
push 0x3fb
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xf0]
call edx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
call fcn.004155d0
mov dword [ebp - 0x5c], eax
push 0x3fc
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xf0]
call eax
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00422d30
mov ecx, eax
call fcn.0054cad0
mov ecx, eax
call fcn.0040dd70
movzx edx, al
test edx, edx
jne 0x586faf
mov dword [ebp - 0x60], 1
jmp 0x586fb6
mov dword [ebp - 0x60], 0
mov al, byte [ebp - 0x60]
mov byte [ebp - 1], al
lea ecx, [ebp - 0x70]
call fcn.00413870
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x587064
push 1
push 0
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [eax + 0x20]
call edx
push 1
push 1
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ecx + 0x20]
call eax
push 1
push 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x20]
call ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x430]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x58703a
push 1
push 0
push 0x101
call fcn.004154d0
mov ecx, eax
call fcn.005fea70
push eax
mov ecx, dword [ebp - 0x14]
call fcn.005ff420
jmp 0x587064
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x430]
push edx
lea ecx, [ebp - 0x6c]
call fcn.004131e0
push 1
push 1
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.005ff230
lea ecx, [ebp - 0x6c]
call fcn.00413870
mov esp, ebp
pop ebp
ret