Function at 0x46e8e0
Capabilities:
Copy file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x553fc9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push 0x5c
mov esi, dword [ebx + 0x388]
lea edi, [ebx + 0x388]
push esi
mov dword [esp + 0x44], ebx
call fcn.00511a6d
add esp, 8
test eax, eax
je 0x46f118
cmp eax, esi
jbe 0x46f118
sub eax, esi
mov ecx, edi
inc eax
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0052446c
push 0x124
push 0x5a335c
mov ecx, 0x5b1210
mov dword [esp + 0x194], 0
call fcn.00436100
cmp eax, 6
jne 0x46f104
lea ecx, [esp + 0x70]
call fcn.00526a66
lea ecx, [esp + 0x84]
mov byte [esp + 0x18c], 1
call fcn.00526a66
lea ecx, [esp + 0x98]
mov byte [esp + 0x18c], 2
call fcn.00526a66
lea ecx, [esp + 0xc0]
mov byte [esp + 0x18c], 3
call fcn.00526a66
lea ecx, [esp + 0xc0]
push 0
lea edx, [esp + 0x9c]
push ecx
lea eax, [esp + 0x8c]
push edx
lea ecx, [esp + 0x7c]
push eax
push ecx
push 0
mov ecx, ebx
mov byte [esp + 0x1a4], 4
call fcn.00465ad0
test eax, eax
je 0x46f0b7
add ebx, 0x898
push 0x589cd0
lea edx, [esp + 0x70]
push ebx
push edx
call fcn.005282b4
push 0x58948c
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x194], 5
push eax
call fcn.005282b4
lea ecx, [esp + 0x6c]
mov byte [esp + 0x18c], 7
call fcn.0052801f
mov eax, dword [0x5ada84]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
xor esi, esi
test eax, eax
mov byte [esp + 0x18c], 9
mov edi, eax
jle 0x46eb19
mov bl, 0xb
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x28]
lea edx, [ecx + esi*4]
lea ecx, [esp + 0x10]
push edx
push eax
push ecx
call fcn.0052824e
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x190], 0xa
call fcn.00528158
lea ecx, [esp + 0x10]
mov byte [esp + 0x18c], 9
call fcn.0052801f
lea edx, [esp + 0x18]
push str..fnr
lea eax, [esp + 0x38]
push edx
push eax
call fcn.005282b4
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x190], bl
call fcn.00528158
lea ecx, [esp + 0x34]
mov byte [esp + 0x18c], 9
call fcn.0052801f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004e5670
add esp, 4
test eax, eax
jne 0x46eaff
lea edx, [esp + 0x18]
push 0x59e254
lea eax, [esp + 0x30]
push edx
push eax
call fcn.005282b4
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x190], 0xc
call fcn.00528158
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18c], 9
call fcn.0052801f
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [edx + esi*4]
call fcn.00528158
inc esi
cmp esi, edi
jl 0x46ea47
mov edi, dword [esp + 0x8c]
xor esi, esi
test edi, edi
jle 0x46eb6f
mov bl, 0xd
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x28]
lea ecx, [eax + esi*4]
lea eax, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.0052824e
mov ecx, dword [esp + 0x88]
push eax
mov byte [esp + 0x190], bl
lea ecx, [ecx + esi*4]
call fcn.00528158
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18c], 9
call fcn.0052801f
inc esi
cmp esi, edi
jl 0x46eb28
lea ecx, [esp + 0x54]
call fcn.00526a66
mov ebp, dword [esp + 0x194]
mov byte [esp + 0x18c], 0xe
mov edx, dword [ebp]
mov eax, dword [edx - 8]
test eax, eax
je 0x46eccb
mov eax, dword [esp + 0xa0]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x38], eax
jle 0x46eccb
mov eax, dword [esp + 0x9c]
push 0x5c
mov esi, dword [eax + ebx*4]
push esi
call fcn.00511bff
add esp, 8
test eax, eax
push esi
jne 0x46ecb0
lea ecx, [esp + 0x30]
push ebp
push ecx
call fcn.005282b4
mov eax, dword [eax]
mov byte [esp + 0x18c], 0xf
push eax
call fcn.004e5670
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
mov byte [esp + 0x18c], 0xe
call fcn.0052801f
test edi, edi
push esi
je 0x46ec36
lea edx, [esp + 0x38]
push ebp
push edx
call fcn.005282b4
push eax
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x194], 0x10
call fcn.00526cf6
lea ecx, [esp + 0x34]
mov byte [esp + 0x18c], 0xe
call fcn.0052801f
jmp 0x46ecbe
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.005282b4
mov eax, dword [eax]
mov byte [esp + 0x18c], 0x11
push eax
call fcn.004e5670
add esp, 4
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x18c], 0xe
call fcn.0052801f
test edi, edi
push esi
je 0x46eca9
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.005282b4
mov edx, dword [esp + 0x5c]
push eax
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x194], 0x12
call fcn.00526cf6
lea ecx, [esp + 0x68]
mov byte [esp + 0x18c], 0xe
call fcn.0052801f
jmp 0x46ecbe
mov eax, dword [esp + 0x60]
push eax
jmp 0x46ecb5
mov ecx, dword [esp + 0x60]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00526cca
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jl 0x46ebaa
mov edx, dword [0x5ada84]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0xac]
mov byte [esp + 0x18c], 0x13
call fcn.00526a66
mov ebx, dword [esp + 0x3c]
mov ebp, dword [ebp]
xor esi, esi
mov byte [esp + 0x18c], 0x14
mov edi, dword [ebx + 0x230]
test edi, edi
jle 0x46edbe
add ebx, 0xc0
mov eax, dword [0x5ada84]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x3c]
push ebp
mov byte [esp + 0x190], 0x15
mov edx, dword [ecx + 0x22c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov eax, dword [edx + esi*4]
mov eax, dword [eax + 8]
push eax
call fcn.00459210
test eax, eax
je 0x46ed5c
mov eax, dword [esp + 0xb4]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0xb4]
call fcn.00526cf6
jmp 0x46eda4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x46ed6e
push 0x5a3358
jmp 0x46ed73
push 0x59f830
lea ecx, [esp + 0x18]
call fcn.005283fb
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x22c]
mov ecx, dword [eax + esi*4]
add ecx, 4
push ecx
lea ecx, [esp + 0x18]
call fcn.00528437
push 0x59f830
lea ecx, [esp + 0x18]
call fcn.005283fb
lea ecx, [esp + 0x10]
mov byte [esp + 0x18c], 0x14
call fcn.0052801f
inc esi
cmp esi, edi
jl 0x46ed0e
push 0
push 1
lea ecx, [esp + 0xdc]
call fcn.00440790
lea ecx, [esp + 0x40]
mov byte [esp + 0x18c], 0x16
call fcn.00526a66
lea edx, [esp + 0x70]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0x190], 0x17
call fcn.00526c42
lea eax, [esp + 0x84]
lea ecx, [esp + 0x40]
push eax
call fcn.00526c42
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x44]
call fcn.00526c42
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x40]
push edx
call fcn.00526c42
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x134], eax
call fcn.00526c42
lea edx, [esp + 0x40]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x134], edx
call fcn.00528b14
cmp eax, 1
je 0x46ee8f
lea ecx, [esp + 0x40]
mov byte [esp + 0x18c], 0x16
call fcn.00526a99
lea ecx, [esp + 0x13c]
mov byte [esp + 0x18c], 0x19
call fcn.0053cfa3
mov byte [esp + 0x18c], 0x18
jmp 0x46f02e
mov eax, dword [0x5ada84]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x18c], 0x1a
mov dword [esp + 0x10], esi
mov ebp, eax
jle 0x46ef5b
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [esp + 0x44]
lea edx, [ecx + esi*4]
lea ecx, [esp + 0x18]
push edx
call fcn.00528158
lea eax, [esp + 0x18]
push eax
call fcn.004e5810
add esp, 4
lea ecx, [esp + 0x18]
lea edx, [esp + 0x30]
lea eax, [esp + 0x38]
push ecx
push edx
push eax
call fcn.0052824e
mov ecx, dword [esp + 0x44]
mov eax, dword [eax]
push 1
push eax
mov ecx, dword [ecx + esi*4]
push ecx
call edi
test eax, eax
lea ecx, [esp + 0x38]
sete bl
call fcn.0052801f
test bl, bl
je 0x46ef4e
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
test eax, eax
je 0x46ef1f
push 0x5a3358
jmp 0x46ef24
push 0x59f830
lea ecx, [esp + 0x20]
call fcn.005283fb
mov eax, dword [esp + 0x44]
lea ecx, [eax + esi*4]
push ecx
lea ecx, [esp + 0x20]
call fcn.00528437
push 0x59f830
lea ecx, [esp + 0x20]
call fcn.005283fb
jmp 0x46ef52
inc dword [esp + 0x10]
inc esi
cmp esi, ebp
jl 0x46eeba
mov edx, dword [0x5ada84]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push 0x5a3340
push ecx
mov byte [esp + 0x198], 0x1b
call fcn.00524847
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [edx - 8]
test eax, eax
je 0x46efab
push 0x5a331c
lea ecx, [esp + 0x24]
call fcn.005283fb
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
call fcn.00528437
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x46efd2
push 0x5a3300
lea ecx, [esp + 0x24]
call fcn.005283fb
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push edx
call fcn.00528437
mov eax, dword [esp + 0x20]
push eax
call fcn.004e3040
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x18c], 0x1a
call fcn.0052801f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x18c], 0x17
call fcn.0052801f
lea ecx, [esp + 0x40]
mov byte [esp + 0x18c], 0x16
call fcn.00526a99
lea ecx, [esp + 0x13c]
mov byte [esp + 0x18c], 0x1d
call fcn.0053cfa3
mov byte [esp + 0x18c], 0x1c
lea ecx, [esp + 0x138]
call fcn.0052801f
lea ecx, [esp + 0xd4]
mov byte [esp + 0x18c], 0x14
call fcn.0052874a
lea ecx, [esp + 0xac]
mov byte [esp + 0x18c], 0x13
call fcn.00526a99
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 0xe
call fcn.0052801f
lea ecx, [esp + 0x54]
mov byte [esp + 0x18c], 9
call fcn.00526a99
lea ecx, [esp + 0x24]
mov byte [esp + 0x18c], 8
call fcn.0052801f
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c], 7
call fcn.0052801f
lea ecx, [esp + 0x28]
mov byte [esp + 0x18c], 4
call fcn.0052801f
lea ecx, [esp + 0xc0]
mov byte [esp + 0x18c], 3
call fcn.00526a99
lea ecx, [esp + 0x98]
mov byte [esp + 0x18c], 2
call fcn.00526a99
lea ecx, [esp + 0x84]
mov byte [esp + 0x18c], 1
call fcn.00526a99
lea ecx, [esp + 0x70]
mov byte [esp + 0x18c], 0
call fcn.00526a99
lea ecx, [esp + 0x30]
mov dword [esp + 0x18c], 0xffffffff
call fcn.0052801f
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x180
ret 4