Function at 0x402d00
Capabilities:
Copy file
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x422c88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebx
call fcn.0041a741
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
push esi
mov ecx, edi
mov dword [esp + 0x28], 0
call fcn.0041a985
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push esi
call fcn.0041a751
mov ecx, ebx
call fcn.00403440
push ecx
test eax, eax
mov ecx, esp
je 0x402d6f
mov dword [esp + 0x30], esp
push esi
call fcn.0041a751
call fcn.00404810
jmp 0x402d7e
mov dword [esp + 0x30], esp
push esi
call fcn.0041a751
call fcn.00404070
add esp, 4
cmp eax, 0x10
jl 0x402e6b
cmp eax, 0x15
jg 0x402e6b
mov eax, dword [ebx + 0x7c]
test eax, eax
jne 0x402e93
lea ebp, [ebx + 0x60]
push ebp
call fcn.00403660
add esp, 4
test eax, eax
jne 0x402db7
push 0x5c
mov ecx, ebp
call fcn.0041ac2a
push 0x5c
mov ecx, esi
call fcn.004155ba
test eax, eax
je 0x402e19
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
mov ecx, esi
sub edx, eax
lea eax, [esp + 0x30]
dec edx
push edx
push eax
call fcn.0041549c
push eax
lea ecx, [esp + 0x30]
mov bl, 1
push ebp
push ecx
mov byte [esp + 0x30], bl
call fcn.0041aa7d
push eax
mov ecx, edi
mov byte [esp + 0x28], 2
call fcn.0041a985
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call fcn.0041a88c
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.0041a88c
mov ebx, dword [esp + 0x18]
jmp 0x402e40
push esi
lea edx, [esp + 0x30]
push ebp
push edx
call fcn.0041aa7d
push eax
mov ecx, edi
mov byte [esp + 0x28], 3
call fcn.0041a985
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.0041a88c
mov eax, dword [edi]
mov ecx, dword [esi]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x402e93
push 0x72
lea ecx, [esp + 0x14]
call fcn.0041b5b4
mov edx, dword [esp + 0x10]
push 0
push 0
push edx
call fcn.0041e972
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041a88c
xor eax, eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 8
lea eax, [esp + 0x14]
push 0x42a0c8
push eax
lea ecx, [ebx + 0x64]
call fcn.00415590
lea ecx, [esp + 0x2c]
push 4
push ecx
mov ecx, edi
mov byte [esp + 0x2c], 4
call fcn.0041549c
mov edx, dword [eax]
push str..DWG
push edx
call fcn.00406820
mov ebx, eax
add esp, 8
neg ebx
sbb ebx, ebx
lea ecx, [esp + 0x2c]
inc ebx
call fcn.0041a88c
push ecx
test bl, bl
mov ecx, esp
je 0x402f0b
lea eax, [esp + 0x18]
mov dword [esp + 0x34], esp
push eax
call fcn.0041a751
push ecx
mov byte [esp + 0x2c], 5
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call fcn.0041a751
mov byte [esp + 0x2c], 4
call fcn.00404610
jmp 0x402f35
lea edx, [esp + 0x18]
mov dword [esp + 0x34], esp
push edx
call fcn.0041a751
push ecx
mov byte [esp + 0x2c], 6
mov ecx, esp
mov dword [esp + 0x20], esp
push edi
call fcn.0041a751
mov byte [esp + 0x2c], 4
call fcn.00403710
add esp, 8
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x24], 0
call fcn.0041a88c
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041a88c
mov eax, esi
jmp 0x402e7e