Function at 0x402800
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x429210
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x434284]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x434284]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x84], ebx
mov eax, dword [0x436af0]
cmp eax, ebx
lea ebp, [ebx + 8]
je 0x402a52
cmp byte [eax + 0x1d0], bl
mov dword [esp + 0x14], ebx
jne 0x4028ad
mov ecx, dword [eax + 0x36]
cmp ecx, 1
jne 0x4028b5
mov ecx, dword [eax + 0x32]
mov esi, dword [ecx]
add eax, 0x2e
cmp esi, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
jne 0x402878
call fcn.00416f9a
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x10]
push str.802.1X
mov edi, 6
call fcn.00404c00
test eax, eax
je 0x4028ad
lea esi, [esp + 0x18]
call fcn.00403fa0
mov ecx, eax
add ecx, 4
mov esi, str.802.1X_Ext
call fcn.00404b00
test al, al
je 0x4028b5
mov dword [esp + 0x14], 1
push ebx
mov edi, 7
push 0x42c114
lea esi, [esp + 0x60]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00404580
mov byte [esp + 0x84], 1
push ebx
push 0x42c114
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.00404580
lea eax, [esp + 0x8c]
push eax
mov ebx, str.DrAuthSvr.dll
lea esi, [esp + 0x24]
mov byte [esp + 0x88], 2
call fcn.00404a50
add esp, 4
push 0xffffffffffffffff
xor esi, esi
push esi
lea ecx, [esp + 0x60]
mov byte [esp + 0x8c], 3
call fcn.004040a0
mov byte [esp + 0x84], 2
cmp dword [esp + 0x38], ebp
jb 0x40294c
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00416abb
add esp, 4
cmp dword [esp + 0x14], esi
je 0x4029b7
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], esi
push esi
lea eax, [esp + 0xb0]
mov word [ecx + 4], si
call fcn.004040a0
call fcn.004020c0
lea edx, [esp + 0xa8]
add esp, 0x1c
push edx
mov ebx, str.drauth_1x.dll
lea esi, [esp + 0x24]
call fcn.00404a50
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 4
call fcn.004040a0
cmp dword [esp + 0x38], ebp
jb 0x4029f8
mov eax, dword [esp + 0x24]
push eax
jmp 0x4029f0
lea ecx, [esp + 0x8c]
push ecx
mov ebx, str.drauth_0x.dll
lea esi, [esp + 0x24]
call fcn.00404a50
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 5
call fcn.004040a0
cmp dword [esp + 0x38], ebp
jb 0x4029f8
mov edx, dword [esp + 0x24]
push edx
call fcn.00416abb
add esp, 4
cmp dword [esp + 0x70], ebp
mov ecx, dword [esp + 0x5c]
jae 0x402a06
lea ecx, [esp + 0x5c]
cmp dword [esp + 0x54], ebp
mov eax, dword [esp + 0x40]
jae 0x402a14
lea eax, [esp + 0x40]
xor esi, esi
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [esp + 0x54], ebp
jb 0x402a32
mov eax, dword [esp + 0x40]
push eax
call fcn.00416abb
add esp, 4
cmp dword [esp + 0x70], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], esi
mov word [esp + 0x40], si
jb 0x402a52
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00416abb
add esp, 4
cmp dword [esp + 0xa4], ebp
jb 0x402a6b
mov edx, dword [esp + 0x90]
push edx
call fcn.00416abb
add esp, 4
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004170e8
add esp, 0x74
ret