Function at 0x41bdff
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0x30
mov eax, 0x4fc962
call fcn.004e43cd
mov esi, ecx
call fcn.004ba334
mov ecx, dword [eax + 4]
call fcn.004b54df
push 2
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0x36c]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x34c]
call fcn.004bafc9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00401c14
mov ecx, eax
call fcn.00401b45
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x41c500
lea ecx, [esi + 0x818]
call fcn.00404ac6
xor edi, edi
inc edi
cmp eax, edi
jne 0x41be7d
mov dword [esi + 0x250], ebx
jmp 0x41be92
lea ecx, [esi + 0x1068]
call fcn.00404ac6
cmp eax, edi
jne 0x41be92
mov dword [esi + 0x250], edi
call fcn.004ba334
mov ecx, dword [eax + 4]
call fcn.004b54df
lea ecx, [esi + 0x3e0]
push edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], ecx
call fcn.004517b1
mov edi, 0x55369c
push 0x510f7c
mov ecx, edi
call fcn.004018c7
push 0x478
call fcn.004ae134
pop ecx
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x41bee3
push ebx
mov ecx, eax
call fcn.0042d70b
mov ebx, eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004bc813
test eax, eax
jne 0x41bf3a
mov eax, dword [ebx]
push 0
push 0
push 0xffffffffffffffff
mov ecx, ebx
call dword [eax + 0xc]
jmp 0x41bf3a
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
call fcn.0040719a
push eax
lea eax, [ebx + 0x12c]
push eax
call fcn.00406b7c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 0xd], al
call fcn.00401285
cmp byte [ebp - 0xd], 0
jne 0x41bf48
mov eax, dword [ebx]
push 1
push 1
mov ecx, ebx
call dword [eax + 0x14]
cmp dword [ebx + 0xc8], 0
je 0x41bf01
jmp 0x41c129
push dword [ebx + 0x194]
lea ecx, [ebp - 0x2c]
call fcn.00403636
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00401bc7
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401285
mov ecx, edi
call fcn.00401c14
mov ecx, eax
call fcn.00401b45
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x41c093
push dword [0x55369c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41c093
call fcn.004b85b3
push eax
lea ecx, [ebp - 0x14]
call fcn.00406877
push 0x553708
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00401bc7
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00401ec8
cmp eax, 0xffffffff
je 0x41bff6
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402255
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00401bc7
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401285
push str.Images
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00402344
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00401bc7
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00401285
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41c03e
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x511a58
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402344
push edi
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 8
call fcn.004022ed
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00401bc7
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401285
push dword [0x55369c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41c0d6
push edi
lea ecx, [esi + 0x298]
call fcn.0044fef5
push 1
push 0x69c
mov ecx, esi
call fcn.004b587c
mov ecx, eax
call fcn.004b5af3
push 0
push 0
push dword [esi + 0x2b8]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x41c129
push 0x510f7c
mov ecx, edi
call fcn.004018c7
push 0
push 0x69c
mov ecx, esi
call fcn.004b587c
mov ecx, eax
call fcn.004b5af3
lea ecx, [esi + 0x298]
call fcn.0044fc75
mov edi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push dword [esi + 0x2b8]
call edi
push 0
push 0
push dword [esi + 0x2b8]
call edi
push 1
push 0
push dword [esi + 0x20]
call edi
mov ecx, ebx
call fcn.004bc813
test eax, eax
je 0x41c13b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
push 0x184
call fcn.004ae134
pop ecx
mov dword [ebp - 0x3c], eax
xor ebx, ebx
mov byte [ebp - 4], 0xa
cmp eax, ebx
je 0x41c166
push ebx
mov ecx, eax
call fcn.00432c3f
mov ebx, eax
push 0x1b4
mov byte [ebp - 4], 2
call fcn.004ae134
pop ecx
mov dword [ebp - 0x3c], eax
xor edi, edi
mov byte [ebp - 4], 0xb
cmp eax, edi
je 0x41c18f
push edi
mov ecx, eax
call fcn.0042b4bf
mov dword [ebp - 0x14], eax
jmp 0x41c192
mov dword [ebp - 0x14], edi
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004bc813
test eax, eax
jne 0x41c1ae
mov eax, dword [ebx]
push 0
push 0
push 0xffffffffffffffff
mov ecx, ebx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
call fcn.004bc813
test eax, eax
jne 0x41c1c8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
push 0
push 0
push 0xffffffffffffffff
call dword [eax + 0xc]
mov esi, dword [esi + 0x250]
test esi, esi
jne 0x41c339
cmp dword [ebx + 0xc8], esi
jne 0x41c4b3
mov esi, str._b__d___Y
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.0040719a
push eax
lea eax, [ebx + 0x114]
push eax
call fcn.00406b7c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov byte [ebp - 0xd], al
call fcn.00401285
cmp byte [ebp - 0xd], 0
je 0x41c31c
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebx + 0x124]
inc edi
call fcn.00407a47
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebx + 0x130]
mov byte [ebp - 4], 0xc
call fcn.00407a47
mov byte [ebp - 4], 0xd
call fcn.004b85b3
push eax
lea ecx, [ebp - 0x20]
call fcn.00406877
push edi
lea eax, [ebp - 0x20]
push 0x511a8c
push eax
mov byte [ebp - 4], 0xe
call fcn.004022da
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push dword [ebp - 0x20]
push edi
call fcn.0045131d
push str._to
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00402344
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0xf
call fcn.004022ed
add esp, 0x18
mov eax, dword [eax]
push eax
lea ecx, [edi - 1]
push 1
mov dword [ebp - 0x24], ecx
push ecx
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.00451351
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xe
call fcn.00401285
push dword [ebx + 0x140]
lea ecx, [ebp - 0x3c]
call fcn.00403636
push dword [eax]
mov ecx, dword [ebp - 0x18]
push 2
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x11
call fcn.00451351
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401285
mov eax, dword [ebx]
push 1
push 1
mov ecx, ebx
call dword [eax + 0x14]
cmp dword [ebx + 0xc8], 0
je 0x41c1e7
jmp 0x41c4b3
cmp esi, 1
jne 0x41c4b3
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc8], 0
jne 0x41c4b3
mov esi, str._b__d___Y
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x3c]
call fcn.0040719a
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x120
push eax
call fcn.00406b7c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
mov byte [ebp - 0xd], al
call fcn.00401285
cmp byte [ebp - 0xd], 0
je 0x41c497
mov ecx, dword [ebp - 0x14]
push esi
lea eax, [ebp - 0x28]
push eax
add ecx, 0x134
inc edi
call fcn.00407a47
mov ecx, dword [ebp - 0x14]
push esi
lea eax, [ebp - 0x2c]
push eax
add ecx, 0x140
mov byte [ebp - 4], 0x12
call fcn.00407a47
mov byte [ebp - 4], 0x13
call fcn.004b85b3
push eax
lea ecx, [ebp - 0x20]
call fcn.00406877
push edi
lea eax, [ebp - 0x20]
push 0x511a8c
push eax
mov byte [ebp - 4], 0x14
call fcn.004022da
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push dword [ebp - 0x20]
push edi
call fcn.0045131d
push str._to
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00402344
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x15
call fcn.004022ed
add esp, 0x18
mov eax, dword [eax]
push eax
lea ecx, [edi - 1]
push 1
mov dword [ebp - 0x24], ecx
push ecx
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x16
call fcn.00451351
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0x14
call fcn.00401285
mov eax, dword [ebp - 0x14]
push dword [eax + 0x130]
lea ecx, [ebp - 0x30]
call fcn.00403636
push dword [eax]
mov ecx, dword [ebp - 0x18]
push 2
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x17
call fcn.00451351
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401285
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401285
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
push 1
push 1
call dword [eax + 0x14]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc8], 0
je 0x41c357
mov ecx, ebx
call fcn.004bc813
test eax, eax
je 0x41c4c5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
test ebx, ebx
je 0x41c4d2
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.004bc813
test eax, eax
je 0x41c4e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
test esi, esi
je 0x41c4f4
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 1
call fcn.0040249b
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401285
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.0040249b
call fcn.004e44a5