Function at 0x462940
Capabilities:
Create directory
Print debug messages
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6f06
mov eax, dword fs:[0]
push eax
mov eax, 0x416c
call fcn.004ba9f0
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
mov esi, edx
push SysReAllocString
push esi
mov dword [ebp - 0x4118], eax
mov dword [ebp - 0x4100], ebx
mov dword [ebp - 0x40e4], ecx
mov dword [ebp - 0x40e0], 0x4628c0
mov dword [ebp - 0x40dc], 0x4628e0
mov dword [ebp - 0x4124], 0x462900
mov dword [ebp - 0x4120], 0x462920
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4108], eax
cmp eax, 0xffffffff
jne 0x462a34
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x462a34
push 0x510cf8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [ebp - 0x40e4]
push 5
push 0x510d24
mov ecx, ebx
call fcn.00404960
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x462a06
sub eax, edx
sar eax, 1
push eax
mov eax, esi
mov ecx, ebx
call fcn.00403f00
push 2
mov eax, 0x510d30
mov ecx, ebx
call fcn.00403f00
xor al, al
jmp 0x46353f
lea edx, [ebp - 0x4110]
mov dword [ebp - 0x4110], 0x464510
mov dword [ebp - 0x410c], 0x464540
mov dword [ebp - 0x40d8], 0x4647e0
mov dword [ebp - 0x40d4], 0x464840
mov dword [ebp - 0x40d0], 0x464850
mov dword [ebp - 0x40cc], 0x4648b0
mov dword [ebp - 0x40c8], edx
mov dword [ebp - 0x40c0], edi
mov dword [ebp - 0x40c4], edi
call fcn.004649d0
lea eax, [ebp - 0x40d8]
push eax
lea ecx, [ebp - 0x4178]
push ecx
lea edx, [ebp - 0x4124]
lea ecx, [ebp - 0x40e0]
mov dword [ebp - 0x4178], edi
mov dword [ebp - 0x4174], edi
mov dword [ebp - 0x4170], edi
mov dword [ebp - 0x416c], edi
mov dword [ebp - 0x4168], edi
mov dword [ebp - 0x4164], edi
mov dword [ebp - 0x4160], edi
mov dword [ebp - 0x415c], edi
mov dword [ebp - 0x4148], edi
mov dword [ebp - 0x4144], edi
mov dword [ebp - 0x4140], edi
mov dword [ebp - 0x413c], edi
mov dword [ebp - 0x4138], edi
mov dword [ebp - 0x4134], edi
mov dword [ebp - 0x4130], edi
call fcn.00466eb0
mov esi, eax
add esp, 8
cmp esi, edi
je 0x462b22
lea edi, [ebp - 0x40e0]
lea eax, [ebp - 0x4178]
call fcn.00464e40
xor edi, edi
mov dword [ebp - 0x40e8], esi
cmp esi, edi
je 0x462b7e
lea edi, [ebp - 0x40e0]
lea eax, [ebp - 0x4178]
call fcn.00464e40
mov eax, dword [ebp - 0x4108]
cmp eax, 0xffffffff
je 0x462b65
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x462b5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x462b65
mov dword [ebp - 0x4108], 0xffffffff
mov ecx, dword [ebp - 0x40e4]
push 0x14
push str.SzArEx_Open
call fcn.00404960
xor al, al
jmp 0x46353f
xor esi, esi
mov dword [ebp - 0x4114], 0xffffffff
mov dword [ebp - 0x40fc], edi
mov dword [ebp - 0x411c], edi
mov dword [ebp - 0x40ec], esi
cmp dword [ebp - 0x415c], edi
jbe 0x46346a
mov edi, dword [ebx]
test edi, edi
je 0x462bf3
mov edx, esi
mov dword [ebp - 0x40f8], edx
fild dword [ebp - 0x40f8]
test edx, edx
jns 0x462bc6
fadd dword [0x510ef0]
mov eax, dword [ebp - 0x415c]
fild dword [ebp - 0x415c]
test eax, eax
jns 0x462bdc
fadd dword [0x510ef0]
fdivp st(1)
fmul qword [0x510ee8]
call fcn.004bab70
mov ecx, dword [ebx + 4]
push ecx
push eax
call edi
add esp, 8
mov ecx, dword [ebp - 0x4138]
mov eax, esi
shl eax, 5
add eax, dword [ebp - 0x4168]
lea edi, [ecx + esi*4 + 4]
mov dword [ebp - 0x40f8], eax
mov eax, dword [edi]
sub eax, dword [ecx + esi*4]
je 0x46326b
lea esi, [eax + eax + 2]
test esi, esi
je 0x46328c
push esi
call fcn.004b30cc
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46328c
push esi
push 0
push ebx
call fcn.004b9c60
mov edx, dword [ebp - 0x4138]
mov eax, dword [ebp - 0x40ec]
mov eax, dword [edx + eax*4]
mov ecx, dword [edi]
mov edx, dword [ebp - 0x4134]
add esp, 0xc
sub ecx, eax
lea edx, [edx + eax*2]
je 0x462c73
mov eax, ebx
sub edx, ebx
mov si, word [edx + eax]
mov word [eax], si
add eax, 2
dec ecx
jne 0x462c66
xor esi, esi
xor eax, eax
mov word [ebp - 0x2c], ax
mov edi, 7
mov eax, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
lea edx, [eax + 2]
jmp 0x462c90
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x462c90
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00404960
mov dword [ebp - 4], esi
xor eax, eax
cmp dword [ebp - 0x1c], esi
jbe 0x462cee
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
lea esp, [esp]
mov edx, ecx
cmp esi, 8
jae 0x462cca
lea edx, [ebp - 0x2c]
cmp word [edx + eax*2], 0x2f
jne 0x462ce8
cmp esi, 8
jae 0x462cd9
lea ecx, [ebp - 0x2c]
mov edx, 0x5c
mov word [ecx + eax*2], dx
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
inc eax
cmp eax, dword [ebp - 0x1c]
jb 0x462cc0
push ebx
call fcn.004b3515
mov esi, dword [ebp - 0x4118]
add esp, 4
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462d12
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00404960
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
lea eax, [ecx - 1]
cmp ecx, eax
jbe 0x4632ad
mov ecx, dword [ebp - 0x48]
mov ebx, 8
cmp dword [ebp - 0x34], ebx
jae 0x462d4d
lea ecx, [ebp - 0x48]
cmp word [ecx + eax*2], 0x5c
je 0x462d63
push 1
mov eax, 0x5062dc
lea ecx, [ebp - 0x48]
call fcn.00403f00
push 0
lea ecx, [ebp - 0x2c]
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0x48]
call fcn.00403e00
lea edx, [ebp - 0x4124]
push edx
lea eax, [ebp - 0x40e0]
push eax
lea ecx, [ebp - 0x40f4]
push ecx
lea edx, [ebp - 0x4104]
push edx
lea eax, [ebp - 0x411c]
push eax
mov eax, dword [ebp - 0x40ec]
lea ecx, [ebp - 0x40fc]
push ecx
lea edx, [ebp - 0x4114]
push edx
push eax
lea ecx, [ebp - 0x40d8]
xor esi, esi
push ecx
lea eax, [ebp - 0x4178]
mov dword [ebp - 0x4104], esi
mov dword [ebp - 0x40f4], esi
call fcn.004672a0
add esp, 0x24
mov dword [ebp - 0x40e8], eax
cmp eax, esi
jne 0x4632b7
mov edx, dword [ebp - 0x40f8]
cmp byte [edx + 0x19], 0
je 0x462e3a
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x462df4
lea eax, [ebp - 0x48]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp eax, 0xa1
je 0x46330e
cmp eax, 0xce
je 0x46330e
cmp eax, 3
je 0x46330e
lea ecx, [ebp - 0x48]
call fcn.00404a50
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404a50
jmp 0x463245
lea eax, [ebp - 0x48]
push eax
lea edi, [ebp - 0x40f0]
mov dword [ebp - 0x40f0], 0x5c
call fcn.00406990
cmp eax, 0xffffffff
je 0x462e90
push eax
push 0
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00403cb0
mov eax, dword [ebp - 0x64]
mov esi, ebx
cmp dword [ebp - 0x50], esi
jae 0x462e74
lea eax, [ebp - 0x64]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebp - 0x50], esi
jb 0x462e90
mov edx, dword [ebp - 0x64]
push edx
call fcn.004b1c22
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor edi, edi
jmp 0x462ea0
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x462eac
lea eax, [ebp - 0x48]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call ebx
mov esi, eax
mov dword [ebp - 0x40f0], esi
cmp esi, 0xffffffff
jne 0x463025
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x463025
mov eax, dword [ebp - 0x4100]
mov eax, dword [eax + 8]
test eax, eax
je 0x462f0b
mov ecx, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x462efd
lea ecx, [ebp - 0x2c]
push ecx
call eax
add esp, 4
test eax, eax
jne 0x462fd7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 3
jl 0x462ea0
lea edx, [ebp - 0x80]
push 0x510e1c
push edx
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x40e8], 9
call fcn.0040add0
push eax
mov eax, 0x510d30
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.004039a0
add esp, 0xc
mov esi, dword [ebp - 0x40e4]
mov edi, eax
mov byte [ebp - 4], 5
call fcn.00404350
cmp dword [ebp - 0x50], 8
jb 0x462f6f
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b1c22
add esp, 4
xor esi, esi
xor ecx, ecx
mov ebx, 7
mov byte [ebp - 4], 1
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
jb 0x462f98
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b1c22
add esp, 4
mov ecx, dword [ebp - 0x40e4]
call fcn.004042e0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x1c]
push str.XYUpdate.exe
mov edi, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00407850
test eax, eax
jne 0x4633d7
push 0x510e50
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4631ff
cmp dword [ebp - 0x34], esi
jb 0x462fe8
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b1c22
add esp, 4
xor edi, edi
xor edx, edx
mov esi, 7
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
jb 0x463014
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
jmp 0x463245
mov edx, dword [ebp - 0x40fc]
mov ebx, dword [ebp - 0x40f4]
mov eax, dword [ebp - 0x4104]
lea ecx, [ebp - 0x40f0]
lea eax, [eax + edx]
push ecx
lea edi, [ebp - 0x40f4]
mov dword [ebp - 0x40f4], ebx
call fcn.00464380
add esp, 4
test eax, eax
jne 0x4630ed
cmp dword [ebp - 0x40f4], ebx
jne 0x4630ed
cmp esi, 0xffffffff
je 0x46307f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x46307f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x40f8]
cmp byte [ecx + 0x1d], 0
mov ebx, 8
je 0x4630a6
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x46309b
lea eax, [ebp - 0x48]
mov edx, dword [ecx + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x34], ebx
jb 0x4630b7
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b1c22
add esp, 4
xor edi, edi
xor ecx, ecx
mov esi, 7
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], ebx
jb 0x4630e2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1c22
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
jmp 0x46323f
push str.can_not_write_output_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 0xffffffff
je 0x46311a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x463110
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x46311a
mov dword [ebp - 0x40f0], 0xffffffff
lea ecx, [ebp - 0x9c]
push 0x510e94
push ecx
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x40e8], 9
call fcn.0040add0
push eax
mov eax, 0x510d30
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 6
call fcn.004039a0
add esp, 0xc
mov esi, dword [ebp - 0x40e4]
mov ebx, 7
mov edi, eax
mov byte [ebp - 4], bl
call fcn.00404350
mov edi, 8
cmp dword [ebp - 0xa4], edi
jb 0x463181
mov edx, dword [ebp - 0xb8]
push edx
call fcn.004b1c22
add esp, 4
xor esi, esi
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], esi
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0x88], edi
jb 0x4631b3
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b1c22
add esp, 4
mov eax, dword [ebp - 0x1c]
xor edx, edx
push str.XYUpdate.exe
lea edi, [edx + 0xc]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], esi
mov word [ebp - 0x9c], dx
call fcn.00407850
test eax, eax
jne 0x463424
mov eax, dword [ebp - 0x40f0]
cmp eax, 0xffffffff
je 0x4631ff
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4631ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x463215
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b1c22
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor ecx, ecx
mov word [ebp - 0x48], cx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x18], edi
jb 0x463239
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1c22
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x40ec]
inc eax
mov dword [ebp - 0x40ec], eax
cmp eax, dword [ebp - 0x415c]
jae 0x46346a
mov ebx, dword [ebp - 0x4100]
mov esi, eax
jmp 0x462ba8
mov ecx, dword [ebp - 0x40e4]
push 0x19
push str.SzArEx_GetFileNameUtf16
mov dword [ebp - 0x40e8], 8
call fcn.00404960
jmp 0x46346a
mov ecx, dword [ebp - 0x40e4]
push 9
push str.SzAlloc
mov dword [ebp - 0x40e8], 2
call fcn.00404960
jmp 0x46346a
push str.invalid_string_position
call fcn.0046b74f
mov ecx, dword [ebp - 0x40e4]
push 0x10
push str.SzArEx_Extract
call fcn.00404960
cmp dword [ebp - 0x34], ebx
jb 0x4632da
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b1c22
add esp, 4
xor esi, esi
xor edx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], ebx
jb 0x463300
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov word [ebp - 0x2c], cx
jmp 0x463467
push str.can_not_create_output_folder_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea edx, [ebp - 0x80]
push 0x510e0c
push edx
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x40e8], 9
call fcn.0040add0
push eax
mov eax, 0x510d30
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.004039a0
add esp, 0xc
mov esi, dword [ebp - 0x40e4]
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00404350
mov ebx, 8
cmp dword [ebp - 0x50], ebx
jb 0x463370
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b1c22
add esp, 4
xor esi, esi
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x6c], ebx
jb 0x463394
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b1c22
add esp, 4
cmp dword [ebp - 0x34], ebx
jb 0x4633a5
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x18], ebx
jb 0x4633c9
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1c22
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov word [ebp - 0x2c], ax
jmp 0x463467
push 0x510e44
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x4633f8
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b1c22
add esp, 4
xor edx, edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], edi
jb 0x46341c
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
jmp 0x463464
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x46343a
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b1c22
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], edi
jb 0x46345e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b1c22
add esp, 4
xor edx, edx
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x40fc]
push eax
lea ecx, [ebp - 0x40e0]
push ecx
call dword [ebp - 0x40dc]
mov edx, dword [ebp - 0x4148]
push edx
lea eax, [ebp - 0x40e0]
push eax
call dword [ebp - 0x40dc]
mov ecx, dword [ebp - 0x4144]
push ecx
lea edx, [ebp - 0x40e0]
push edx
call dword [ebp - 0x40dc]
mov eax, dword [ebp - 0x4140]
push eax
lea ecx, [ebp - 0x40e0]
push ecx
call dword [ebp - 0x40dc]
mov edx, dword [ebp - 0x413c]
push edx
lea eax, [ebp - 0x40e0]
push eax
call dword [ebp - 0x40dc]
mov ecx, dword [ebp - 0x4138]
push ecx
lea edx, [ebp - 0x40e0]
push edx
call dword [ebp - 0x40dc]
mov eax, dword [ebp - 0x4134]
push eax
lea ecx, [ebp - 0x40e0]
push ecx
call dword [ebp - 0x40dc]
xor edi, edi
add esp, 0x38
lea eax, [ebp - 0x40e0]
lea esi, [ebp - 0x4178]
mov dword [ebp - 0x4134], edi
mov dword [ebp - 0x4130], edi
call fcn.00464d80
mov eax, dword [ebp - 0x4108]
cmp eax, 0xffffffff
je 0x463534
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x463534
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
cmp dword [ebp - 0x40e8], edi
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b1c2d
mov esp, ebp
pop ebp
ret