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

Disassembly:
push 0xffffffffffffffff
push 0x406a5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14c], 0
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x24]
lea ecx, [esi + 0x3c]
push eax
mov ebp, 1
mov byte [esp + 0x150], 1
call sub.MFC42.DLL_CStringList::RemoveHead
push 0x40b658
lea ecx, [esp + 0x28]
mov byte [esp + 0x150], 2
call sub.MFC42.DLL_CString::Find
mov edi, eax
cmp edi, 0xffffffff
jne 0x401975
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x14]
call fcn.004061a6
jmp 0x4019da
lea edx, [esp + 0x20]
push edi
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 3
call fcn.004061a6
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 2
call fcn.004060da
inc edi
lea eax, [esp + 0x20]
push edi
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 4
call fcn.004061a6
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 2
call fcn.004060da
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [esp + 0x20]
push 4
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push str.ABOR
push eax
call edi
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
sete bl
call fcn.004060da
test bl, bl
je 0x401a26
push str.ABOR
lea ecx, [esp + 0x14]
call fcn.0040615e
cmp dword [esi + 0x38], ebp
jne 0x401a64
mov edx, dword [esp + 0x10]
push str.USER
push edx
call edi
add esp, 8
test eax, eax
je 0x401a64
mov eax, dword [esp + 0x10]
push str.PASS
push eax
call edi
add esp, 8
test eax, eax
je 0x401a64
push str.530_Please_login_with_USER_and_PASS.
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
mov ecx, dword [esp + 0x10]
push str.USER
push ecx
call edi
add esp, 8
test eax, eax
jne 0x401acd
lea edx, [esp + 0x1c]
lea ecx, [esi + 0x20]
push edx
mov dword [esi + 0x38], ebp
call fcn.004061a6
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x154], 5
call sub.MFC42.DLL_CAsyncSocket::GetPeerName
push str.331_Please_specify_the_password.
push esi
call fcn.004015f0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov edx, dword [esp + 0x10]
push str.PASS
push edx
call edi
add esp, 8
test eax, eax
jne 0x401b86
mov eax, dword [esi + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x401b01
push str.503_Login_with_USER_first.
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
mov ecx, dword [esi + 0x1c]
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [ecx + 0xc0]
push ecx
push eax
call ebx
add esp, 8
test eax, eax
jne 0x401b73
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x401b3a
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + 0xc4]
push eax
push ecx
call edi
add esp, 8
test eax, eax
je 0x401b4c
mov eax, dword [esi + 0x20]
push str.anonymous
push eax
call ebx
add esp, 8
test eax, eax
jne 0x401b73
push 0x40b5c8
lea ecx, [esi + 0x5c]
call fcn.0040615e
push str.230_Login_successful.
push esi
mov dword [esi + 0x38], 0
call fcn.004015f0
add esp, 8
jmp 0x402605
push str.530_Not_logged_in__user_or_password_incorrect_
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
mov eax, dword [esp + 0x10]
push str.QUIT
push eax
call edi
add esp, 8
test eax, eax
je 0x4025b2
mov ecx, dword [esp + 0x10]
push 0x40b574
push ecx
call edi
add esp, 8
test eax, eax
je 0x4025b2
mov edx, dword [esp + 0x10]
push str.TYPE
push edx
call edi
add esp, 8
test eax, eax
jne 0x401bdf
mov eax, dword [esp + 0x1c]
push eax
push str.200_Type_set_to__s
push esi
call fcn.004015f0
add esp, 0xc
jmp 0x402605
mov ecx, dword [esp + 0x10]
push 0x40b554
push ecx
call edi
add esp, 8
test eax, eax
jne 0x401c09
mov edx, dword [esi + 0x5c]
push edx
push str.257___s__is_current_directory.
push esi
call fcn.004015f0
add esp, 0xc
jmp 0x402605
mov eax, dword [esp + 0x10]
push str.CDUP
push eax
call edi
add esp, 8
test eax, eax
jne 0x401c2d
push 0x40b528
mov ecx, esi
call fcn.00402670
jmp 0x402605
mov ecx, dword [esp + 0x10]
push 0x40b524
push ecx
call edi
add esp, 8
test eax, eax
jne 0x401c51
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edx
call fcn.00402670
jmp 0x402605
mov eax, dword [esp + 0x10]
push str.PORT
push eax
call edi
add esp, 8
test eax, eax
jne 0x401d62
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push 0x2c
push 0
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x15c], 7
call sub.MFC42.DLL_AfxExtractSubString
test eax, eax
je 0x401d3e
mov ebp, dword [sym.imp.MSVCRT.dll_atoi]
xor ebx, ebx
cmp ebx, 5
ja case.default.0x401ca1
jmp dword [ebx*4 + 0x402654]
lea edi, [esi + 0x30]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.004061a6
push 0x40b518
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
jmp case.default.0x401ca1
lea ecx, [esp + 0x18]
lea edi, [esi + 0x30]
push ecx
jmp 0x401cd7
lea edx, [esp + 0x18]
lea edi, [esi + 0x30]
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::operator
push 0x40b518
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
jmp case.default.0x401ca1
lea eax, [esp + 0x18]
lea ecx, [esi + 0x30]
push eax
call sub.MFC42.DLL_CString::operator
jmp case.default.0x401ca1
mov ecx, dword [esp + 0x18]
push ecx
call ebp
add esp, 4
shl eax, 8
mov dword [esi + 0x2c], eax
jmp case.default.0x401ca1
mov edx, dword [esp + 0x18]
push edx
call ebp
mov ecx, dword [esi + 0x2c]
add esp, 4
add ecx, eax
mov dword [esi + 0x2c], ecx
lea eax, [ebx + 1]
push 0x2c
mov ebx, eax
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_AfxExtractSubString
test eax, eax
jne 0x401c9c
push str.200_Port_command_successful.
push esi
call fcn.004015f0
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov edx, dword [esp + 0x10]
push str.PASV
push edx
call edi
add esp, 8
test eax, eax
jne 0x401e9b
mov ecx, esi
call fcn.00402e70
push 0x30
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x14c], 8
je 0x401da4
push esi
mov ecx, eax
call fcn.004038a0
jmp 0x401da6
xor eax, eax
push 0
push 0x3f
push ebp
push 0
mov ecx, eax
mov byte [esp + 0x15c], 2
mov dword [esi + 0x34], eax
call sub.MFC42.DLL_CAsyncSocket::Create
test eax, eax
jne 0x401ddd
mov ecx, esi
call fcn.00402e70
push str.421_Failed_to_create_socket.
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
mov eax, dword [esi + 0x34]
push 5
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.dll_listen
mov ecx, dword [esi + 0x34]
push 0x3f
call sub.MFC42.DLL_CAsyncSocket::AsyncSelect
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov bl, 9
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x154], 0xa
call sub.MFC42.DLL_CAsyncSocket::GetSockName
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esi + 0x34]
call sub.MFC42.DLL_CAsyncSocket::GetSockName
push 0x40b4cc
push 0x40b518
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [esp + 0x28]
mov edx, eax
and edx, 0xff
shr eax, 8
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
push str.227_Entering_Passive_Mode___s__d__d_.
push esi
call fcn.004015f0
add esp, 0x14
lea ecx, [esp + 0x20]
mov dword [esi + 0x28], ebp
mov byte [esp + 0x14c], bl
call fcn.004060da
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov ecx, dword [esp + 0x10]
push str.LIST
push ecx
call edi
add esp, 8
test eax, eax
jne 0x401f87
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x154], 0xb
call fcn.00402eb0
test eax, eax
jne 0x401eee
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
push str.150_Opening_ASCII_mode_data_connection_for_directory_list.
push esi
call fcn.004015f0
add esp, 8
mov ecx, esi
call fcn.00403240
test eax, eax
je 0x401f6a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x401f44
mov ecx, esi
call fcn.00402e70
push str.226_Transfer_complete.
push esi
call fcn.004015f0
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esi + 0x38], 0
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov ecx, dword [esi + 0x34]
push eax
mov dword [esi + 0x38], 2
call fcn.004039b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov ecx, esi
call fcn.00402e70
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov ecx, dword [esp + 0x10]
push str.RETR
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40203d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push ebp
push ecx
mov byte [esp + 0x158], 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004029a0
sub eax, 2
mov dword [esi + 0x38], 4
je 0x402019
sub eax, 3
je 0x402012
push str.150_Opening_BINARY_mode_data_connection_for_file_transfer.
push esi
call fcn.004015f0
add esp, 8
mov ecx, esi
call fcn.00403240
test eax, eax
jne 0x402003
mov ecx, esi
mov dword [esi + 0x38], eax
call fcn.00402e70
jmp 0x402027
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x34]
call fcn.004039e0
jmp 0x402027
push str.550_Permission_denied.
jmp 0x40201e
push str.550_File_not_found.
push esi
call fcn.004015f0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov edx, dword [esp + 0x10]
push str.STOR
push edx
call edi
add esp, 8
test eax, eax
jne 0x4020f4
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
lea edx, [esp + 0x1c]
push eax
push 2
push ecx
mov byte [esp + 0x158], 0xd
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004029a0
sub eax, 2
mov dword [esi + 0x38], 3
je 0x4020d0
sub eax, 3
je 0x4020c9
push str.150_Opening_BINARY_mode_data_connection_for_file_transfer.
push esi
call fcn.004015f0
add esp, 8
mov ecx, esi
call fcn.00403240
test eax, eax
jne 0x4020ba
mov ecx, esi
mov dword [esi + 0x38], eax
call fcn.00402e70
jmp 0x4020de
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x34]
push eax
call fcn.00403a40
jmp 0x4020de
push str.550_Permission_denied.
jmp 0x4020d5
push str.550_Filename_invalid.
push esi
call fcn.004015f0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov ecx, dword [esp + 0x10]
push str.SIZE
push ecx
call edi
add esp, 8
test eax, eax
jne 0x402193
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push ebp
push ecx
mov byte [esp + 0x158], 0xe
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004029a0
sub eax, 2
je 0x40216f
sub eax, 3
je 0x402168
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
push edx
call sub.MFC42.DLL_CFile::GetStatus
mov eax, dword [esp + 0x38]
push eax
push str.213__d
push esi
call fcn.004015f0
add esp, 0xc
jmp 0x40217d
push str.550_Permission_denied.
jmp 0x402174
push str.550_File_not_found.
push esi
call fcn.004015f0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov ecx, dword [esp + 0x10]
push str.DELE
push ecx
call edi
add esp, 8
test eax, eax
jne 0x402272
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push 4
push ecx
mov bl, 0xf
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x15c], bl
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004029a0
sub eax, 2
je 0x40224e
sub eax, 3
je 0x402247
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x154], 0x10
call fcn.00403380
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x402222
mov ecx, dword [esp + 0x18]
push ecx
push str.450_Internal_error_deleting_the_file:___s_.
jmp 0x40222c
mov edx, dword [esp + 0x18]
push edx
push str.250_File___s__was_deleted_successfully.
push esi
call fcn.004015f0
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], bl
call fcn.004060da
jmp 0x40225c
push str.550_Permission_denied.
jmp 0x402253
push str.550_File_not_found.
push esi
call fcn.004015f0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov eax, dword [esp + 0x10]
push str.RNFR
push eax
call edi
add esp, 8
test eax, eax
jne 0x40233a
lea edi, [esi + 0x24]
lea edx, [esp + 0x1c]
push edi
push 3
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004029a0
test eax, eax
je 0x402327
push edi
push 3
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00402760
test eax, eax
je 0x402314
sub eax, 2
je 0x402301
dec eax
je 0x4022ee
sub eax, 2
jne 0x402605
push str.550_Permission_denied.
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
push str.550_Directory_not_found.
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
push str.550_File_not_found.
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
push str.350_Directory_exists__ready_for_destination_name.
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
push str.350_File_exists__ready_for_destination_name.
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
mov ecx, dword [esp + 0x10]
push str.RNTO
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4023bb
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push 3
push ecx
mov byte [esp + 0x158], 0x11
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.004029a0
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x402397
push str.450_Internal_error_renamed_the_file.
jmp 0x40239c
push str.250_renamed_successfully.
push esi
call fcn.004015f0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov edx, dword [esp + 0x10]
push 0x40b274
push edx
call edi
add esp, 8
test eax, eax
jne 0x402467
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x14]
lea edx, [esp + 0x1c]
push eax
push 4
push ecx
mov byte [esp + 0x158], 0x12
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00402760
sub eax, 3
je 0x402443
sub eax, 2
je 0x40243c
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x402435
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x91
jne 0x40242e
push str.550_Directory_not_empty.
jmp 0x402448
push str.450_Internal_error_deleting_the_directory.
jmp 0x402448
push str.250_Directory_deleted_successfully.
jmp 0x402448
push str.550_Permission_denied.
jmp 0x402448
push str.550_Directory_not_found.
push esi
call fcn.004015f0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov ecx, dword [esp + 0x10]
push 0x40b204
push ecx
call edi
add esp, 8
test eax, eax
jne 0x402501
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push 5
push ecx
mov byte [esp + 0x158], 0x13
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00402760
test eax, eax
je 0x4024dd
cmp eax, 5
je 0x4024d6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00405910
add esp, 4
test eax, eax
jne 0x4024cf
push str.450_Internal_error_creating_the_directory.
jmp 0x4024e2
push str.250_Directory_created_successfully.
jmp 0x4024e2
push str.550_Cant_create_directory._Permission_denied.
jmp 0x4024e2
push str.550_Directory_already_exists.
push esi
call fcn.004015f0
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x14c], 2
call fcn.004060da
jmp 0x402605
mov edx, dword [esp + 0x10]
push str.ABOR
push edx
call edi
add esp, 8
test eax, eax
jne 0x402559
mov eax, dword [esi + 0x34]
test eax, eax
je 0x402546
mov eax, dword [esi + 0x38]
test eax, eax
je 0x402530
push str.426_Data_connection_closed.
push esi
call fcn.004015f0
add esp, 8
mov eax, dword [esi + 0x14]
push 0
push 0
push 0x4cc
mov eax, dword [eax + 0x30]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
push str.226_ABOR_command_successful.
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
mov ecx, dword [esp + 0x10]
push str.SYST
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40257f
push str.215_UNIX_Slyar_FTPserver
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
mov edx, dword [esp + 0x10]
push str.NOOP
push edx
call edi
add esp, 8
test eax, eax
jne 0x4025a2
push str.200_OK
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
push str.502_Command_not_implemented.
push esi
call fcn.004015f0
add esp, 8
jmp 0x402605
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [eax + 0x6c]
call fcn.00404f40
mov edx, dword [eax]
mov byte [esp + 0x14c], 6
push edx
push str.220__s
push esi
call fcn.004015f0
add esp, 0xc
lea ecx, [esp + 0x20]
mov byte [esp + 0x14c], 2
call fcn.004060da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov esi, dword [esi + 0x14]
push 0
push ebp
push 0x12
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
lea ecx, [esp + 0x24]
mov byte [esp + 0x14c], 1
call fcn.004060da
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0
call fcn.004060da
lea ecx, [esp + 0x10]
mov dword [esp + 0x14c], 0xffffffff
call fcn.004060da
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x140
ret