Function at 0x413700
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acf5b
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5f8800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x274], edi
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x80
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x104
lea eax, [ebp - 0x214]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [edi + 0x18d8b0]
add esp, 0x24
xor esi, esi
mov dword [ebp - 0x270], eax
cmp byte [ebp + 0xc], 0
mov eax, str.SaveNemesis_04d_02d_02d__02d_02d_02d__s_03d.bmp
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x222]
movzx edi, word [ebp - 0x21e]
mov dword [ebp - 0x260], esi
movzx esi, word [ebp - 0x21c]
mov dword [ebp - 0x26c], esi
movzx esi, word [ebp - 0x21a]
mov dword [ebp - 0x268], esi
movzx esi, word [ebp - 0x218]
mov dword [ebp - 0x264], esi
mov esi, dword [ebp - 0x260]
jne 0x4137e4
mov eax, str.SaveNemesis_04d_02d_02d__02d_02d_02d__s_03d.jpg
push esi
push dword [ebp - 0x270]
push dword [ebp - 0x264]
push dword [ebp - 0x268]
push dword [ebp - 0x26c]
push edi
push edx
push ecx
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0040ea00
lea eax, [ebp - 0x214]
push 0
push eax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__access
add esp, 0x30
cmp eax, 0xffffffff
je 0x413829
inc esi
jmp 0x41378c
push str.Save
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir
mov esi, dword [ebp - 0x274]
lea eax, [ebp - 0x110]
add esp, 4
mov ecx, esi
push eax
call fcn.0053f2d0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x90]
push 0x5c7a40
push eax
call fcn.0040ea90
add esp, 0xc
lea eax, [ebp - 0x90]
mov ecx, esi
push 0
push 0xffffff
push eax
push 0xa
push 0x1f4
call fcn.0045d450
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movzx eax, word [ebp - 0x218]
push eax
movzx eax, word [ebp - 0x21a]
push eax
movzx eax, word [ebp - 0x21c]
push eax
movzx eax, word [ebp - 0x21e]
push eax
movzx eax, word [ebp - 0x222]
push eax
lea eax, [ebp - 0x90]
push str._d:_d:_d:_d:_d
push eax
call fcn.0040ea90
add esp, 0x28
lea eax, [ebp - 0x90]
mov ecx, esi
push 0
push 0xffffff
push eax
push 0x19
push 0x1f4
call fcn.0045d450
mov ecx, esi
call fcn.004462d0
push dword [ebp + 0xc]
mov ecx, dword [esi + 0x14a8e0]
lea eax, [ebp - 0x214]
push dword [ebp + 8]
push dword [ecx + 0x5001c]
push eax
call fcn.00409180
xorps xmm0, xmm0
push 0x20
test al, al
je 0x413a0d
movups xmmword [ebp - 0x240], xmm0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
call fcn.005aa520
movups xmm0, xmmword [str.NOTIFYMSG_CREATE_SCREENSHOT1]
mov dword [ebp - 0x240], eax
add esp, 4
mov dword [ebp - 0x230], 0x1c
mov dword [ebp - 0x22c], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x5c8e60]
movq qword [eax + 0x10], xmm0
mov ecx, dword [0x5c8e68]
mov dword [eax + 0x18], ecx
mov byte [eax + 0x1c], 0
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x278]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x4139ab
mov eax, dword [eax]
lea ecx, [ebp - 0x214]
push ecx
push eax
lea edi, [esi + 0x18d57f]
push edi
call fcn.0040ea90
mov ecx, dword [ebp - 0x22c]
add esp, 0xc
cmp ecx, 0xf
jbe 0x4139fc
mov edx, dword [ebp - 0x240]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4139f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413af9
push ecx
push edx
call fcn.005aa4e8
add esp, 8
push 1
push 0xa
push edi
mov ecx, esi
call fcn.00412660
jmp 0x413adc
movups xmmword [ebp - 0x25c], xmm0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
call fcn.005aa520
movups xmm0, xmmword [str.NOTIFYMSG_CREATE_SCREENSHOT2]
mov dword [ebp - 0x25c], eax
add esp, 4
mov dword [ebp - 0x24c], 0x1c
mov dword [ebp - 0x248], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x5c8e80]
movq qword [eax + 0x10], xmm0
mov ecx, dword [0x5c8e88]
mov dword [eax + 0x18], ecx
mov byte [eax + 0x1c], 0
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x278]
mov ecx, 0x5fd3c4
push eax
call fcn.0040e380
mov eax, dword [eax]
add eax, 0x20
cmp dword [eax + 0x14], 0xf
jbe 0x413a9a
mov eax, dword [eax]
push 1
push 0xa
push eax
mov ecx, esi
call fcn.00412660
mov ecx, dword [ebp - 0x248]
cmp ecx, 0xf
jbe 0x413adc
mov edx, dword [ebp - 0x25c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413ad2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413afe
push ecx
push edx
call fcn.005aa4e8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005aa550
mov esp, ebp
pop ebp
ret 8
call fcn.005ac169
call fcn.005ac169
int3