Function at 0x435cf0
Capabilities:
Create directory
Get common file path
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5aaf6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x31ac
call fcn.00590180
mov eax, dword [0x5fe940]
mov dword [esp + 0x31a8], eax
push ebx
xor eax, eax
push esi
push edi
mov byte [esp + 0x1b0], 0
mov ecx, 0x3ff
lea edi, [esp + 0x1b1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x11b0], 0
mov ecx, 0x3ff
lea edi, [esp + 0x11b1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + 0x21b0], 0
mov ecx, 0x3ff
lea edi, [esp + 0x21b1]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1b0]
push eax
push 0xfff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x8c2910
lea ecx, [esp + 0x11b4]
push str._sSnapshot
push ecx
call fcn.0059000d
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
add esp, 0xc
lea edx, [esp + 0x11b0]
push edx
call esi
xor ebx, ebx
cmp eax, ebx
jne 0x435deb
push 0x8c2910
call esi
lea eax, [esp + 0x70]
push eax
push str.Snapshot
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x435de1
push ebx
push str.Snapshot
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x11b0]
push ecx
call esi
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edi, word [esp + 0x4c]
movzx esi, word [esp + 0x4a]
movzx edx, word [esp + 0x48]
movzx ecx, word [esp + 0x46]
movzx eax, word [esp + 0x42]
push edi
push esi
push edx
push ecx
push eax
lea eax, [esp + 0x21c4]
push str._NF___d_d_d_d_d.jpg
push eax
call fcn.0059000d
mov eax, dword [0x817068]
add esp, 0x1c
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x64], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
test eax, eax
jne 0x435ec2
mov eax, dword [0x817068]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x435ec2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0x64]
push edx
push eax
call dword [ecx + 0x20]
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
mov dword [esp + 0x10], ebx
je 0x435ea2
lea edx, [esp + 0x1b0]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor eax, eax
jmp 0x43604b
mov eax, dword [0x817068]
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x58]
push 0x15
push edx
mov edx, dword [esp + 0x5c]
push edx
push eax
call dword [ecx + 0x6c]
test eax, eax
je 0x435ed7
lea eax, [esp + 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor eax, eax
jmp 0x43604b
mov edx, dword [esp + 0xc]
mov eax, dword [0x817068]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x78]
test eax, eax
jne 0x435f4b
mov eax, dword [0x60d160]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 0x10
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x30]
push edx
push eax
call dword [ecx + 0x24]
cmp eax, ebx
jne 0x435f4b
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
sub edi, ecx
sub esi, edx
mov eax, edi
imul eax, esi
lea edx, [eax + eax*2 + 1]
push edx
call fcn.0058f5f0
mov ebx, eax
mov eax, dword [esp + 0x2c]
add esp, 4
shr eax, 2
test ebx, ebx
mov ecx, ebx
jne 0x435f6a
lea eax, [esp + 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x43604b
lea edx, [edi - 1]
test edx, edx
jl 0x435fcc
imul edx, eax
neg eax
shl edx, 2
shl eax, 2
mov dword [esp + 0x20], eax
mov eax, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x2c]
add eax, edx
test esi, esi
jle 0x435fb9
mov dword [esp + 0x1c], esi
mov edi, edi
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
add eax, 4
add ecx, 3
dec edx
mov dword [esp + 0x1c], edx
jne 0x435fa0
mov edx, dword [esp + 0x14]
add edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
jne 0x435f90
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x24]
call fcn.004382c0
mov dword [esp + 0x31c4], 0
push edi
lea eax, [esi + esi*2]
push eax
push ebx
call fcn.004388e0
push edi
push esi
push ebx
call fcn.004389f0
push 0x64
push 1
push edi
push esi
lea ecx, [esp + 0x21d8]
push ebx
push ecx
call fcn.00438490
push ebx
call fcn.00590179
add esp, 0x34
lea edx, [esp + 0x1b0]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [esp + 0x31c4], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.004382d0
mov eax, 1
mov ecx, dword [esp + 0x31bc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x31b4]
call fcn.005900c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret