Function at 0x40aa40
Capabilities:
Get common file path
Get disk information
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88c
mov eax, dword [0x41b250]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x5e4], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x5ec], 0
mov dword [ebp - 0x298], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x40aa97
cmp dword [ebp + 0x10], 0
je 0x40aa97
mov dword [ebp - 0x14], 1
jmp 0x40aac9
cmp dword [ebp + 0x14], 0
je 0x40aac9
cmp dword [ebp + 0x18], 0xffffffff
je 0x40aac9
mov dword [ebp - 0x5ec], 1
cmp dword [ebp + 0x18], 2
jne 0x40aabf
mov dword [ebp - 0x298], 0x8ae
jmp 0x40aac9
mov dword [ebp - 0x298], 2
push 1
push 0x20
lea eax, [ebp - 0x290]
push eax
push 0x4216a0
call fcn.0040df60
mov dword [ebp - 0x2a8], eax
cmp dword [ebp - 0x2a8], 0xffffffff
jne 0x40ab44
push 1
push 0x12c
push 0x421a80
push 0x1b71
mov ecx, dword [0x421580]
push ecx
call fcn.0040c660
push 1
push 0x12c
push 0x421940
push 0x1b72
mov edx, dword [0x421580]
push edx
call fcn.0040c660
push 0
push 0x421a80
push 0x421940
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40b86a
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.0040cca0
mov dword [ebp - 0x1d8], eax
push 0
mov edx, dword [ebp - 0x1d8]
sub edx, 0x114
push edx
mov eax, dword [ebp - 0x2a8]
push eax
call fcn.0040e090
push 0x114
push 0x4217c0
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.0040e0c0
movzx edx, byte [0x4218d0]
shl edx, 0x18
movzx eax, byte [0x4218d1]
shl eax, 0x10
or edx, eax
movzx ecx, byte [0x4218d2]
shl ecx, 8
or edx, ecx
movzx eax, byte [0x4218d3]
or edx, eax
mov dword [ebp - 0x1ec], edx
movzx ecx, byte [0x4218cc]
shl ecx, 0x18
movzx edx, byte [0x4218cd]
shl edx, 0x10
or ecx, edx
movzx eax, byte [0x4218ce]
shl eax, 8
or ecx, eax
movzx edx, byte [0x4218cf]
or ecx, edx
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x1ec], 0x270f
je 0x40ac48
push 1
push 0x12c
push 0x421a80
push 0x1b73
mov eax, dword [0x421580]
push eax
call fcn.0040c660
push 1
push 0x12c
push 0x421940
push 0x1b74
mov ecx, dword [0x421580]
push ecx
call fcn.0040c660
push 0
push 0x421a80
push 0x421940
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40b86a
cmp dword [ebp - 0x5ec], 0
je 0x40ac85
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x101
add eax, 1
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1fc], eax
cmp dword [ebp - 0x1fc], 0
jne 0x40ac7c
xor eax, eax
jmp 0x40b86a
mov ecx, dword [ebp - 0x1fc]
mov byte [ecx], 0
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x114
mov eax, dword [ebp - 0x1d8]
sub eax, edx
mov dword [ebp - 0x204], eax
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x200], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
jmp 0x40acc9
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x28]
jge 0x40b802
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x114
add eax, dword [ebp - 0x204]
mov dword [ebp - 0x2a0], eax
push 0
mov ecx, dword [ebp - 0x2a0]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
call fcn.0040e090
push 0x114
push 0x4217c0
mov eax, dword [ebp - 0x2a8]
push eax
call fcn.0040e0c0
movzx ecx, byte [0x4218c4]
shl ecx, 0x18
movzx edx, byte [0x4218c5]
shl edx, 0x10
or ecx, edx
movzx eax, byte [0x4218c6]
shl eax, 8
or ecx, eax
movzx edx, byte [0x4218c7]
or ecx, edx
mov dword [ebp - 0x140], ecx
movzx eax, byte [0x4218c8]
shl eax, 0x18
movzx ecx, byte [0x4218c9]
shl ecx, 0x10
or eax, ecx
movzx edx, byte [0x4218ca]
shl edx, 8
or eax, edx
movzx ecx, byte [0x4218cb]
or eax, ecx
mov dword [ebp - 0x654], eax
movzx edx, byte [0x4218cc]
shl edx, 0x18
movzx eax, byte [0x4218cd]
shl eax, 0x10
or edx, eax
movzx ecx, byte [0x4218ce]
shl ecx, 8
or edx, ecx
movzx eax, byte [0x4218cf]
or edx, eax
mov dword [ebp - 0x29c], edx
cmp dword [ebp - 0x654], 0
jne 0x40adc9
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x654], ecx
mov dword [ebp - 0x13c], 0
jmp 0x40add3
mov dword [ebp - 0x13c], 1
cmp dword [ebp - 0x29c], 2
je 0x40adff
cmp dword [ebp - 0x29c], 0x8ae
je 0x40adff
mov edx, dword [ebp - 0x658]
add edx, dword [ebp - 0x654]
mov dword [ebp - 0x658], edx
jmp 0x40acc0
cmp dword [0x41c27c], 0
je 0x40ae37
cmp dword [ebp - 0x14], 0
jne 0x40ae37
cmp dword [ebp - 0x5ec], 0
jne 0x40ae37
cmp dword [ebp - 0x200], 0
jne 0x40ae37
mov eax, dword [ebp - 0x658]
add eax, dword [ebp - 0x654]
mov dword [ebp - 0x658], eax
jmp 0x40acc0
cmp dword [ebp - 0x14], 0
je 0x40ae67
mov ecx, dword [ebp + 0xc]
push ecx
push 0x4217c0
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40ae67
mov edx, dword [ebp - 0x658]
add edx, dword [ebp - 0x654]
mov dword [ebp - 0x658], edx
jmp 0x40acc0
cmp dword [ebp - 0x5ec], 0
je 0x40aee7
mov eax, dword [ebp - 0x29c]
cmp eax, dword [ebp - 0x298]
jne 0x40aec6
cmp dword [ebp + 0x18], 0
jne 0x40ae8d
cmp dword [ebp - 0x200], 0
jne 0x40aea2
cmp dword [ebp + 0x18], 1
jne 0x40ae9c
cmp dword [ebp - 0x200], 0
je 0x40aea2
cmp dword [ebp + 0x18], 2
jne 0x40aec6
push 0x4217c0
mov ecx, dword [ebp - 0x1fc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x41af3c
mov edx, dword [ebp - 0x1fc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x658]
add eax, dword [ebp - 0x654]
mov dword [ebp - 0x658], eax
jmp 0x40acc0
movzx ecx, byte [0x4218c0]
shl ecx, 0x18
movzx edx, byte [0x4218c1]
shl edx, 0x10
or ecx, edx
movzx eax, byte [0x4218c2]
shl eax, 8
or ecx, eax
movzx edx, byte [0x4218c3]
or ecx, edx
mov dword [ebp - 0x1d4], ecx
push 0x4217c0
lea eax, [ebp - 0x4c8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x5f0], 0
cmp dword [ebp - 0x29c], 2
jne 0x40af5b
push 0x118
lea ecx, [ebp - 0x3c0]
push ecx
lea edx, [ebp - 0x4c8]
push edx
call fcn.0040df10
mov dword [ebp - 0x5f0], eax
cmp dword [ebp - 0x5f0], 0
jne 0x40afbe
push 0x4216a0
lea eax, [ebp - 0x3c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x3c0]
push ecx
call fcn.0040c9b0
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x40afa3
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov byte [eax], 0
jmp 0x40afaa
mov byte [ebp - 0x3c0], 0
lea eax, [ebp - 0x4c8]
push eax
lea ecx, [ebp - 0x3c0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp dword [ebp - 0x14], 0
je 0x40afd0
mov dword [ebp - 0x208], 0xffffffff
jmp 0x40b002
cmp dword [ebp - 0x29c], 2
jne 0x40aff8
push 1
push 0x20
lea edx, [ebp - 0x1d0]
push edx
lea eax, [ebp - 0x3c0]
push eax
call fcn.0040df60
mov dword [ebp - 0x208], eax
jmp 0x40b002
mov dword [ebp - 0x208], 0xffffffff
cmp dword [ebp - 0x208], 0xffffffff
jne 0x40b7c6
cmp dword [ebp - 0x140], 0
jne 0x40b10d
cmp dword [ebp - 0x29c], 2
jne 0x40b10d
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.0040e070
cmp dword [ebp - 0x5e4], 0
je 0x40b04b
mov edx, dword [ebp - 0x5e4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x4216a0
call fcn.0040c9b0
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x40b079
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [ebp - 0x144], eax
jmp 0x40b083
mov dword [ebp - 0x144], 0x4216a0
mov ecx, dword [ebp - 0x144]
push ecx
push 0x421a80
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x2e
push 0x421a80
call fcn.0040c960
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40b0b0
mov edx, dword [ebp - 0x2c]
mov byte [edx], 0
lea eax, [ebp - 0x4c8]
push eax
push 0x421a80
push str._s___s_
lea ecx, [ebp - 0x880]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 1
push 0x12c
push 0x421940
push 0x1b76
mov edx, dword [0x421580]
push edx
call fcn.0040c660
push 0
lea eax, [ebp - 0x880]
push eax
push 0x421940
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40b86a
cmp dword [ebp - 0x208], 0xffffffff
jne 0x40b263
cmp dword [ebp - 0x14], 0
je 0x40b13b
push 0x118
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x5e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x40b263
push 4
push 0x4216a0
lea ecx, [ebp - 0x884]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea edx, [ebp - 0x884]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov word [ebp - 0x65c], ax
movzx eax, word [ebp - 0x65c]
cmp eax, 2
je 0x40b17b
movzx ecx, word [ebp - 0x65c]
cmp ecx, 5
jne 0x40b187
mov dword [ebp - 0x1f0], 1
jmp 0x40b191
mov dword [ebp - 0x1f0], 0
movzx edx, word [ebp - 0x65c]
cmp edx, 2
jne 0x40b1b0
cmp dword [0x41c278], 0
je 0x40b1b0
mov dword [ebp - 0x1f0], 0
cmp dword [ebp - 0x1f0], 0
je 0x40b209
push 0x118
lea eax, [ebp - 0x5e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40b1db
mov byte [ebp - 0x5e0], 0
cmp dword [ebp - 0x1c], 3
jle 0x40b1f3
push 0x41af48
lea ecx, [ebp - 0x5e0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x4c8]
push edx
lea eax, [ebp - 0x5e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x40b263
push 0x4216a0
lea ecx, [ebp - 0x5e0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x5e0]
push edx
call fcn.0040c9b0
mov dword [ebp - 0x888], eax
cmp dword [ebp - 0x888], 0
je 0x40b248
mov eax, dword [ebp - 0x888]
push eax
call dword [sym.imp.USER32.dll_CharNextA]
mov byte [eax], 0
jmp 0x40b24f
mov byte [ebp - 0x5e0], 0
lea ecx, [ebp - 0x4c8]
push ecx
lea edx, [ebp - 0x5e0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
movzx eax, byte [ebp - 0x5e0]
cmp eax, 0x5c
jne 0x40b2c1
movzx ecx, byte [ebp - 0x5df]
cmp ecx, 0x5c
jne 0x40b2c1
push 0x104
lea edx, [ebp - 0x5e0]
push edx
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x138]
push ecx
call fcn.0040c9b0
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x40b2bf
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.USER32.dll_CharNextA]
mov byte [eax], 0
jmp 0x40b2ef
mov al, byte [ebp - 0x5e0]
mov byte [ebp - 0x138], al
mov byte [ebp - 0x137], 0x3a
mov byte [ebp - 0x136], 0x5c
mov byte [ebp - 0x135], 0
lea ecx, [ebp - 0x138]
push ecx
call dword [sym.imp.USER32.dll_CharUpperA]
mov edx, dword [ebp - 0x140]
push edx
lea eax, [ebp - 0x138]
push eax
call fcn.0040a8a0
test eax, eax
jne 0x40b3ce
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.0040e070
cmp dword [ebp - 0x5e4], 0
je 0x40b32c
mov edx, dword [ebp - 0x5e4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x10], 0x190
push 1
push 0x12c
push 0x421a80
push 0x1b77
mov eax, dword [0x421580]
push eax
call fcn.0040c660
push 1
push 0x12c
push 0x421940
push 0x1b78
mov ecx, dword [0x421580]
push ecx
call fcn.0040c660
push 1
push 0x50
lea edx, [ebp - 0x650]
push edx
push 0x1b79
mov eax, dword [0x421580]
push eax
call fcn.0040c660
lea ecx, [ebp - 0x650]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x421940
push 0x421a80
push str._s___s__dK__s.
push 0x4215a0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0
lea eax, [ebp - 0x5e0]
push eax
push 0x4215a0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40b86a
push 0
push 0x1011
lea edx, [ebp - 0x1d0]
push edx
lea eax, [ebp - 0x5e0]
push eax
call fcn.0040df60
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0xffffffff
jne 0x40b454
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.0040e070
cmp dword [ebp - 0x5e4], 0
je 0x40b419
mov edx, dword [ebp - 0x5e4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 1
push 0x12c
push 0x421a80
push 0x1b7a
mov eax, dword [0x421580]
push eax
call fcn.0040c660
push 0
lea ecx, [ebp - 0x5e0]
push ecx
push 0x421a80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40b86a
mov dword [ebp - 0x5e8], 0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x5f8], 0
mov eax, dword [ebp - 0x654]
cmp eax, dword [ebp - 0x140]
jle 0x40b498
mov ecx, dword [ebp - 0x654]
mov dword [ebp - 0x88c], ecx
jmp 0x40b4a4
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x88c], edx
mov eax, dword [ebp - 0x88c]
add eax, 0x3e8
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x5f4], eax
mov edx, dword [ebp - 0x5f4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x5f4], 0
je 0x40b62c
cmp dword [ebp - 0x2a4], 0
je 0x40b62c
mov dword [ebp - 0x5e8], 1
push 0
mov eax, dword [ebp - 0x658]
push eax
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.0040e090
push 0
lea edx, [ebp - 0x5fc]
push edx
mov eax, dword [ebp - 0x654]
push eax
mov ecx, dword [ebp - 0x2a4]
push ecx
mov edx, dword [ebp - 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x5fc]
cmp eax, dword [ebp - 0x654]
je 0x40b558
mov dword [ebp - 0x1e0], 0
cmp dword [ebp - 0x1e0], 0
je 0x40b62c
cmp dword [ebp - 0x13c], 0
je 0x40b5d1
cmp dword [ebp - 0x294], 0
jne 0x40b593
mov ecx, dword [0x421580]
push ecx
call fcn.00401340
mov dword [ebp - 0x5e4], eax
mov dword [ebp - 0x294], 1
cmp dword [ebp - 0x5e4], 0
je 0x40b5cf
mov edx, dword [ebp - 0x1e4]
push edx
mov eax, dword [ebp - 0x654]
push eax
mov ecx, dword [ebp - 0x2a4]
push ecx
call fcn.00401440
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 0xffffffff
je 0x40b5cf
mov dword [ebp - 0x5f8], 1
jmp 0x40b5e7
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x5f8], 1
cmp dword [ebp - 0x5f8], 0
je 0x40b62c
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1e8]
push ecx
mov edx, dword [ebp - 0x2a4]
push edx
mov eax, dword [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x1e8]
je 0x40b62c
mov dword [ebp - 0x1dc], 0
cmp dword [ebp - 0x5f4], 0
je 0x40b64f
mov edx, dword [ebp - 0x5f4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x5f4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x1dc], 0
jne 0x40b73d
mov ecx, dword [ebp - 0x208]
push ecx
call fcn.0040e070
mov edx, dword [ebp - 0x2a8]
push edx
call fcn.0040e070
cmp dword [ebp - 0x5e4], 0
je 0x40b68a
mov eax, dword [ebp - 0x5e4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x5e8], 0
jne 0x40b6b2
push 1
push 0x12c
push 0x421a80
push 0x1b93
mov ecx, dword [0x421580]
push ecx
call fcn.0040c660
jmp 0x40b71e
cmp dword [ebp - 0x1e0], 0
jne 0x40b6da
push 1
push 0x12c
push 0x421a80
push 0x1b94
mov edx, dword [0x421580]
push edx
call fcn.0040c660
jmp 0x40b71e
cmp dword [ebp - 0x5f8], 0
jne 0x40b701
push 1
push 0x12c
push 0x421a80
push 0x1b95
mov eax, dword [0x421580]
push eax
call fcn.0040c660
jmp 0x40b71e
push 1
push 0x12c
push 0x421a80
push 0x1b7b
mov ecx, dword [0x421580]
push ecx
call fcn.0040c660
push 0
lea edx, [ebp - 0x4c8]
push edx
push 0x421a80
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x40b86a
mov ecx, dword [ebp - 0x208]
push ecx
call fcn.0040e070
lea edx, [ebp - 0x1f8]
push edx
mov eax, dword [ebp - 0x1d4]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x1d4]
shr ecx, 0x10
and ecx, 0xffff
push ecx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x1f8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push 0
push 0
push 3
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x3c0]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x40b7c4
lea edx, [ebp - 0xc]
push edx
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40b7d2
mov edx, dword [ebp - 0x208]
push edx
call fcn.0040e070
mov dword [ebp - 0x200], 0
mov eax, dword [ebp - 0x658]
add eax, dword [ebp - 0x654]
mov dword [ebp - 0x658], eax
cmp dword [ebp - 0x14], 0
je 0x40b7fd
mov dword [ebp - 0x24], 1
jmp 0x40b802
jmp 0x40acc0
mov ecx, dword [ebp - 0x2a8]
push ecx
call fcn.0040e070
cmp dword [ebp - 0x5e4], 0
je 0x40b824
mov edx, dword [ebp - 0x5e4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x14], 0
je 0x40b82f
mov eax, dword [ebp - 0x24]
jmp 0x40b86a
cmp dword [ebp - 0x5ec], 0
je 0x40b865
mov eax, dword [ebp - 0x1fc]
push eax
call fcn.0040c910
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x40b853
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], 0
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x1fc]
mov dword [edx], eax
mov eax, 1
jmp 0x40b86a
mov eax, 1
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.0040fa05
mov esp, ebp
pop ebp
ret 0x14