Function at 0x402bb0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x404f66
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x40b22c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x40b22c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x2c]
push eax
mov esi, ecx
mov dword [esp + 0x2c], ebx
call fcn.004025b0
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x64], 0
call fcn.004028c0
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
mov byte [esp + 0x64], 1
lea edi, [esi + 0x44]
call dword [sym.imp.xf_Os.dll_public:_char_const____thiscall_XtremeFramework::cXF_String::operator_char_const__void_const]
push eax
mov eax, dword [esi + 0x40]
push eax
push ebx
mov ecx, edi
call dword [sym.imp.ScczBridge.dll_public:_bool___thiscall_CScczBridge::StartSrv_class_XtremeFramework::cError___class_XtremeFramework::iXF_XtremeNode___char_const___class_XtremeFramework::cXF_Address_const__]
lea ecx, [esp + 0x14]
mov bl, al
mov byte [esp + 0x60], 0
call dword [sym.imp.xf_Os.dll_public_virtual:_void___thiscall_XtremeFramework::cXF_String::destructor_void_]
test bl, bl
je 0x402d6b
lea ecx, [ecx]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x402c62
cmp dword [eax + 0xc], 3
sete al
test al, al
jne 0x402cb3
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 2
call dword [sym.imp.xf_Os.dll_public:_void___thiscall_XtremeFramework::tSysTime::GetSysTime_void_]
add dword [esp + 0x14], 0x1dcd6500
lea ecx, [esp + 0x14]
push ecx
adc dword [esp + 0x1c], 0
mov ecx, esi
call fcn.00402680
test bl, bl
je 0x402ca3
cmp dword [edi + 0x1c], 0
je 0x402ca3
cmp dword [edi + 0x24], 4
setne al
test al, al
je 0x402ca3
mov bl, 1
jmp 0x402ca5
xor bl, bl
mov byte [esp + 0x60], 0
test bl, bl
jne 0x402c50
jmp 0x402d6b
test bl, bl
je 0x402d6b
lea edx, [esp + 0x14]
push edx
mov ecx, edi
call dword [sym.imp.ScczBridge.dll_public:_class_XtremeFramework::cXF_String___thiscall_CScczBridge::GetNextScczTempFile_void_]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
mov byte [esp + 0x64], 3
call fcn.004028c0
push 0
mov ecx, eax
mov byte [esp + 0x64], 4
call dword [sym.imp.xf_Os.dll_public:_char_const____thiscall_XtremeFramework::cXF_String::operator_char_const__void_const]
push eax
lea ecx, [esi + 8]
call dword [sym.imp.xf_Os.dll_public:_char_const____thiscall_XtremeFramework::cXF_String::operator_char_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 3
call dword [sym.imp.xf_Os.dll_public_virtual:_void___thiscall_XtremeFramework::cXF_String::destructor_void_]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.004028c0
mov esi, eax
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 5
call dword [sym.imp.xf_Os.dll_public:_char_const____thiscall_XtremeFramework::cXF_String::operator_char_const__void_const]
mov ecx, esi
mov esi, dword [sym.imp.xf_Os.dll_public:_char_const____thiscall_XtremeFramework::cXF_String::operator_char_const__void_const]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 3
call dword [sym.imp.xf_Os.dll_public_virtual:_void___thiscall_XtremeFramework::cXF_String::destructor_void_]
lea ecx, [esp + 0x14]
call esi
mov edx, dword [esp + 0x28]
push eax
push edx
mov ecx, edi
call dword [sym.imp.ScczBridge.dll_public:_bool___thiscall_CScczBridge::SendXtrFilename_class_XtremeFramework::cError___char_const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 0
call dword [sym.imp.xf_Os.dll_public_virtual:_void___thiscall_XtremeFramework::cXF_String::destructor_void_]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.xf_Messaging.dll_public_virtual:_void___thiscall_XtremeFramework::cXF_Address::destructor_void_]
mov al, bl
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0040413e
mov esp, ebp
pop ebp
ret 4